sgx_free_va_slot(9)
β¨ sgx_free_va_slot β free a VA slot β¨
okay so this is the sgx_free_va_slot(9) kernel API page, bestie π
it's a tiny little function that does exactly one thing and does it slayfully. it lives in the 9 manual, aka the Kernel API Manual β very "i'm documented, therefore i'm iconic" of it.
πΈ SYNOPSIS πΈ
void sgx_free_va_slot (struct sgx_va_page *va_page , unsigned int offset
);
look at her. returns void, takes two args, no drama, no cap π
π¦ ARGUMENTS π¦
va_pageβ astruct sgx_va_pageinstance β¨ like, the VA page itself, the whole vibe, the main characteroffsetβ offset of the slot inside the VA page π which slot we're freeing, told in offsets, iykyk
π DESCRIPTION π
Frees a slot from a struct sgx_va_page instance. that's it. that's the whole thing π«Ά
she takes your va_page and your offset and hands that slot back to the void. literally the "letting go" era of kernel functions π no return value, no error code, she simply does it.
π SEE ALSO π
Kernel file ./arch/x86/kernel/cpu/sgx/encl.c β that's where the magic actually lives, go read it π₯
and the whole friend group, all mutuals, all (9):
reclaimer_writing_to_pcmd(9)sgx_encl_eaug_page(9)sgx_encl_may_map(9)sgx_encl_release(9)sgx_encl_cpumask(9)__sgx_encl_get_backing(9)sgx_encl_alloc_backing(9)sgx_encl_lookup_backing(9)sgx_encl_put_backing(9)sgx_encl_test_and_clear_young(9)sgx_zap_enclave_ptes(9)sgx_alloc_va_page(9)sgx_alloc_va_slot(9)sgx_va_page_full(9)sgx_encl_free_epc_page(9)
note how sgx_alloc_va_slot(9) is right there β that's her sibling, the one who takes the slot, and she's the one who gives it back. balance. symmetry. ate π
π friendly reminder: this page is filed under./arch/x86/kernel/cpu/sgx, dated October 2026, and yes the header saidsgx_free_va_slot(9)and the footer saidsgx_free_va_slot(9)too β she's consistent, she's committed, she's got main character energy π
and that's the page, bestie β free that slot, stay hydrated, and tell reclaimer_writing_to_pcmd(9) i said hi ππ
π¦ 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