Lines Matching refs:profiles
144 INIT_LIST_HEAD(&policy->profiles); in policy_init()
156 if (on_list_rcu(&policy->profiles)) { in policy_destroy()
462 __profile_list_release(&profile->base.profiles); in __remove_profile()
495 __profile_list_release(&ns->base.profiles); in destroy_namespace()
715 __list_add_profile(&parent->base.profiles, profile); in aa_new_null_profile()
769 profile = aa_get_profile(__find_child(&parent->base.profiles, name)); in aa_find_child()
799 profile = __strn_find_child(&policy->profiles, hname, in __lookup_parent()
830 profile = __strn_find_child(&base->profiles, hname, in __lookup_profile()
840 profile = __find_child(&base->profiles, hname); in __lookup_profile()
982 if (!list_empty(&old->base.profiles)) { in __replace_profile()
984 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile()
990 p = __find_child(&new->base.profiles, child->base.name); in __replace_profile()
1002 list_add_rcu(&child->base.list, &new->base.profiles); in __replace_profile()
1197 __list_add_profile(&parent->base.profiles, ent->new); in aa_replace_profiles()
1202 __list_add_profile(&ns->base.profiles, ent->new); in aa_replace_profiles()