FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
physmem_funcs.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static vlib_physmem_region_tvlib_physmem_get_region (vlib_main_t *vm, u8 index)
 
static u64 vlib_physmem_offset_to_physical (vlib_main_t *vm, vlib_physmem_region_index_t idx, uword o)
 
static int vlib_physmem_is_virtual (vlib_main_t *vm, vlib_physmem_region_index_t idx, uword p)
 
static uword vlib_physmem_offset_of (vlib_main_t *vm, vlib_physmem_region_index_t idx, void *p)
 
static void * vlib_physmem_at_offset (vlib_main_t *vm, vlib_physmem_region_index_t idx, uword offset)
 
static void * vlib_physmem_alloc_aligned (vlib_main_t *vm, vlib_physmem_region_index_t idx, clib_error_t **error, uword n_bytes, uword alignment)
 
static void * vlib_physmem_alloc (vlib_main_t *vm, vlib_physmem_region_index_t idx, clib_error_t **error, uword n_bytes)
 
static void vlib_physmem_free (vlib_main_t *vm, vlib_physmem_region_index_t idx, void *mem)
 
static u64 vlib_physmem_virtual_to_physical (vlib_main_t *vm, vlib_physmem_region_index_t idx, void *mem)
 
static clib_error_tvlib_physmem_region_alloc (vlib_main_t *vm, char *name, u32 size, u8 numa_node, u32 flags, vlib_physmem_region_index_t *idx)
 
static void vlib_physmem_region_free (struct vlib_main_t *vm, vlib_physmem_region_index_t idx)
 

Function Documentation

static void* vlib_physmem_alloc ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
clib_error_t **  error,
uword  n_bytes 
)
inlinestatic

Definition at line 113 of file physmem_funcs.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* vlib_physmem_alloc_aligned ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
clib_error_t **  error,
uword  n_bytes,
uword  alignment 
)
inlinestatic

Definition at line 97 of file physmem_funcs.h.

+ Here is the caller graph for this function:

static void* vlib_physmem_at_offset ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
uword  offset 
)
inlinestatic

Definition at line 88 of file physmem_funcs.h.

+ Here is the call graph for this function:

static void vlib_physmem_free ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
void *  mem 
)
inlinestatic

Definition at line 121 of file physmem_funcs.h.

+ Here is the caller graph for this function:

static vlib_physmem_region_t* vlib_physmem_get_region ( vlib_main_t vm,
u8  index 
)
inlinestatic

Definition at line 44 of file physmem_funcs.h.

+ Here is the caller graph for this function:

static int vlib_physmem_is_virtual ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
uword  p 
)
inlinestatic

Definition at line 62 of file physmem_funcs.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword vlib_physmem_offset_of ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
void *  p 
)
inlinestatic

Definition at line 71 of file physmem_funcs.h.

+ Here is the call graph for this function:

static u64 vlib_physmem_offset_to_physical ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
uword  o 
)
inlinestatic

Definition at line 51 of file physmem_funcs.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* vlib_physmem_region_alloc ( vlib_main_t vm,
char *  name,
u32  size,
u8  numa_node,
u32  flags,
vlib_physmem_region_index_t idx 
)
inlinestatic

Definition at line 140 of file physmem_funcs.h.

+ Here is the caller graph for this function:

static void vlib_physmem_region_free ( struct vlib_main_t vm,
vlib_physmem_region_index_t  idx 
)
inlinestatic

Definition at line 148 of file physmem_funcs.h.

static u64 vlib_physmem_virtual_to_physical ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
void *  mem 
)
inlinestatic

Definition at line 129 of file physmem_funcs.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: