![]() |
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | clib_mem_bulk_chunk_hdr |
struct | clib_mem_bulk_t |
Macros | |
#define | CLIB_MEM_BULK_DEFAULT_MIN_ELTS_PER_CHUNK 32 |
Typedefs | |
typedef struct clib_mem_bulk_chunk_hdr | clib_mem_bulk_chunk_hdr_t |
Functions | |
static uword | bulk_chunk_size (clib_mem_bulk_t *b) |
__clib_export clib_mem_bulk_handle_t | clib_mem_bulk_init (u32 elt_sz, u32 align, u32 min_elts_per_chunk) |
__clib_export void | clib_mem_bulk_destroy (clib_mem_bulk_handle_t h) |
static void * | get_chunk_elt_ptr (clib_mem_bulk_t *b, clib_mem_bulk_chunk_hdr_t *c, u32 index) |
static void | add_to_chunk_list (clib_mem_bulk_chunk_hdr_t **first, clib_mem_bulk_chunk_hdr_t *c) |
static void | remove_from_chunk_list (clib_mem_bulk_chunk_hdr_t **first, clib_mem_bulk_chunk_hdr_t *c) |
__clib_export void * | clib_mem_bulk_alloc (clib_mem_bulk_handle_t h) |
__clib_export void | clib_mem_bulk_free (clib_mem_bulk_handle_t h, void *p) |
__clib_export u8 * | format_clib_mem_bulk (u8 *s, va_list *args) |
#define CLIB_MEM_BULK_DEFAULT_MIN_ELTS_PER_CHUNK 32 |
Definition at line 27 of file mem_bulk.c.
typedef struct clib_mem_bulk_chunk_hdr clib_mem_bulk_chunk_hdr_t |
|
inlinestatic |
Definition at line 118 of file mem_bulk.c.
|
inlinestatic |
__clib_export void* clib_mem_bulk_alloc | ( | clib_mem_bulk_handle_t | h | ) |
Definition at line 141 of file mem_bulk.c.
__clib_export void clib_mem_bulk_destroy | ( | clib_mem_bulk_handle_t | h | ) |
Definition at line 83 of file mem_bulk.c.
__clib_export void clib_mem_bulk_free | ( | clib_mem_bulk_handle_t | h, |
void * | p | ||
) |
Definition at line 179 of file mem_bulk.c.
__clib_export clib_mem_bulk_handle_t clib_mem_bulk_init | ( | u32 | elt_sz, |
u32 | align, | ||
u32 | min_elts_per_chunk | ||
) |
Definition at line 54 of file mem_bulk.c.
Definition at line 213 of file mem_bulk.c.
|
inlinestatic |
|
inlinestatic |
Definition at line 129 of file mem_bulk.c.