efi_free_all_buff_pages(9)
π efi_free_all_buff_pages(9) β Kernel API Manual β¨
okay so bestie, welcome to the <pink>Kernel API Manual</pink> entry for efi_free_all_buff_pages β yes the whole name, it's long, we cope π«Ά this one's short and sweet and honestly kind of a baddie. let's get into it.
πΈ NAME πΈ
efi_free_all_buff_pages β frees, like, all the buffer pages that were allocated before. not some. all. it's giving cleanup era π§Ήβ¨
π SYNOPSIS π
void efi_free_all_buff_pages (struct capsule_info *cap_info );
that's it. that's the whole signature. returns void, takes one pointer, no notes π
π¦ ARGUMENTS π¦
cap_infoβ a pointer to the current instance of thecapsule_infostructure. yeah, the one you're working with right now. hand it over and it knows what's up π«Ά
π DESCRIPTION π
so here's the tea: this function frees the buffer pages, yes β but that's not all it does, and honestly the second part is the main character π
it also flags NO_FURTHER_WRITE_ACTION π₯ which makes it cease processing data in any subsequent write(2) calls. like, it's done. the vibe check failed. no more writing.
and when does that lift? only when close(2) is called. so the whole thing is locked down from the flag until close β no in-between, no sneaky extra writes, periodt π
lowkey important: onceNO_FURTHER_WRITE_ACTIONis set, thosewrite(2)calls just stop being processed. it's not a suggestion, it's a boundary. β
β SEE ALSO β
- Kernel file
./drivers/firmware/efi/capsule-loader.cβ the source, the origin story π§ efi_capsule_setup_info(9)efi_capsule_submit_update(9)efi_capsule_write(9)efi_capsule_release(9)efi_capsule_open(9)
it's giving friend group. go read them all, iykyk π
mwah π that's the page! sourced from ./drivers/firmware/efi, dated October 2026, filed under <lavender>Kernel API Manual</lavender> β go forth and free those buffer pages responsibly bestie πβ¨
π¦ 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