NAME
libnvme_alloc_huge - Allocate a huge page-backed memory buffer
SYNOPSIS
void * libnvme_alloc_huge (size_t len , struct libnvme_mem_huge *mh );
ARGUMENTS
- len
-
Size of the memory buffer in bytes
- mh
-
Huge memory allocation descriptor
DESCRIPTION
Attempts to allocate a memory buffer backed by huge pages. Allocation details are stored in mh and must later be released using libnvme_free_huge.
RETURN
pointer to the allocated memory buffer on success, or NULL on failure.