Home
last modified time | relevance | path

Searched refs:pasid_array (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/iommu/
H A Diommu.c54 struct xarray pasid_array; member
937 xa_init(&group->pasid_array); in iommu_group_alloc()
3154 !xa_empty(&group->pasid_array)) { in iommu_device_use_default_domain()
3185 if (!WARN_ON(!group->owner_cnt || !xa_empty(&group->pasid_array))) in iommu_device_unuse_default_domain()
3220 !xa_empty(&group->pasid_array)) in __iommu_take_dma_ownership()
3308 !xa_empty(&group->pasid_array))) in __iommu_release_dma_ownership()
3430 curr = xa_cmpxchg(&group->pasid_array, pasid, NULL, domain, GFP_KERNEL); in iommu_attach_device_pasid()
3438 xa_erase(&group->pasid_array, pasid); in iommu_attach_device_pasid()
3463 WARN_ON(xa_erase(&group->pasid_array, pasid) != domain); in iommu_detach_device_pasid()
3495 xa_lock(&group->pasid_array); in iommu_get_domain_for_dev_pasid()
[all …]