iommu_group_put(9)
π iommu_group_put(9) β like, the Kernel API Manual page you didn't know you needed
okay so real talk, bestie: this is a page from the Kernel API Manual, section 9, and its whole name is iommu_group_put(9). Say it with me. Slay. Now let's get into it π
β¨ NAME β¨
iommu_group_put β decrement group reference π
Like, that's it. That's the whole vibe. You're letting go, not grabbing. If you came here to take a reference, you want a different page (we'll link it, don't worry).
π¦ SYNOPSIS π¦
void iommu_group_put (struct iommu_group *group );
that's the whole signature, no cap. returns void, so don't go checking for an error code, there isn't one π
πΈ ARGUMENTS πΈ
groupβ the group to use π«Ά like, thestruct iommu_group *you're handing over so it can get its reference count knocked down a peg.
π DESCRIPTION π
okay so here's the tea β β this function is called by iommu drivers and users to release the iommu group. you're the one dropping your reference, bestie, and that's a healthy thing to do. growth.
and the important part: once the reference count hits zero, the group is released. periodt. that's the whole lifecycle. last one out turns off the lights π
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/iommu/iommu.c β and it has sooo many friends, honestly iconic of it:
iommu_device_register(9)iommu_insert_resv_region(9)iommu_group_alloc(9)iommu_group_get_iommudata(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_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)
iykyk π
heads up bestie π«Ά this is a put, not a get. if you drop more references than you took, that's on you, and the kernel will absolutely let you find out π
k bye, this page came from the source dir ./drivers/iommu, dated October 2026, and it's respectfully yours from the Kernel API Manual. go forth and release your references responsibly, 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