iopt_area_unfill_domain(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 iopt_area_unfill_domain(9) 🌸

okay so this is a page straight out of the Kernel API Manual bestie, and it's all about iopt_area_unfill_domain β€” the little cleanup gremlin that unmaps your PFNs. let's get into it πŸ’…


✨ NAME ✨

iopt_area_unfill_domain β€” Unmap and unpin PFNs in a domain 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

void iopt_area_unfill_domain (struct iopt_area *area , struct iopt_pages
*pages , struct iommu_domain *domain );

πŸŽ€ ARGUMENTS πŸŽ€

  • area β€” the IOVA area you're working with, bestie. that's the one.
  • pages β€” the page supplier for the area. and yes, area->pages is NULL here, no cap.
  • domain β€” the domain we're unmapping from. bye girl πŸ‘‹

πŸ’– DESCRIPTION πŸ’–

okay so the vibe check here: the domain should already be removed from the domains_itree before you call this. like, do that first, fr fr.

the domain itself will always get unmapped β€” that part is iconic and guaranteed. but the PFNs? those might not get unpinned if there are still accesses hanging around. so don't come for them until the access situation is settled, iykyk 😭


🌈 SEE ALSO 🌈


and that's the whole page, bestie πŸŽ€ this lil beauty lives in ./drivers/iommu/iommufd, it's dated October 2026, and it goes by iopt_area_unfill_domain(9) β€” slay, go read the source, ily, bye πŸ’œβœ¨

πŸ“¦ where this page comes from