iopt_pages_rw_access(9)
π
iopt_pages_rw_access(9) β Kernel API Manual π
okay so bestie, this is iopt_pages_rw_access(9) from the Kernel API Manual, and it's literally giving βcopy to/from a linear slice of the pagesβ energy. let's get into it β¨
πΈ NAME πΈ
iopt_pages_rw_access β Copy to/from a linear slice of the pages
β¨ SYNOPSIS β¨
int iopt_pages_rw_access (struct iopt_pages *pages , unsigned long
start_byte , void *data , unsigned long length , unsigned int flags );
π ARGUMENTS π
pagesβ pages to act on. the main characters, fr π«Άstart_byteβ First byte of pages to copy to/from. like where the slay begins β¨dataβ Kernel buffer to get/put the data. the little vessel for your bytes πlengthβ Number of bytes to copy. exactly how much we're moving, no cap πflagsβIOMMUFD_ACCESS_RW_*flags. the flag set, iykyk π
π¦ DESCRIPTION π¦
okay so here's the vibe: this will find each page in the range, kmap it and then memcpy to/from the given kernel buffer. that's the whole little routine, and it ate. π
π SEE ALSO π
Kernel file ./drivers/iommu/iommufd/pages.c β go read it, bestie π«Ά
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_area_add_access(9)iopt_area_remove_access(9)
mwah π source/version ./drivers/iommu/iommufd, date October 2026, page iopt_pages_rw_access(9) β periodt. π«Ά
π¦ 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