Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iommu/
Diommu-sva.h13 struct iopf_queue;
18 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev);
19 int iopf_queue_remove_device(struct iopf_queue *queue,
22 struct iopf_queue *iopf_queue_alloc(const char *name);
23 void iopf_queue_free(struct iopf_queue *queue);
24 int iopf_queue_discard_partial(struct iopf_queue *queue);
34 static inline int iopf_queue_add_device(struct iopf_queue *queue, in iopf_queue_add_device()
40 static inline int iopf_queue_remove_device(struct iopf_queue *queue, in iopf_queue_remove_device()
51 static inline struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
56 static inline void iopf_queue_free(struct iopf_queue *queue) in iopf_queue_free()
[all …]
Dio-pgfault.c22 struct iopf_queue { struct
38 struct iopf_queue *queue; argument
261 int iopf_queue_discard_partial(struct iopf_queue *queue) in iopf_queue_discard_partial()
289 int iopf_queue_add_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_add_device()
332 int iopf_queue_remove_device(struct iopf_queue *queue, struct device *dev) in iopf_queue_remove_device()
371 struct iopf_queue *iopf_queue_alloc(const char *name) in iopf_queue_alloc()
373 struct iopf_queue *queue; in iopf_queue_alloc()
405 void iopf_queue_free(struct iopf_queue *queue) in iopf_queue_free()
/Linux-v6.6/drivers/iommu/intel/
Dsvm.c66 struct iopf_queue *iopfq; in intel_svm_enable_prq()
95 iommu->iopf_queue = iopfq; in intel_svm_enable_prq()
115 iopf_queue_free(iommu->iopf_queue); in intel_svm_enable_prq()
116 iommu->iopf_queue = NULL; in intel_svm_enable_prq()
139 if (iommu->iopf_queue) { in intel_svm_finish_prq()
140 iopf_queue_free(iommu->iopf_queue); in intel_svm_finish_prq()
141 iommu->iopf_queue = NULL; in intel_svm_finish_prq()
710 iopf_queue_discard_partial(iommu->iopf_queue); in prq_event_thread()
Diommu.h681 struct iopf_queue *iopf_queue; member
Diommu.c4558 ret = iopf_queue_add_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
4576 iopf_queue_remove_device(iommu->iopf_queue, dev); in intel_iommu_enable_iopf()
4606 WARN_ON(iopf_queue_remove_device(iommu->iopf_queue, dev)); in intel_iommu_disable_iopf()
/Linux-v6.6/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.h562 struct iopf_queue *iopf;