| libnvme_alloc_huge(9) | libnvme API manual | libnvme_alloc_huge(9) |
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
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.
| libnvme_alloc_huge | October 2026 |