FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
mem_dlmalloc.c File Reference
+ Include dependency graph for mem_dlmalloc.c:

Go to the source code of this file.

Data Structures

struct  mheap_trace_t
 
struct  mheap_trace_main_t
 

Functions

void mheap_get_trace (uword offset, uword size)
 
void mheap_put_trace (uword offset, uword size)
 
static void mheap_trace_main_free (mheap_trace_main_t *tm)
 
void * clib_mem_init (void *memory, uword memory_size)
 
void * clib_mem_init_thread_safe (void *memory, uword memory_size)
 
uword clib_mem_get_page_size (void)
 
u8format_clib_mem_usage (u8 *s, va_list *va)
 
u8format_msize (u8 *s, va_list *va)
 
static int mheap_trace_sort (const void *_t1, const void *_t2)
 
u8format_mheap_trace (u8 *s, va_list *va)
 
u8format_mheap (u8 *s, va_list *va)
 
void clib_mem_usage (clib_mem_usage_t *u)
 
void clib_mem_validate (void)
 
void mheap_trace (void *v, int enable)
 
void clib_mem_trace (int enable)
 
uword clib_mem_trace_enable_disable (uword enable)
 
void * mheap_alloc_with_lock (void *memory, uword size, int locked)
 

Variables

void * clib_per_cpu_mheaps [CLIB_MAX_MHEAPS]
 
mheap_trace_main_t mheap_trace_main
 
uword clib_mem_validate_serial = 0
 

Function Documentation

uword clib_mem_get_page_size ( void  )

Definition at line 244 of file mem_dlmalloc.c.

+ Here is the caller graph for this function:

void* clib_mem_init ( void *  memory,
uword  memory_size 
)

Definition at line 206 of file mem_dlmalloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* clib_mem_init_thread_safe ( void *  memory,
uword  memory_size 
)

Definition at line 227 of file mem_dlmalloc.c.

+ Here is the call graph for this function:

void clib_mem_trace ( int  enable)

Definition at line 431 of file mem_dlmalloc.c.

+ Here is the call graph for this function:

uword clib_mem_trace_enable_disable ( uword  enable)

Definition at line 440 of file mem_dlmalloc.c.

+ Here is the caller graph for this function:

void clib_mem_usage ( clib_mem_usage_t u)

Definition at line 407 of file mem_dlmalloc.c.

void clib_mem_validate ( void  )

Definition at line 416 of file mem_dlmalloc.c.

u8* format_clib_mem_usage ( u8 s,
va_list *  va 
)

Definition at line 260 of file mem_dlmalloc.c.

+ Here is the call graph for this function:

u8* format_mheap ( u8 s,
va_list *  va 
)

Definition at line 381 of file mem_dlmalloc.c.

+ Here is the caller graph for this function:

u8* format_mheap_trace ( u8 s,
va_list *  va 
)

Definition at line 313 of file mem_dlmalloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* format_msize ( u8 s,
va_list *  va 
)

Definition at line 284 of file mem_dlmalloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void* mheap_alloc_with_lock ( void *  memory,
uword  size,
int  locked 
)

Definition at line 456 of file mem_dlmalloc.c.

+ Here is the caller graph for this function:

void mheap_get_trace ( uword  offset,
uword  size 
)

Definition at line 64 of file mem_dlmalloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mheap_put_trace ( uword  offset,
uword  size 
)

Definition at line 151 of file mem_dlmalloc.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void mheap_trace ( void *  v,
int  enable 
)

Definition at line 422 of file mem_dlmalloc.c.

+ Here is the caller graph for this function:

static void mheap_trace_main_free ( mheap_trace_main_t tm)
inlinestatic

Definition at line 195 of file mem_dlmalloc.c.

+ Here is the caller graph for this function:

static int mheap_trace_sort ( const void *  _t1,
const void *  _t2 
)
static

Definition at line 300 of file mem_dlmalloc.c.

+ Here is the caller graph for this function:

Variable Documentation

uword clib_mem_validate_serial = 0

Definition at line 413 of file mem_dlmalloc.c.

void* clib_per_cpu_mheaps[CLIB_MAX_MHEAPS]

Definition at line 23 of file mem_dlmalloc.c.

mheap_trace_main_t mheap_trace_main

Definition at line 61 of file mem_dlmalloc.c.