Searched refs:fault_param (Results 1 – 2 of 2) sorted by relevance
964 if (param->fault_param) { in iommu_register_device_fault_handler()970 param->fault_param = kzalloc(sizeof(*param->fault_param), GFP_KERNEL); in iommu_register_device_fault_handler()971 if (!param->fault_param) { in iommu_register_device_fault_handler()976 param->fault_param->handler = handler; in iommu_register_device_fault_handler()977 param->fault_param->data = data; in iommu_register_device_fault_handler()978 mutex_init(¶m->fault_param->lock); in iommu_register_device_fault_handler()979 INIT_LIST_HEAD(¶m->fault_param->faults); in iommu_register_device_fault_handler()1007 if (!param->fault_param) in iommu_unregister_device_fault_handler()1011 if (!list_empty(¶m->fault_param->faults)) { in iommu_unregister_device_fault_handler()1016 kfree(param->fault_param); in iommu_unregister_device_fault_handler()[all …]
366 struct iommu_fault_param *fault_param; member