Home
last modified time | relevance | path

Searched refs:nested_domain (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3-iommufd.c47 struct arm_smmu_nested_domain *nested_domain, bool ats_enabled) in arm_smmu_make_nested_cd_table_ste() argument
50 target, master, nested_domain->vsmmu->s2_parent, ats_enabled); in arm_smmu_make_nested_cd_table_ste()
55 target->data[0] |= nested_domain->ste[0] & in arm_smmu_make_nested_cd_table_ste()
57 target->data[1] |= nested_domain->ste[1]; in arm_smmu_make_nested_cd_table_ste()
72 struct arm_smmu_nested_domain *nested_domain, bool ats_enabled) in arm_smmu_make_nested_domain_ste() argument
75 FIELD_GET(STRTAB_STE_0_CFG, le64_to_cpu(nested_domain->ste[0])); in arm_smmu_make_nested_domain_ste()
82 if (!(nested_domain->ste[0] & cpu_to_le64(STRTAB_STE_0_V))) in arm_smmu_make_nested_domain_ste()
87 arm_smmu_make_nested_cd_table_ste(target, master, nested_domain, in arm_smmu_make_nested_domain_ste()
92 nested_domain->vsmmu->s2_parent, in arm_smmu_make_nested_domain_ste()
103 struct arm_smmu_nested_domain *nested_domain) in arm_smmu_attach_prepare_vmaster() argument
[all …]
/linux/drivers/iommu/amd/
H A Dnested.c16 static inline struct nested_domain *to_ndomain(struct iommu_domain *dom) in to_ndomain()
18 return container_of(dom, struct nested_domain, domain); in to_ndomain()
101 struct nested_domain *ndom; in amd_iommu_alloc_domain_nested()
194 struct nested_domain *ndom = to_ndomain(dom); in set_dte_nested()
266 struct nested_domain *ndom __free(kfree) = to_ndomain(dom); in nested_domain_free()
/linux/tools/testing/selftests/landlock/
H A Dscoped_base_variants.h118 FIXTURE_VARIANT_ADD(scoped_domains, nested_domain) { in FIXTURE_VARIANT_ADD() argument