Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iommu/
Diommu.c1185 if (param->fault_param) { in iommu_register_device_fault_handler()
1191 param->fault_param = kzalloc(sizeof(*param->fault_param), GFP_KERNEL); in iommu_register_device_fault_handler()
1192 if (!param->fault_param) { in iommu_register_device_fault_handler()
1197 param->fault_param->handler = handler; in iommu_register_device_fault_handler()
1198 param->fault_param->data = data; in iommu_register_device_fault_handler()
1199 mutex_init(&param->fault_param->lock); in iommu_register_device_fault_handler()
1200 INIT_LIST_HEAD(&param->fault_param->faults); in iommu_register_device_fault_handler()
1228 if (!param->fault_param) in iommu_unregister_device_fault_handler()
1232 if (!list_empty(&param->fault_param->faults)) { in iommu_unregister_device_fault_handler()
1237 kfree(param->fault_param); in iommu_unregister_device_fault_handler()
[all …]
/linux-6.1.9/include/linux/
Diommu.h375 struct iommu_fault_param *fault_param; member