Home
last modified time | relevance | path

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

/Linux-v6.6/security/landlock/
Dcred.c20 struct landlock_ruleset *const old_dom = landlock_cred(old)->domain; in hook_cred_prepare() local
22 if (old_dom) { in hook_cred_prepare()
23 landlock_get_ruleset(old_dom); in hook_cred_prepare()
24 landlock_cred(new)->domain = old_dom; in hook_cred_prepare()
/Linux-v6.6/drivers/iommu/
Diommu.c2947 struct iommu_domain *old_dom = group->default_domain; in iommu_setup_default_domain() local
3028 if (old_dom) in iommu_setup_default_domain()
3029 iommu_domain_free(old_dom); in iommu_setup_default_domain()
3033 if (old_dom) in iommu_setup_default_domain()
3035 group, old_dom, IOMMU_SET_DOMAIN_MUST_SUCCEED); in iommu_setup_default_domain()
3037 if (old_dom) { in iommu_setup_default_domain()
3039 group->default_domain = old_dom; in iommu_setup_default_domain()