iopt_unmap_iova(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… iopt_unmap_iova(9) πŸ’…

okay bestie, welcome to this Kernel API Manual page 🫢 we’re talking about iopt_unmap_iova, and yes, she’s here to remove a range of iova. iconic behavior.


✨ NAME ✨

iopt_unmap_iova β€” Remove a range of iova πŸ’–


🌸 SYNOPSIS 🌸

int iopt_unmap_iova (struct io_pagetable *iopt , unsigned long iova ,
       unsigned long length , unsigned long *unmapped );

πŸŽ€ ARGUMENTS πŸŽ€

  • iopt β€” the io_pagetable to act on, bestie πŸͺ„
  • iova β€” Starting iova to unmap πŸ“
  • length β€” Number of bytes to unmap πŸ“
  • unmapped β€” Return number of bytes unmapped πŸ”

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the requested range has to be a superset of the existing ranges. like, it’s giving β€œcover the whole vibe or don’t come” ✨

Splitting/truncating IOVA mappings is not allowed, periodt πŸ’€ no cap.

πŸ‘‘ SEE ALSO πŸ‘‘


fr fr, this page’s source/version is ./drivers/iommu/iommufd, and it’s dated October 2026 πŸŽ€πŸ’œ slay, go read the kernel file if you need more iykyk energy ⭐

πŸ“¦ where this page comes from