STRUCT IOPTDESC(9)
β¨ NAME β¨
struct ioptdesc β the memory descriptor for IOMMU page tables, and yes bestie this is from the Kernel API Manual so bestie pay attention π
π SYNOPSIS π
struct ioptdesc {
unsigned long __page_flags;
struct list_head iopt_freelist_elm;
unsigned long __page_mapping;
union {
u8 incoherent;
pgoff_t __index;
};
void *_private;
unsigned int __page_type;
atomic_t __page_refcount;
#ifdef CONFIG_MEMCG;
unsigned long memcg_data;
#endif;
};
π¦ Members π¦
iopt_freelist_elmβ literally the list element for astruct iommu_pages_list, slay π«Ά{unnamed_union}β anonymous, no name, just vibes π
π₯ Description π₯
Okay so real talk: this struct overlays struct page for now. Do not modify without a good understanding of the issues. Like, for real fr fr β this is not the place to improvise, bestie ππ
π SEE ALSO π
- Kernel file
./drivers/iommu/iommu-pages.h iommu_pages_list_add(9)iommu_pages_list_splice(9)iommu_pages_list_empty(9)iommu_alloc_pages_sz(9)
Kernel API Manual energy, straight from ./drivers/iommu, dated October 2026 β struct ioptdesc(9), mwah πβ¨
π¦ 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