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