Searched refs:pdom_dev_data (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/iommu/amd/ |
H A D | pasid.c | 32 static void remove_dev_pasid(struct pdom_dev_data *pdom_dev_data) in remove_dev_pasid() argument 35 amd_iommu_clear_gcr3(pdom_dev_data->dev_data, pdom_dev_data->pasid); in remove_dev_pasid() 37 list_del(&pdom_dev_data->list); in remove_dev_pasid() 38 kfree(pdom_dev_data); in remove_dev_pasid() 45 struct pdom_dev_data *pdom_dev_data; in remove_pdom_dev_pasid() local 50 for_each_pdom_dev_data(pdom_dev_data, pdom) { in remove_pdom_dev_pasid() 51 if (pdom_dev_data->dev_data == dev_data && in remove_pdom_dev_pasid() 52 pdom_dev_data->pasid == pasid) { in remove_pdom_dev_pasid() 53 remove_dev_pasid(pdom_dev_data); in remove_pdom_dev_pasid() 63 struct pdom_dev_data *pdom_dev_data; in sva_arch_invalidate_secondary_tlbs() local [all …]
|
H A D | amd_iommu_types.h | 514 #define for_each_pdom_dev_data(pdom_dev_data, pdom) \ argument 515 list_for_each_entry(pdom_dev_data, &pdom->dev_data_list, list) 516 #define for_each_pdom_dev_data_safe(pdom_dev_data, next, pdom) \ argument 517 list_for_each_entry_safe((pdom_dev_data), (next), &pdom->dev_data_list, list) 559 struct pdom_dev_data { struct
|