Go to the source code of this file.
Definition at line 40 of file mem.c.
Definition at line 41 of file mem.c.
#define F_LINUX_SPECIFIC_BASE 1024 |
Definition at line 36 of file mem.c.
#define F_SEAL_GROW 0x0004 /* prevent file from growing */ |
Definition at line 45 of file mem.c.
#define F_SEAL_SEAL 0x0001 /* prevent further seals from being set */ |
Definition at line 43 of file mem.c.
#define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ |
Definition at line 44 of file mem.c.
#define F_SEAL_WRITE 0x0008 /* prevent writes */ |
Definition at line 46 of file mem.c.
#define MFD_HUGETLB 0x0004U |
clib_error_t* clib_mem_create_hugetlb_fd |
( |
char * |
name, |
|
|
int * |
fdp |
|
) |
| |
uword clib_mem_get_default_hugepage_size |
( |
void |
| ) |
|
Definition at line 57 of file mem.c.
int clib_mem_get_fd_log2_page_size |
( |
int |
fd | ) |
|
u64 clib_mem_get_fd_page_size |
( |
int |
fd | ) |
|
Definition at line 91 of file mem.c.
uword clib_mem_get_page_size |
( |
void |
| ) |
|
Definition at line 51 of file mem.c.
u64* clib_mem_vm_get_paddr |
( |
void * |
mem, |
|
|
int |
log2_page_size, |
|
|
int |
n_pages |
|
) |
| |
void clib_mem_vm_randomize_va |
( |
uword * |
requested_va, |
|
|
u32 |
log2_page_size |
|
) |
| |