Searched refs:old_dom (Results 1 – 2 of 2) sorted by relevance
20 struct landlock_ruleset *const old_dom = landlock_cred(old)->domain; in hook_cred_prepare() local22 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()
2947 struct iommu_domain *old_dom = group->default_domain; in iommu_setup_default_domain() local3028 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()