STRUCT IOMMU_DIRTY_BITMAP(9)
π struct iommu_dirty_bitmap(9) π
okay so bestie, this is a page from the Kernel API Manual and it's literally just the shape of one struct β a little two-field bundle of joy that keeps track of dirty IOVA bitmap state. no cap, that's the whole vibe. it's giving "small but crucial" and we're obsessed π
β¨ NAME β¨
struct iommu_dirty_bitmap β Dirty IOVA bitmap state π
π¦ SYNOPSIS π¦
struct iommu_dirty_bitmap {
struct iova_bitmap *bitmap;
struct iommu_iotlb_gather *gather;
};
look at her. two pointers, zero drama, main character energy β¨
πΈ Members πΈ
so there's exactly two members and each one is doing its own iconic thing:
bitmapβ the IOVA bitmap, periodt. that's the actual dirty-tracking bitmap living in this struct πΊοΈgatherβ range information for a pending IOTLB flush π₯ like, the scoop on which range still needs flushing. it's not flushed yet, it's pending, iykyk.
ngl both of these are pointers, so this struct is lowkey just a cute little pair of references holding hands π«Ά
π SEE ALSO π
bestie, the cross-reference section is stacked. like, genuinely a whole friend group. every single one of these, no skipping π
- Kernel file
./include/linux/iommu.h struct iommu_fault_page_request(9)struct iommu_fault(9)enum iommu_page_response_code(9)struct iommu_page_response(9)struct iopf_queue(9)struct iommu_resv_region(9)struct iommu_iotlb_gather(9)struct iommu_dirty_ops(9)struct iommu_user_data(9)struct iommu_user_data_array(9)__iommu_copy_struct_from_user(9)iommu_copy_struct_from_user(9)__iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_user_array(9)iommu_copy_struct_from_full_user_array(9)__iommu_copy_struct_to_user(9)iommu_copy_struct_to_user(9)struct iommu_ops(9)struct iommu_domain_ops(9)struct iommu_device(9)struct iommu_fault_param(9)struct dev_iommu(9)iommu_iotlb_gather_is_disjoint(9)iommu_iotlb_gather_add_range(9)iommu_iotlb_gather_add_page(9)struct iommu_fwspec(9)struct iommu_sva(9)iommu_map_sgtable(9)
okay that's the whole page, you ate that π
β¨ this one lives in ./include/linux and it's dated October 2026 β so yeah, hydrating, staying informed, reading your kernel headers. slay π§π
π¦ 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