---
name: "libnvme_mem_huge-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/libnvme_mem_huge-libnvme3"
---

# 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**.
