FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
sysfs.c File Reference
+ Include dependency graph for sysfs.c:

Go to the source code of this file.

Functions

clib_error_tclib_sysfs_write (char *file_name, char *fmt,...)
 
clib_error_tclib_sysfs_read (char *file_name, char *fmt,...)
 
u8clib_sysfs_link_to_name (char *link)
 
clib_error_tclib_sysfs_set_nr_hugepages (int numa_node, int page_size, int nr)
 
static clib_error_tclib_sysfs_get_xxx_hugepages (char *type, int numa_node, int page_size, int *val)
 
clib_error_tclib_sysfs_get_free_hugepages (int numa_node, int page_size, int *v)
 
clib_error_tclib_sysfs_get_nr_hugepages (int numa_node, int page_size, int *v)
 
clib_error_tclib_sysfs_get_surplus_hugepages (int numa_node, int page_size, int *v)
 
clib_error_tclib_sysfs_prealloc_hugepages (int numa_node, int page_size, int nr)
 

Function Documentation

clib_error_t* clib_sysfs_get_free_hugepages ( int  numa_node,
int  page_size,
int *  v 
)

Definition at line 206 of file sysfs.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* clib_sysfs_get_nr_hugepages ( int  numa_node,
int  page_size,
int *  v 
)

Definition at line 212 of file sysfs.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* clib_sysfs_get_surplus_hugepages ( int  numa_node,
int  page_size,
int *  v 
)

Definition at line 218 of file sysfs.c.

+ Here is the call graph for this function:

static clib_error_t* clib_sysfs_get_xxx_hugepages ( char *  type,
int  numa_node,
int  page_size,
int *  val 
)
static

Definition at line 161 of file sysfs.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* clib_sysfs_link_to_name ( char *  link)

Definition at line 90 of file sysfs.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* clib_sysfs_prealloc_hugepages ( int  numa_node,
int  page_size,
int  nr 
)

Definition at line 224 of file sysfs.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* clib_sysfs_read ( char *  file_name,
char *  fmt,
  ... 
)

Definition at line 50 of file sysfs.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* clib_sysfs_set_nr_hugepages ( int  numa_node,
int  page_size,
int  nr 
)

Definition at line 117 of file sysfs.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* clib_sysfs_write ( char *  file_name,
char *  fmt,
  ... 
)

Definition at line 26 of file sysfs.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: