iommufd_vfi..._ioas_get_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

iommufd_vfio_compat_ioas_get_id β€” bestie, this is the one that makes sure a compat IOAS actually exists πŸ’…

(this is a section 9 kernel API page from the Kernel API Manual, iykyk πŸŽ€)


🌸 SYNOPSIS 🌸

int iommufd_vfio_compat_ioas_get_id (struct iommufd_ctx *ictx , u32
*out_ioas_id );

okay so it hands you back an int, and yes we love a return value moment 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ictx β€” the context you're operating on, like, the whole vibe you're working inside of ✨
  • out_ioas_id β€” the IOAS ID of the compatibility IOAS. this is where the answer lands, no cap 🎯

πŸ’– DESCRIPTION πŸ’–

Return the ID of the current compatibility IOAS. literally that's the whole job and it ate πŸ”₯

The ID can be passed into other functions that take an ioas_id β€” so think of it as the little golden ticket you hand off to your other functions so they know which IOAS you mean πŸ‘‘


🧚 SEE ALSO 🧚


not me writing a whole sign-off but fr fr this page lives in ./drivers/iommu/iommufd and the version stamp says October 2026, and the page you're reading is iommufd_vfi..._ioas_get_id(9) β€” iconic, periodt πŸ’€πŸ’œ
πŸ“¦ where this page comes from