Lines Matching defs:handle
62 struct iommu_sva *handle;
70 handle = kzalloc(sizeof(*handle), GFP_KERNEL);
71 if (!handle)
101 handle->dev = dev;
102 handle->domain = domain;
104 return handle;
110 kfree(handle);
118 * @handle: the handle returned by iommu_sva_bind_device()
124 void iommu_sva_unbind_device(struct iommu_sva *handle)
126 struct iommu_domain *domain = handle->domain;
128 struct device *dev = handle->dev;
136 kfree(handle);
140 u32 iommu_sva_get_pasid(struct iommu_sva *handle)
142 struct iommu_domain *domain = handle->domain;