iommu_device...im_dma_owner(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so this is the iommu_device_claim_dma_owner(9) page from the Kernel API Manual, bestie 🫢. The header up top is literally iommu_device...im_dma_owner(9) if you're squinting at your terminal πŸ‘€, and the function in question is:

iommu_device_claim_dma_owner β€” Set DMA ownership of a device ✨


πŸŽ€ SYNOPSIS πŸŽ€

The whole signature is giving:

int iommu_device_claim_dma_owner (struct device *dev , void *owner );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the device, bestie πŸ’…. That's the thing whose DMA ownership is getting claimed.
  • owner β€” a caller-specified pointer πŸ‘‘. It's used for exclusive ownership.

🌸 DESCRIPTION 🌸

Claim the DMA ownership of a device. Multiple devices in the same group may concurrently claim ownership if they present the same owner value πŸ‘―β€β™€οΈ. It's giving "same owner, same squad, same claim" energy, iykyk.

Returns 0 on success and an error code on failure πŸ’–. No cap, that's the whole return vibe.


🌈 SEE ALSO 🌈

Kernel file ./drivers/iommu/iommu.c is the source home base 🏠, and the whole SEE ALSO squad is: 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_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_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) πŸŽ€


Cute sign-off time: source/version is ./drivers/iommu, date is October 2026, and the footer title is iommu_device...im_dma_owner(9) πŸ’‹βœ¨

πŸ“¦ where this page comes from