Reference

libnvme_mem_huge-libnvme3(2)

Huge page memory allocation descriptor

NAME

struct libnvme_mem_huge - Huge page memory allocation descriptor

SYNOPSIS

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

Members

len

Size of the allocated buffer in bytes

libnvme_alloc

Indicates that p was allocated using libnvme_alloc

p

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.