Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/amd/
Dppr.c222 if (iommu->iopf_queue) in amd_iommu_iopf_init()
228 iommu->iopf_queue = iopf_queue_alloc(iommu->iopfq_name); in amd_iommu_iopf_init()
229 if (!iommu->iopf_queue) in amd_iommu_iopf_init()
238 iopf_queue_free(iommu->iopf_queue); in amd_iommu_iopf_uninit()
239 iommu->iopf_queue = NULL; in amd_iommu_iopf_uninit()
256 if (!iommu->iopf_queue) in amd_iommu_iopf_add_device()
259 ret = iopf_queue_add_device(iommu->iopf_queue, dev_data->dev); in amd_iommu_iopf_add_device()
271 iopf_queue_remove_device(iommu->iopf_queue, dev_data->dev); in amd_iommu_iopf_remove_device()
Damd_iommu_types.h790 struct iopf_queue *iopf_queue; member
/linux-6.12.1/drivers/iommu/
Dio-pgfault.c355 int iopf_queue_discard_partial(struct iopf_queue *queue) in iopf_queue_discard_partial()
385 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_add_device()
450 void iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_remove_device()
501 struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
503 struct iopf_queue *queue; in iopf_queue_alloc()
535 void iopf_queue_free(struct iopf_queue *queue) in iopf_queue_free()
/linux-6.12.1/drivers/iommu/intel/
Dsvm.c32 struct iopf_queue *iopfq; in intel_svm_enable_prq()
59 iommu->iopf_queue = iopfq; in intel_svm_enable_prq()
79 iopf_queue_free(iommu->iopf_queue); in intel_svm_enable_prq()
80 iommu->iopf_queue = NULL; in intel_svm_enable_prq()
103 if (iommu->iopf_queue) { in intel_svm_finish_prq()
104 iopf_queue_free(iommu->iopf_queue); in intel_svm_finish_prq()
105 iommu->iopf_queue = NULL; in intel_svm_finish_prq()
513 iopf_queue_discard_partial(iommu->iopf_queue); in prq_event_thread()
Diommu.h739 struct iopf_queue *iopf_queue; member
Diommu.c4139 ret = iopf_queue_add_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
4157 iopf_queue_remove_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
4177 iopf_queue_remove_device(iommu->iopf_queue, dev); in intel_iommu_disable_iopf()
/linux-6.12.1/include/linux/
Diommu.h145 struct iopf_queue { struct
709 struct iopf_queue *queue;
1559 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev);
1560 void iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev);
1562 struct iopf_queue *iopf_queue_alloc(const char *name);
1563 void iopf_queue_free(struct iopf_queue *queue);
1564 int iopf_queue_discard_partial(struct iopf_queue *queue);
1571 iopf_queue_add_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_add_device()
1577 iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_remove_device()
1586 static inline struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
[all …]
/linux-6.12.1/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.h624 struct iopf_queue *iopf;
/linux-6.12.1/drivers/iommu/iommufd/
Dselftest.c508 static struct iopf_queue *mock_iommu_iopf_queue;