FD.io VPP  v21.01.1
Vector Packet Processing
mem.c File Reference
+ Include dependency graph for mem.c:

Go to the source code of this file.

Functions

__clib_export void * clib_mem_vm_map (void *base, uword size, clib_mem_page_sz_t log2_page_sz, char *fmt,...)
 
__clib_export void * clib_mem_vm_map_stack (uword size, clib_mem_page_sz_t log2_page_sz, char *fmt,...)
 
__clib_export void * clib_mem_vm_map_shared (void *base, uword size, int fd, uword offset, char *fmt,...)
 
u8format_clib_mem_page_stats (u8 *s, va_list *va)
 

Variables

__clib_export clib_mem_main_t clib_mem_main
 

Function Documentation

◆ clib_mem_vm_map()

__clib_export void* clib_mem_vm_map ( void *  base,
uword  size,
clib_mem_page_sz_t  log2_page_sz,
char *  fmt,
  ... 
)

Definition at line 25 of file mem.c.

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

◆ clib_mem_vm_map_shared()

__clib_export void* clib_mem_vm_map_shared ( void *  base,
uword  size,
int  fd,
uword  offset,
char *  fmt,
  ... 
)

Definition at line 59 of file mem.c.

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

◆ clib_mem_vm_map_stack()

__clib_export void* clib_mem_vm_map_stack ( uword  size,
clib_mem_page_sz_t  log2_page_sz,
char *  fmt,
  ... 
)

Definition at line 42 of file mem.c.

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

◆ format_clib_mem_page_stats()

u8* format_clib_mem_page_stats ( u8 s,
va_list *  va 
)

Definition at line 75 of file mem.c.

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

Variable Documentation

◆ clib_mem_main

__clib_export clib_mem_main_t clib_mem_main

Definition at line 22 of file mem.c.