FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
physmem_funcs.h File Reference
+ Include dependency graph for physmem_funcs.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

clib_error_tvlib_physmem_init (vlib_main_t *vm)
 
clib_error_tvlib_physmem_shared_map_create (vlib_main_t *vm, char *name, uword size, u32 log2_page_sz, u32 numa_node, u32 *map_index)
 
vlib_physmem_map_tvlib_physmem_get_map (vlib_main_t *vm, u32 index)
 
static void * vlib_physmem_alloc_aligned (vlib_main_t *vm, uword n_bytes, uword alignment)
 
static void * vlib_physmem_alloc_aligned_on_numa (vlib_main_t *vm, uword n_bytes, uword alignment, u32 numa_node)
 
static void * vlib_physmem_alloc (vlib_main_t *vm, uword n_bytes)
 
static void * vlib_physmem_alloc_from_map (vlib_main_t *vm, u32 physmem_map_index, uword n_bytes, uword alignment)
 
static void vlib_physmem_free (vlib_main_t *vm, void *p)
 
static u64 vlib_physmem_get_page_index (vlib_main_t *vm, void *mem)
 
static u64 vlib_physmem_get_pa (vlib_main_t *vm, void *mem)
 
static clib_error_tvlib_physmem_last_error (struct vlib_main_t *vm)
 

Function Documentation

◆ vlib_physmem_alloc()

static void* vlib_physmem_alloc ( vlib_main_t vm,
uword  n_bytes 
)
inlinestatic

Definition at line 73 of file physmem_funcs.h.

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

◆ vlib_physmem_alloc_aligned()

static void* vlib_physmem_alloc_aligned ( vlib_main_t vm,
uword  n_bytes,
uword  alignment 
)
inlinestatic

Definition at line 56 of file physmem_funcs.h.

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

◆ vlib_physmem_alloc_aligned_on_numa()

static void* vlib_physmem_alloc_aligned_on_numa ( vlib_main_t vm,
uword  n_bytes,
uword  alignment,
u32  numa_node 
)
inlinestatic

Definition at line 63 of file physmem_funcs.h.

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

◆ vlib_physmem_alloc_from_map()

static void* vlib_physmem_alloc_from_map ( vlib_main_t vm,
u32  physmem_map_index,
uword  n_bytes,
uword  alignment 
)
inlinestatic

Definition at line 79 of file physmem_funcs.h.

+ Here is the call graph for this function:

◆ vlib_physmem_free()

static void vlib_physmem_free ( vlib_main_t vm,
void *  p 
)
inlinestatic

Definition at line 89 of file physmem_funcs.h.

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

◆ vlib_physmem_get_map()

vlib_physmem_map_t* vlib_physmem_get_map ( vlib_main_t vm,
u32  index 
)

Definition at line 87 of file physmem.c.

+ Here is the caller graph for this function:

◆ vlib_physmem_get_pa()

static u64 vlib_physmem_get_pa ( vlib_main_t vm,
void *  mem 
)
inlinestatic

Definition at line 103 of file physmem_funcs.h.

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

◆ vlib_physmem_get_page_index()

static u64 vlib_physmem_get_page_index ( vlib_main_t vm,
void *  mem 
)
inlinestatic

Definition at line 96 of file physmem_funcs.h.

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

◆ vlib_physmem_init()

clib_error_t* vlib_physmem_init ( vlib_main_t vm)

Definition at line 94 of file physmem.c.

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

◆ vlib_physmem_last_error()

static clib_error_t* vlib_physmem_last_error ( struct vlib_main_t vm)
inlinestatic

Definition at line 110 of file physmem_funcs.h.

+ Here is the caller graph for this function:

◆ vlib_physmem_shared_map_create()

clib_error_t* vlib_physmem_shared_map_create ( vlib_main_t vm,
char *  name,
uword  size,
u32  log2_page_sz,
u32  numa_node,
u32 map_index 
)

Definition at line 42 of file physmem.c.

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