device_iommu_mapped(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– device_iommu_mapped(9) πŸ’–

okay so this is a page from the Kernel API Manual β€” yes bestie, the kernel has manuals β€” and it's about one (1) little function that answers one (1) very important question. let's get into it 🫢


✨ NAME ✨

device_iommu_mapped β€” returns true when the device DMA is translated by an IOMMU

like… that's literally the whole vibe check. is this device's DMA getting translated by an IOMMU or not. true or false. iconic. πŸ’…


🌸 SYNOPSIS 🌸

bool device_iommu_mapped (struct device *dev );

that's it. that's the whole call. you hand it a struct device * and it hands you back a bool. no cap, it's giving "simple function, big responsibility." ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device you wanna perform the check on πŸ’– this is your main character right here, the one getting inspected. pass the pointer, get your answer.

πŸŽ€ SEE ALSO πŸŽ€

okay this list is long β€” like, "she really said 'and friends'" long β€” but every single one is here, no skipping, I promise 🫢

Kernel file ./include/linux/device.h, plus:

go read them. all of them. i'll wait. ⭐


heads up bestie: the man page doesn't spell out any more behaviour than what's up there, so don't come for me asking for details that aren't in the source β€” I only report what the page says πŸ’€

and that's the whole page!! short, sweet, and extremely to the point 🧚 the source path is ./include/linux and it's dated October 2026, and this whole adorable document is filed under device_iommu_mapped(9) β€” mwah, slay, periodt πŸ’œπŸŒˆ

πŸ“¦ where this page comes from