iopt_unmap_iova(9)
π 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β theio_pagetableto 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 π
- Kernel file:
./drivers/iommu/iommufd/io_pagetable.cπ§ iopt_map_user_pages(9)iopt_map_file_pages(9)iopt_unfill_domain(9)iopt_fill_domain(9)iopt_area_split(9)
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
- 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