iopt_pages_unfill_xarray(9)
π iopt_pages_unfill_xarray(9) β the Kernel API Manual, bestie edition
okay so today we're learning about iopt_pages_unfill_xarray, straight out of the Kernel API Manual. yes it's a mouthful, no you're not gonna say it out loud at a party π
β¨ NAME β¨
iopt_pages_unfill_xarray β update the xarry after removing an access π¦
β¨ SYNOPSIS β¨
void iopt_pages_unfill_xarray (struct iopt_pages *pages , unsigned long
start_index , unsigned long last_index );
like, look at her. three params, zero chill π
β¨ ARGUMENTS β¨
pagesβ the pages to act on π these are the actual stars of the show, the pages we're doing stuff tostart_indexβ the starting PFN index β¨ where we begin, bestielast_indexβ the last PFN index πΈ where we stop, obviously
β¨ DESCRIPTION β¨
so here's the tea β this one gets called when an iopt_pages_access is removed, and what it does is remove pages from the itree. iconic behaviour, honestly.
and listen β there's a very important detail here that you literally cannot skip π the access should already be removed from the access_itree by the time this runs. that's the vibe check, that's the prerequisite, that's non-negotiable. so make sure that already happened first, okay? iykyk π
β¨ SEE ALSO β¨
- Kernel file
./drivers/iommu/iommufd/pages.c iopt_area_unmap_domain(9)iopt_area_unfill_domain(9)iopt_area_fill_domain(9)iopt_area_fill_domains(9)iopt_area_unfill_domains(9)iopt_pages_fill_from_xarray(9)iopt_pages_fill_xarray(9)iopt_pages_rw_access(9)iopt_area_add_access(9)iopt_area_remove_access(9)
the whole friend group honestly, go read them all π«Ά
and that's the page, babes π this little gem lives in ./drivers/iommu/iommufd and it's dated October 2026 β go off, king π slay, periodt βπ
π¦ 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