FD.io VPP  v18.07-rc0-415-g6c78436
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 244 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 57 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 216 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 203 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:244

(constructor) VLIB_CLI_COMMAND (show_physmem_command)

Definition at line 267 of file physmem.c.