|
static clib_mem_heap_t * | clib_mem_get_per_cpu_heap (void) |
|
static void * | clib_mem_set_per_cpu_heap (void *new_heap) |
|
static void * | clib_mem_get_per_numa_heap (u32 numa_id) |
|
static void * | clib_mem_set_per_numa_heap (void *new_heap) |
|
static void | clib_mem_set_thread_index (void) |
|
static uword | clib_mem_size_nocheck (void *p) |
|
static void * | clib_mem_alloc_aligned_at_offset (uword size, uword align, uword align_offset, int os_out_of_memory_on_failure) |
|
static void * | clib_mem_alloc (uword size) |
|
static void * | clib_mem_alloc_aligned (uword size, uword align) |
|
static void * | clib_mem_alloc_or_null (uword size) |
|
static void * | clib_mem_alloc_aligned_or_null (uword size, uword align) |
|
static uword | clib_mem_is_heap_object (void *p) |
|
static void | clib_mem_free (void *p) |
|
static void * | clib_mem_realloc (void *p, uword new_size, uword old_size) |
|
static uword | clib_mem_size (void *p) |
|
static void | clib_mem_free_s (void *p) |
|
static clib_mem_heap_t * | clib_mem_get_heap (void) |
|
static clib_mem_heap_t * | clib_mem_set_heap (clib_mem_heap_t *heap) |
|
void | clib_mem_destroy_heap (clib_mem_heap_t *heap) |
|
clib_mem_heap_t * | clib_mem_create_heap (void *base, uword size, int is_locked, char *fmt,...) |
|
void | clib_mem_main_init () |
|
void * | clib_mem_init (void *base, uword size) |
|
void * | clib_mem_init_with_page_size (uword memory_size, clib_mem_page_sz_t log2_page_sz) |
|
void * | clib_mem_init_thread_safe (void *memory, uword memory_size) |
|
void | clib_mem_exit (void) |
|
void | clib_mem_trace (int enable) |
|
int | clib_mem_is_traced (void) |
|
void | clib_mem_get_heap_usage (clib_mem_heap_t *heap, clib_mem_usage_t *usage) |
|
void * | clib_mem_get_heap_base (clib_mem_heap_t *heap) |
|
uword | clib_mem_get_heap_size (clib_mem_heap_t *heap) |
|
uword | clib_mem_get_heap_free_space (clib_mem_heap_t *heap) |
|
u8 * | format_clib_mem_usage (u8 *s, va_list *args) |
|
u8 * | format_clib_mem_heap (u8 *s, va_list *va) |
|
u8 * | format_clib_mem_page_stats (u8 *s, va_list *va) |
|
static void * | clib_mem_vm_alloc (uword size) |
|
static void | clib_mem_vm_free (void *addr, uword size) |
|
void * | clib_mem_vm_map_internal (void *base, clib_mem_page_sz_t log2_page_sz, uword size, int fd, uword offset, char *name) |
|
void * | clib_mem_vm_map (void *start, uword size, clib_mem_page_sz_t log2_page_size, char *fmt,...) |
|
void * | clib_mem_vm_map_stack (uword size, clib_mem_page_sz_t log2_page_size, char *fmt,...) |
|
void * | clib_mem_vm_map_shared (void *start, uword size, int fd, uword offset, char *fmt,...) |
|
int | clib_mem_vm_unmap (void *base) |
|
clib_mem_vm_map_hdr_t * | clib_mem_vm_get_next_map_hdr (clib_mem_vm_map_hdr_t *hdr) |
|
static_always_inline clib_mem_page_sz_t | clib_mem_get_log2_page_size (void) |
|
static_always_inline uword | clib_mem_get_page_size (void) |
|
static_always_inline clib_mem_page_sz_t | clib_mem_get_log2_default_hugepage_size () |
|
int | clib_mem_vm_create_fd (clib_mem_page_sz_t log2_page_size, char *fmt,...) |
|
uword | clib_mem_get_fd_page_size (int fd) |
|
uword | clib_mem_get_default_hugepage_size (void) |
|
clib_mem_page_sz_t | clib_mem_get_fd_log2_page_size (int fd) |
|
uword | clib_mem_vm_reserve (uword start, uword size, clib_mem_page_sz_t log2_page_sz) |
|
u64 * | clib_mem_vm_get_paddr (void *mem, clib_mem_page_sz_t log2_page_size, int n_pages) |
|
void | clib_mem_destroy (void) |
|
int | clib_mem_set_numa_affinity (u8 numa_node, int force) |
|
int | clib_mem_set_default_numa_affinity () |
|
void | clib_mem_vm_randomize_va (uword *requested_va, clib_mem_page_sz_t log2_page_size) |
|
void | mheap_trace (clib_mem_heap_t *v, int enable) |
|
uword | clib_mem_trace_enable_disable (uword enable) |
|
static uword | clib_mem_round_to_page_size (uword size, clib_mem_page_sz_t log2_page_size) |
|
void | clib_mem_get_page_stats (void *start, clib_mem_page_sz_t log2_page_size, uword n_pages, clib_mem_page_stats_t *stats) |
|
static_always_inline int | vlib_mem_get_next_numa_node (int numa) |
|
static_always_inline clib_mem_page_sz_t | clib_mem_log2_page_size_validate (clib_mem_page_sz_t log2_page_size) |
|
static_always_inline uword | clib_mem_page_bytes (clib_mem_page_sz_t log2_page_size) |
|
static_always_inline clib_error_t * | clib_mem_get_last_error (void) |
|