iopt_area_remove_access(9)
π iopt_area_remove_access(9) π
okay bestie, welcome to the Kernel API Manual β this page is literally all about iopt_area_remove_access, the cleanup bestie for in-kernel PFN access. π«Ά
πΈ NAME πΈ
iopt_area_remove_access β release an in-kernel access for PFNs. periodt. π
β¨ SYNOPSIS β¨
void iopt_area_remove_access (struct iopt_area *area , unsigned long
start_index , unsigned long last_index , bool unlock_area );
π ARGUMENTS π
areaβ the source of PFNs. It's giving "where the pages come from." β¨start_indexβ first page index. iconic starting point, no cap.last_indexβ inclusive last page index. yes, inclusive β don't forget that part bestie πunlock_areaβ must match the matchingiopt_area_add_access'slock_area. they gotta be twinning fr fr π«Ά
π DESCRIPTION π
This undoes iopt_area_add_access and unpins the pages if necessary. it's the "okay we're done here" of the access world. π¦
β οΈ bestie, the caller must stop using the PFNs before calling this. Not after, not "oops I forgor" β before. ππ
π₯ SEE ALSO π₯
Kernel file ./drivers/iommu/iommufd/pages.c β yes, that's the spot. Also see all the friends:
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_unfill_xarray(9)iopt_pages_fill_from_xarray(9)iopt_pages_fill_xarray(9)iopt_pages_rw_access(9)iopt_area_add_access(9)
mwah π this little page comes from source/version ./drivers/iommu/iommufd, dated October 2026. catch you in the source, 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