libnvme_alloc_huge-libnvme3(2)

libnvme_alloc_huge-libnvme32

Allocate a huge page-backed memory buffer

Usage

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

Overview

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.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.