Home
last modified time | relevance | path

Searched refs:fault_param (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/iommu/
Diommu.c1078 if (param->fault_param) { in iommu_register_device_fault_handler()
1084 param->fault_param = kzalloc(sizeof(*param->fault_param), GFP_KERNEL); in iommu_register_device_fault_handler()
1085 if (!param->fault_param) { in iommu_register_device_fault_handler()
1090 param->fault_param->handler = handler; in iommu_register_device_fault_handler()
1091 param->fault_param->data = data; in iommu_register_device_fault_handler()
1092 mutex_init(&param->fault_param->lock); in iommu_register_device_fault_handler()
1093 INIT_LIST_HEAD(&param->fault_param->faults); in iommu_register_device_fault_handler()
1121 if (!param->fault_param) in iommu_unregister_device_fault_handler()
1125 if (!list_empty(&param->fault_param->faults)) { in iommu_unregister_device_fault_handler()
1130 kfree(param->fault_param); in iommu_unregister_device_fault_handler()
[all …]
/kernel/linux/linux-5.10/include/linux/
Diommu.h362 struct iommu_fault_param *fault_param; member