OS Manuals

libnvme_alloc_huge-libnvme3(2)

libnvme_alloc_huge - Allocate a huge page-backed memory buffer

libnvme_alloc_huge(9) libnvme API manual libnvme_alloc_huge(9)

libnvme_alloc_huge - Allocate a huge page-backed memory buffer

void * libnvme_alloc_huge (size_t len , struct libnvme_mem_huge *mh );

Size of the memory buffer in bytes
Huge memory allocation descriptor

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.

pointer to the allocated memory buffer on success, or NULL on failure.

libnvme_alloc_huge October 2026

nvme-cli 3.2-r0 · os · ingested 2026-10-31