Lines Matching refs:fault
44 struct iommu_fault fault; member
60 .pasid = iopf->fault.prm.pasid, in iopf_complete_group()
61 .grpid = iopf->fault.prm.grpid, in iopf_complete_group()
65 if ((iopf->fault.prm.flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID) && in iopf_complete_group()
66 (iopf->fault.prm.flags & IOMMU_FAULT_PAGE_RESPONSE_NEEDS_PASID)) in iopf_complete_group()
81 group->last_fault.fault.prm.pasid, 0); in iopf_handler()
91 status = domain->iopf_handler(&iopf->fault, in iopf_handler()
94 if (!(iopf->fault.prm.flags & in iopf_handler()
143 int iommu_queue_iopf(struct iommu_fault *fault, void *cookie) in iommu_queue_iopf() argument
155 if (fault->type != IOMMU_FAULT_PAGE_REQ) in iommu_queue_iopf()
167 if (!(fault->prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) { in iommu_queue_iopf()
172 iopf->fault = *fault; in iommu_queue_iopf()
192 group->last_fault.fault = *fault; in iommu_queue_iopf()
199 if (iopf->fault.prm.grpid == fault->prm.grpid) in iommu_queue_iopf()
209 if (iopf->fault.prm.grpid == fault->prm.grpid) { in iommu_queue_iopf()