iopt_area_remove_access(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 matching iopt_area_add_access's lock_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:


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