Searched refs:old_profile (Results 1 – 1 of 1) sorted by relevance
1013 struct aa_profile *old_profile = NULL, *new_profile = NULL; in aa_replace_profiles() local1049 old_profile = __find_child(&policy->profiles, new_profile->base.name); in aa_replace_profiles()1051 aa_get_profile(old_profile); in aa_replace_profiles()1067 error = replacement_allowed(old_profile, noreplace, &info); in aa_replace_profiles()1076 if (!old_profile && !rename_profile) in aa_replace_profiles()1084 if (old_profile) { in aa_replace_profiles()1090 __replace_profile(old_profile, new_profile); in aa_replace_profiles()1092 if (!(old_profile || rename_profile)) in aa_replace_profiles()1100 aa_put_profile(old_profile); in aa_replace_profiles()