Package libhugetlbfs-devel

Header files for libhugetlbfs

https://github.com/libhugetlbfs/libhugetlbfs

Contains header files for building with libhugetlbfs.

Library Functions (Section 3)
get_hugepage_region
get_hugepage_region() allocates a memory region len bytes in size backed by hugepages. Hugepages may be of benefit to applications that use large amounts of...
get_huge_pages
get_huge_pages() allocates a memory region len bytes in size backed by hugepages. Hugepages may be of benefit to applications that use large amounts of address...
gethugepagesize
The gethugepagesize() function returns the default huge page size used by libhugetlbfs. This will be either the system default, or a valid value set by the...
gethugepagesizes
The gethugepagesizes() function returns either the number of system supported huge page sizes or the sizes themselves. If pagesizes is NULL and n_elem is 0...
getpagesizes
The getpagesizes() function returns either the number of system supported page sizes or the sizes themselves. If pagesizes is NULL and n_elem is 0, then the...
hugetlbfs_find_path
These functions return a pathname for a mounted hugetlbfs filesystem for the appropriate huge page size. For hugetlbfs_find_path, the default huge page size is...
hugetlbfs_test_path
The hugetlbfs_test_path() function determines whether a given pathname is in a hugetlbfs filesystem.
hugetlbfs_unlinked_fd
These functions return an open file descriptor for a unique, newly-created file in a hugetlbfs filesystem. To avoid leaking hugepages, the file is unlinked...