iommu_group_get_iommudata(9)
π iommu_group_get_iommudata(9) π
okay bestie, welcome to the Kernel API Manual page for iommu_group_get_iommudata(9) β yes, that's the whole title, and yes, we're gonna get through it together. it's giving very specific kernel lore, and honestly? iconic. π
πΈ NAME πΈ
iommu_group_get_iommudata β retrieve the iommu_data registered for a group. yep, that's literally the whole vibe: you got a group, it got some data registered on it, and this function hands it back to you. π«Ά
β¨ SYNOPSIS β¨
void * iommu_group_get_iommudata (struct iommu_group *group );
π«Ά ARGUMENTS π«Ά
groupβ the group. that's it. that's the argument. the group in question, periodt. π
π DESCRIPTION π
so here's the tea: iommu drivers can store data in the group for use when doing iommu operations. like, they stash their little iommu_data situation in there for later. this function is literally the retrieval hook for that data β it provides a way to retrieve it. no cap.
bestie, important: the caller should hold a group reference. don't be out here skipping that, fr fr. π
π₯ SEE ALSO π₯
also lowkey check out the kernel file itself β ./drivers/iommu/iommu.c β and all these other pages, iykyk:
iommu_device_register(9)iommu_insert_resv_region(9)iommu_group_alloc(9)iommu_group_set_iommudata(9)iommu_group_set_name(9)iommu_group_add_device(9)iommu_group_remove_device(9)iommu_group_mutex_assert(9)iommu_group_for_each_dev(9)iommu_group_get(9)iommu_group_ref_get(9)iommu_group_put(9)iommu_group_id(9)device_iommu_capable(9)iommu_group_has_isolated_msi(9)iommu_set_fault_handler(9)iommu_paging_domain_alloc_flags(9)iommu_attach_device(9)iommu_get_domain_for_dev(9)iommu_driver_get_domain_for_dev(9)iommu_attach_group(9)iommu_unmap(9)iommu_unmap_fast(9)report_iommu_fault(9)iommu_get_resv_regions(9)iommu_put_resv_regions(9)iommu_setup_default_domain(9)iommu_device_use_default_domain(9)iommu_device_unuse_default_domain(9)iommu_group_claim_dma_owner(9)iommu_device_claim_dma_owner(9)iommu_group_release_dma_owner(9)iommu_device_release_dma_owner(9)iommu_group_dma_owner_claimed(9)iommu_replace_device_pasid(9)iommu_attach_handle_get(9)iommu_attach_group_handle(9)iommu_detach_group_handle(9)iommu_replace_group_handle(9)pci_dev_reset_iommu_prepare(9)pci_dev_reset_iommu_done(9)iommu_dma_prepare_msi(9)
okay that's the page, mwah π β signing off from source ./drivers/iommu, dated October 2026, page iommu_group_get_iommudata(9), from the Kernel API Manual. slay, go hold that group reference. π
β¨
π¦ 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