FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
mem_mheap.c File Reference
+ Include dependency graph for mem_mheap.c:

Go to the source code of this file.

Macros

#define MAX_VM_MEG   1024
 

Functions

void clib_mem_exit (void)
 
void * clib_mem_init (void *memory, uword memory_size)
 
void * clib_mem_init_thread_safe (void *memory, uword memory_size)
 
u8format_clib_mem_usage (u8 *s, va_list *va)
 
void clib_mem_usage (clib_mem_usage_t *u)
 
void clib_mem_validate (void)
 
void clib_mem_trace (int enable)
 
int clib_mem_is_traced (void)
 

Variables

void * clib_per_cpu_mheaps [CLIB_MAX_MHEAPS]
 
uword clib_mem_validate_serial = 0
 

Macro Definition Documentation

◆ MAX_VM_MEG

#define MAX_VM_MEG   1024

Function Documentation

◆ clib_mem_exit()

void clib_mem_exit ( void  )

Definition at line 45 of file mem_mheap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_mem_init()

void* clib_mem_init ( void *  memory,
uword  memory_size 
)

Definition at line 56 of file mem_mheap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_mem_init_thread_safe()

void* clib_mem_init_thread_safe ( void *  memory,
uword  memory_size 
)

Definition at line 95 of file mem_mheap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_mem_is_traced()

int clib_mem_is_traced ( void  )

Definition at line 148 of file mem_mheap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_mem_trace()

void clib_mem_trace ( int  enable)

Definition at line 142 of file mem_mheap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clib_mem_usage()

void clib_mem_usage ( clib_mem_usage_t u)

Definition at line 121 of file mem_mheap.c.

+ Here is the call graph for this function:

◆ clib_mem_validate()

void clib_mem_validate ( void  )

Definition at line 130 of file mem_mheap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_clib_mem_usage()

u8* format_clib_mem_usage ( u8 s,
va_list *  va 
)

Definition at line 114 of file mem_mheap.c.

+ Here is the call graph for this function:

Variable Documentation

◆ clib_mem_validate_serial

uword clib_mem_validate_serial = 0

Definition at line 127 of file mem_mheap.c.

◆ clib_per_cpu_mheaps

void* clib_per_cpu_mheaps[CLIB_MAX_MHEAPS]

Definition at line 42 of file mem_mheap.c.