Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | ipz_page |
struct | ipz_small_queue_page |
struct | ipz_queue |
struct | ipz_pt |
struct | ipz_qpt |
Macros | |
#define | EHCA_PAGESHIFT 12 |
#define | EHCA_PAGESIZE 4096UL |
#define | EHCA_PAGEMASK (~(EHCA_PAGESIZE-1)) |
#define | EHCA_PT_ENTRIES 512UL |
#define | IPZ_SPAGE_PER_KPAGE (PAGE_SIZE / 512) |
Functions | |
void * | ipz_qpageit_get_inc (struct ipz_queue *queue) |
int | ipz_queue_abs_to_offset (struct ipz_queue *queue, u64 addr, u64 *q_offset) |
int | ipz_queue_ctor (struct ehca_pd *pd, struct ipz_queue *queue, const u32 nr_of_pages, const u32 pagesize, const u32 qe_size, const u32 nr_of_sg, int is_small) |
int | ipz_queue_dtor (struct ehca_pd *pd, struct ipz_queue *queue) |
void | ipz_qpt_ctor (struct ipz_qpt *qpt, const u32 nr_of_qes, const u32 pagesize, const u32 qe_size, const u8 lowbyte, const u8 toggle, u32 *act_nr_of_QEs, u32 *act_nr_of_pages) |
void * | ipz_qeit_eq_get_inc (struct ipz_queue *queue) |
Variables | |
struct kmem_cache * | small_qp_cache |
struct ipz_page | __attribute__ |
#define EHCA_PAGEMASK (~(EHCA_PAGESIZE-1)) |
Definition at line 48 of file ipz_pt_fn.h.
#define EHCA_PAGESHIFT 12 |
Definition at line 46 of file ipz_pt_fn.h.
#define EHCA_PAGESIZE 4096UL |
Definition at line 47 of file ipz_pt_fn.h.
#define EHCA_PT_ENTRIES 512UL |
Definition at line 49 of file ipz_pt_fn.h.
#define IPZ_SPAGE_PER_KPAGE (PAGE_SIZE / 512) |
Definition at line 64 of file ipz_pt_fn.h.
Definition at line 66 of file ipz_pt_fn.c.
Definition at line 51 of file ipz_pt_fn.c.
void ipz_qpt_ctor | ( | struct ipz_qpt * | qpt, |
const u32 | nr_of_qes, | ||
const u32 | pagesize, | ||
const u32 | qe_size, | ||
const u8 | lowbyte, | ||
const u8 | toggle, | ||
u32 * | act_nr_of_QEs, | ||
u32 * | act_nr_of_pages | ||
) |
Definition at line 80 of file ipz_pt_fn.c.
int ipz_queue_ctor | ( | struct ehca_pd * | pd, |
struct ipz_queue * | queue, | ||
const u32 | nr_of_pages, | ||
const u32 | pagesize, | ||
const u32 | qe_size, | ||
const u32 | nr_of_sg, | ||
int | is_small | ||
) |
Definition at line 204 of file ipz_pt_fn.c.
Definition at line 255 of file ipz_pt_fn.c.
struct kmem_cache* small_qp_cache |
Definition at line 49 of file ipz_pt_fn.c.