FD.io VPP
v18.01.2-1-g9b554f3
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | memfd_shared_header_t |
struct | memfd_private_t |
Macros | |
#define | MMAP_PAGESIZE (clib_mem_get_page_size()) |
#define | MEMFD_N_OPAQUE 7 |
#define | foreach_memfd_api_error |
#define | MEMFD_API_ERROR_NO_NAME (-10) |
#define | F_LINUX_SPECIFIC_BASE 1024 |
#define | MFD_ALLOW_SEALING 0x0002U |
#define | F_ADD_SEALS (F_LINUX_SPECIFIC_BASE + 9) |
#define | F_GET_SEALS (F_LINUX_SPECIFIC_BASE + 10) |
#define | F_SEAL_SEAL 0x0001 /* prevent further seals from being set */ |
#define | F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ |
#define | F_SEAL_GROW 0x0004 /* prevent file from growing */ |
#define | F_SEAL_WRITE 0x0008 /* prevent writes */ |
Enumerations | |
enum | memfd_api_error_enum_t { foreach_memfd_api_error } |
Functions | |
static void | memfd_lock (memfd_shared_header_t *h, u32 my_pid, u32 tag) |
static void | memfd_lock_non_recursive (memfd_shared_header_t *h, u32 tag) |
static void | memfd_unlock (memfd_shared_header_t *h) |
static void | memfd_unlock_non_recursive (memfd_shared_header_t *h) |
static void * | memfd_push_heap (memfd_shared_header_t *sh) |
static void | memfd_pop_heap (void *oldheap) |
int | memfd_master_init (memfd_private_t *memfd, u32 master_index) |
int | memfd_slave_init (memfd_private_t *memfd) |
void | memfd_delete (memfd_private_t *memfd) |
#define F_ADD_SEALS (F_LINUX_SPECIFIC_BASE + 9) |
#define F_GET_SEALS (F_LINUX_SPECIFIC_BASE + 10) |
#define F_SEAL_SEAL 0x0001 /* prevent further seals from being set */ |
#define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ |
#define foreach_memfd_api_error |
#define MMAP_PAGESIZE (clib_mem_get_page_size()) |
void memfd_delete | ( | memfd_private_t * | memfd | ) |
|
inlinestatic |
|
inlinestatic |
int memfd_master_init | ( | memfd_private_t * | memfd, |
u32 | master_index | ||
) |
|
inlinestatic |
|
inlinestatic |
int memfd_slave_init | ( | memfd_private_t * | memfd | ) |
|
inlinestatic |
|
inlinestatic |