iommu_drive...main_for_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Kernel API Manual page for iommu_driver_get_domain_for_dev β€” she returns the driver-level domain pointer, and yes, that's the whole mood. ✨


✨ SYNOPSIS ✨

struct iommu_domain * iommu_driver_get_domain_for_dev (struct device
       *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device you're querying, bestie. That's the thing you're asking about. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you're an iommu driver, and you're inside an iommu callback function where group->mutex is held. If you want to get the physical domain in that exact situation, you can call this function. no cap, that's what she's for. πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./drivers/iommu/iommu.c, plus the whole friend group:


ok bye bestie β€” this one lives in ./drivers/iommu, dated October 2026, and it's serving Kernel API Manual energy to the very end. πŸ’…πŸŽ€βœ¨

πŸ“¦ where this page comes from