FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
svm.h File Reference
+ Include dependency graph for svm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MMAP_PAGESIZE   (clib_mem_get_page_size())
 

Functions

static void * svm_mem_alloc (svm_region_t *rp, uword size)
 
static void * svm_mem_alloc_aligned_at_offset (svm_region_t *rp, uword size, uword align, uword offset)
 
static void svm_mem_free (svm_region_t *rp, void *ptr)
 
static void * svm_push_pvt_heap (svm_region_t *rp)
 
static void * svm_push_data_heap (svm_region_t *rp)
 
static void svm_pop_heap (void *oldheap)
 

Macro Definition Documentation

◆ MMAP_PAGESIZE

#define MMAP_PAGESIZE   (clib_mem_get_page_size())

Definition at line 29 of file svm.h.

Function Documentation

◆ svm_mem_alloc()

static void* svm_mem_alloc ( svm_region_t rp,
uword  size 
)
inlinestatic

Definition at line 32 of file svm.h.

+ Here is the call graph for this function:

◆ svm_mem_alloc_aligned_at_offset()

static void* svm_mem_alloc_aligned_at_offset ( svm_region_t rp,
uword  size,
uword  align,
uword  offset 
)
inlinestatic

Definition at line 47 of file svm.h.

+ Here is the call graph for this function:

◆ svm_mem_free()

static void svm_mem_free ( svm_region_t rp,
void *  ptr 
)
inlinestatic

Definition at line 64 of file svm.h.

+ Here is the call graph for this function:

◆ svm_pop_heap()

static void svm_pop_heap ( void *  oldheap)
inlinestatic

Definition at line 94 of file svm.h.

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

◆ svm_push_data_heap()

static void* svm_push_data_heap ( svm_region_t rp)
inlinestatic

Definition at line 86 of file svm.h.

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

◆ svm_push_pvt_heap()

static void* svm_push_pvt_heap ( svm_region_t rp)
inlinestatic

Definition at line 78 of file svm.h.

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