Lines Matching full:domid
1233 size_t size, u16 domid, in build_inv_iommu_pages() argument
1240 cmd->data[1] |= domid; in build_inv_iommu_pages()
1584 u16 domid = dev_data->gcr3_info.domid; in domain_flush_pages_v2() local
1587 domid, IOMMU_NO_PASID, true); in domain_flush_pages_v2()
1717 dev_data->gcr3_info.domid, pasid, true); in amd_iommu_dev_flush_pasid_pages()
1846 pdom_id_free(gcr3_info->domid); in free_gcr3_table()
1873 int domid; in setup_gcr3_table() local
1882 domid = pdom_id_alloc(); in setup_gcr3_table()
1883 if (domid <= 0) in setup_gcr3_table()
1885 gcr3_info->domid = domid; in setup_gcr3_table()
1889 pdom_id_free(domid); in setup_gcr3_table()
2030 u16 domid; in set_dte_entry() local
2039 domid = dev_data->gcr3_info.domid; in set_dte_entry()
2041 domid = domain->id; in set_dte_entry()
2058 WARN_ON(amd_iommu_snp_en && (domid == 0)); in set_dte_entry()
2071 new.data[1] |= domid; in set_dte_entry()
2455 int domid; in protection_domain_alloc() local
2461 domid = pdom_id_alloc(); in protection_domain_alloc()
2462 if (domid <= 0) { in protection_domain_alloc()
2466 domain->id = domid; in protection_domain_alloc()