Linux Kernel
3.7.1
|
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <asm/page.h>
#include "mthca_memfree.h"
#include "mthca_dev.h"
#include "mthca_cmd.h"
Go to the source code of this file.
Data Structures | |
struct | mthca_user_db_table |
Enumerations | |
enum | { MTHCA_ICM_ALLOC_SIZE = 1 << 18, MTHCA_TABLE_CHUNK_SIZE = 1 << 18 } |
anonymous enum |
Definition at line 50 of file mthca_memfree.c.
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.