Go to the source code of this file.
|
__clib_export clib_error_t * | clib_sysfs_write (char *file_name, char *fmt,...) |
|
__clib_export clib_error_t * | clib_sysfs_read (char *file_name, char *fmt,...) |
|
__clib_export u8 * | clib_sysfs_link_to_name (char *link) |
|
clib_error_t * | clib_sysfs_set_nr_hugepages (int numa_node, int log2_page_size, int nr) |
|
static clib_error_t * | clib_sysfs_get_xxx_hugepages (char *type, int numa_node, int log2_page_size, int *val) |
|
clib_error_t * | clib_sysfs_get_free_hugepages (int numa_node, int log2_page_size, int *v) |
|
clib_error_t * | clib_sysfs_get_nr_hugepages (int numa_node, int log2_page_size, int *v) |
|
clib_error_t * | clib_sysfs_get_surplus_hugepages (int numa_node, int log2_page_size, int *v) |
|
clib_error_t * | clib_sysfs_prealloc_hugepages (int numa_node, int log2_page_size, int nr) |
|
__clib_export uword * | clib_sysfs_list_to_bitmap (char *filename) |
|
◆ clib_sysfs_get_free_hugepages()
clib_error_t* clib_sysfs_get_free_hugepages |
( |
int |
numa_node, |
|
|
int |
log2_page_size, |
|
|
int * |
v |
|
) |
| |
◆ clib_sysfs_get_nr_hugepages()
clib_error_t* clib_sysfs_get_nr_hugepages |
( |
int |
numa_node, |
|
|
int |
log2_page_size, |
|
|
int * |
v |
|
) |
| |
◆ clib_sysfs_get_surplus_hugepages()
clib_error_t* clib_sysfs_get_surplus_hugepages |
( |
int |
numa_node, |
|
|
int |
log2_page_size, |
|
|
int * |
v |
|
) |
| |
◆ clib_sysfs_get_xxx_hugepages()
static clib_error_t* clib_sysfs_get_xxx_hugepages |
( |
char * |
type, |
|
|
int |
numa_node, |
|
|
int |
log2_page_size, |
|
|
int * |
val |
|
) |
| |
|
static |
◆ clib_sysfs_link_to_name()
__clib_export u8* clib_sysfs_link_to_name |
( |
char * |
link | ) |
|
◆ clib_sysfs_list_to_bitmap()
__clib_export uword* clib_sysfs_list_to_bitmap |
( |
char * |
filename | ) |
|
◆ clib_sysfs_prealloc_hugepages()
clib_error_t* clib_sysfs_prealloc_hugepages |
( |
int |
numa_node, |
|
|
int |
log2_page_size, |
|
|
int |
nr |
|
) |
| |
◆ clib_sysfs_read()
__clib_export clib_error_t* clib_sysfs_read |
( |
char * |
file_name, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ clib_sysfs_set_nr_hugepages()
clib_error_t* clib_sysfs_set_nr_hugepages |
( |
int |
numa_node, |
|
|
int |
log2_page_size, |
|
|
int |
nr |
|
) |
| |
◆ clib_sysfs_write()
__clib_export clib_error_t* clib_sysfs_write |
( |
char * |
file_name, |
|
|
char * |
fmt, |
|
|
|
... |
|
) |
| |