Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | mthca_icm_chunk |
struct | mthca_icm |
struct | mthca_icm_table |
struct | mthca_icm_iter |
struct | mthca_db_page |
struct | mthca_db_table |
Macros | |
#define | MTHCA_ICM_CHUNK_LEN |
Enumerations | |
enum | { MTHCA_ICM_PAGE_SHIFT = 12, MTHCA_ICM_PAGE_SIZE = 1 << MTHCA_ICM_PAGE_SHIFT, MTHCA_DB_REC_PER_PAGE = MTHCA_ICM_PAGE_SIZE / 8 } |
enum | mthca_db_type { MTHCA_DB_TYPE_INVALID = 0x0, MTHCA_DB_TYPE_CQ_SET_CI = 0x1, MTHCA_DB_TYPE_CQ_ARM = 0x2, MTHCA_DB_TYPE_SQ = 0x3, MTHCA_DB_TYPE_RQ = 0x4, MTHCA_DB_TYPE_SRQ = 0x5, MTHCA_DB_TYPE_GROUP_SEP = 0x7 } |
#define MTHCA_ICM_CHUNK_LEN |
Definition at line 41 of file mthca_memfree.h.
anonymous enum |
Definition at line 45 of file mthca_memfree.h.
enum mthca_db_type |
MTHCA_DB_TYPE_INVALID | |
MTHCA_DB_TYPE_CQ_SET_CI | |
MTHCA_DB_TYPE_CQ_ARM | |
MTHCA_DB_TYPE_SQ | |
MTHCA_DB_TYPE_RQ | |
MTHCA_DB_TYPE_SRQ | |
MTHCA_DB_TYPE_GROUP_SEP |
Definition at line 152 of file mthca_memfree.h.
Definition at line 566 of file mthca_memfree.c.
|
read |
Definition at line 137 of file mthca_memfree.c.
|
read |
Definition at line 356 of file mthca_memfree.c.
Definition at line 731 of file mthca_memfree.c.
void mthca_cleanup_user_db_tab | ( | struct mthca_dev * | dev, |
struct mthca_uar * | uar, | ||
struct mthca_user_db_table * | db_tab | ||
) |
Definition at line 547 of file mthca_memfree.c.
Definition at line 664 of file mthca_memfree.c.
Definition at line 88 of file mthca_memfree.c.
void mthca_free_icm_table | ( | struct mthca_dev * | dev, |
struct mthca_icm_table * | table | ||
) |
Definition at line 424 of file mthca_memfree.c.
Definition at line 700 of file mthca_memfree.c.
|
read |
Definition at line 523 of file mthca_memfree.c.
int mthca_map_user_db | ( | struct mthca_dev * | dev, |
struct mthca_uar * | uar, | ||
struct mthca_user_db_table * | db_tab, | ||
int | index, | ||
u64 | uaddr | ||
) |
Definition at line 446 of file mthca_memfree.c.
void* mthca_table_find | ( | struct mthca_icm_table * | table, |
int | obj, | ||
dma_addr_t * | dma_handle | ||
) |
Definition at line 278 of file mthca_memfree.c.
Definition at line 222 of file mthca_memfree.c.
int mthca_table_get_range | ( | struct mthca_dev * | dev, |
struct mthca_icm_table * | table, | ||
int | start, | ||
int | end | ||
) |
Definition at line 321 of file mthca_memfree.c.
Definition at line 257 of file mthca_memfree.c.
void mthca_table_put_range | ( | struct mthca_dev * | dev, |
struct mthca_icm_table * | table, | ||
int | start, | ||
int | end | ||
) |
Definition at line 344 of file mthca_memfree.c.
void mthca_unmap_user_db | ( | struct mthca_dev * | dev, |
struct mthca_uar * | uar, | ||
struct mthca_user_db_table * | db_tab, | ||
int | index | ||
) |
Definition at line 505 of file mthca_memfree.c.