FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
util.c File Reference
+ Include dependency graph for util.c:

Go to the source code of this file.

Functions

clib_error_tforeach_directory_file (char *dir_name, clib_error_t *(*f)(void *arg, u8 *path_name, u8 *file_name), void *arg, int scan_dirs)
 
clib_error_tvlib_sysfs_write (char *file_name, char *fmt,...)
 
clib_error_tvlib_sysfs_read (char *file_name, char *fmt,...)
 
u8vlib_sysfs_link_to_name (char *link)
 
int vlib_sysfs_get_free_hugepages (unsigned int numa_node, int page_size)
 

Function Documentation

clib_error_t* foreach_directory_file ( char *  dir_name,
clib_error_t *(*)(void *arg, u8 *path_name, u8 *file_name)  f,
void *  arg,
int  scan_dirs 
)

Definition at line 49 of file util.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vlib_sysfs_get_free_hugepages ( unsigned int  numa_node,
int  page_size 
)

Definition at line 193 of file util.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u8* vlib_sysfs_link_to_name ( char *  link)

Definition at line 166 of file util.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 126 of file util.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 102 of file util.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: