STRUCT NE_MEM_REGION(9)
π struct ne_mem_region π
okay so welcome to the Kernel API Manual, bestie π«Ά this page is literally all about struct ne_mem_region(9) β the entry in the enclave user space memory regions list. Itβs giving kernel struct realness, and weβre gonna walk through every single field so you can pass the vibe check with zero notes. β¨
πΈ NAME πΈ
struct ne_mem_region β entry in the enclave user space memory regions list. periodt. π
π¦ SYNOPSIS π¦
struct ne_mem_region {
struct list_head mem_region_list_entry;
u64 memory_size;
unsigned long nr_pages;
struct page **pages;
u64 userspace_addr;
};
π Members π
okay bestie, field-by-field breakdown, no cap:
mem_region_list_entryβ entry in the list of enclave memory regions. itβs the list-entry moment, iconic behavior only. πmemory_sizeβ size of the user space memory region. yes, the whole size. not a little guy. πnr_pagesβ number of pages that make up the memory region. counting era fr fr. π’pagesβ pages that make up the user space memory region. the actual page squad. π¦userspace_addrβ user space address of the memory region. the address, bestie. thatβs the whole vibe. πΈ
π SEE ALSO π
kernel file ./drivers/virt/nitro_enclaves/ne_misc_dev.h β plus these icons: struct ne_enclave(9), enum ne_state(9), and struct ne_devs(9). go read them, iykyk π
source/version: ./drivers/virt/nitro_enclaves Β· date: October 2026 Β· page: struct ne_mem_region(9) β bye bestie, stay iconic π
πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms