Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

struct libnvme_mem_huge - Huge page memory allocation descriptor

SYNOPSIS

struct libnvme_mem_huge {
size_t len;
bool libnvme_alloc;
void *p;
};

Members

Size of the allocated buffer in bytes
Indicates that p was allocated using libnvme_alloc
Pointer to the allocated memory buffer

Description

Describes a memory buffer allocated by libnvme_alloc_huge. The structure stores allocation metadata required for proper cleanup by libnvme_free_huge.

struct libnvme_mem_huge October 2026