Lines Matching refs:fault
47 if (!(iopf->fault.prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) in __iopf_free_group()
64 struct iommu_fault *fault) in report_partial_fault() argument
72 iopf->fault = *fault; in report_partial_fault()
98 group->last_fault.fault = evt->fault; in iopf_group_alloc()
106 if (iopf->fault.prm.grpid == evt->fault.prm.grpid) in iopf_group_alloc()
121 struct iommu_fault *fault = &evt->fault; in find_fault_handler() local
124 if (fault->prm.flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID) { in find_fault_handler()
126 fault->prm.pasid, 0); in find_fault_handler()
161 struct iommu_fault *fault = &evt->fault; in iopf_error_response() local
163 .pasid = fault->prm.pasid, in iopf_error_response()
164 .grpid = fault->prm.grpid, in iopf_error_response()
217 struct iommu_fault *fault = &evt->fault; in iommu_report_device_fault() local
234 if (!(fault->prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) { in iommu_report_device_fault()
237 ret = report_partial_fault(iopf_param, fault); in iommu_report_device_fault()
269 fault->prm.pasid); in iommu_report_device_fault()
279 if (fault->type == IOMMU_FAULT_PAGE_REQ) in iommu_report_device_fault()
330 .pasid = iopf->fault.prm.pasid, in iopf_group_response()
331 .grpid = iopf->fault.prm.grpid, in iopf_group_response()
474 .pasid = iopf->fault.prm.pasid, in iopf_queue_remove_device()
475 .grpid = iopf->fault.prm.grpid, in iopf_queue_remove_device()