FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
physmem.c File Reference
+ Include dependency graph for physmem.c:

Go to the source code of this file.

Functions

static void * unix_physmem_alloc_aligned (vlib_main_t *vm, vlib_physmem_region_index_t idx, uword n_bytes, uword alignment)
 
static void unix_physmem_free (vlib_main_t *vm, vlib_physmem_region_index_t idx, void *x)
 
static clib_error_tunix_physmem_region_alloc (vlib_main_t *vm, char *name, u32 size, u8 numa_node, u32 flags, vlib_physmem_region_index_t *idx)
 
static void unix_physmem_region_free (vlib_main_t *vm, vlib_physmem_region_index_t idx)
 
clib_error_tunix_physmem_init (vlib_main_t *vm)
 
static clib_error_tshow_physmem (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

static vlib_cli_command_t show_physmem_command
 (constructor) VLIB_CLI_COMMAND (show_physmem_command) More...
 

Function Documentation

static clib_error_t* show_physmem ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 241 of file physmem.c.

static void* unix_physmem_alloc_aligned ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
uword  n_bytes,
uword  alignment 
)
static

Definition at line 54 of file physmem.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void unix_physmem_free ( vlib_main_t vm,
vlib_physmem_region_index_t  idx,
void *  x 
)
static

Definition at line 105 of file physmem.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* unix_physmem_init ( vlib_main_t vm)

Definition at line 224 of file physmem.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 113 of file physmem.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void unix_physmem_region_free ( vlib_main_t vm,
vlib_physmem_region_index_t  idx 
)
static

Definition at line 211 of file physmem.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_cli_command_t show_physmem_command
static
Initial value:
= {
.path = "show physmem",
.short_help = "Show physical memory allocation",
.function = show_physmem,
}
static clib_error_t * show_physmem(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: physmem.c:241

(constructor) VLIB_CLI_COMMAND (show_physmem_command)

Definition at line 264 of file physmem.c.