16 #ifndef included_linux_sysfs_h 17 #define included_linux_sysfs_h 28 int log2_page_size,
int nr);
30 int log2_page_size,
int *v);
32 int log2_page_size,
int *v);
34 int log2_page_size,
int *v);
36 int log2_page_size,
int nr);
u8 * clib_sysfs_link_to_name(char *link)
clib_error_t * clib_sysfs_prealloc_hugepages(int numa_node, int log2_page_size, int nr)
clib_error_t * clib_sysfs_read(char *file_name, char *fmt,...)
clib_error_t * clib_sysfs_get_free_hugepages(int numa_node, int log2_page_size, int *v)
clib_error_t * clib_sysfs_set_nr_hugepages(int numa_node, int log2_page_size, int nr)
clib_error_t * clib_sysfs_get_surplus_hugepages(int numa_node, int log2_page_size, int *v)
clib_error_t * clib_sysfs_write(char *file_name, char *fmt,...)
clib_error_t * clib_sysfs_get_nr_hugepages(int numa_node, int log2_page_size, int *v)