Lines Matching refs:profiles
208 if (!list_empty(&profile->base.profiles)) { in __remove_profile()
209 curr = list_first_entry(&profile->base.profiles, struct aa_profile, base.list); in __remove_profile()
213 while (!list_empty(&curr->base.profiles)) in __remove_profile()
214 curr = list_first_entry(&curr->base.profiles, in __remove_profile()
219 &aa_deref_parent(curr)->base.profiles)) in __remove_profile()
494 profile = __find_child(&parent->base.profiles, name); in aa_find_child()
525 profile = __strn_find_child(&policy->profiles, hname, in __lookup_parent()
564 profile = __strn_find_child(&policy->profiles, hname, in __create_missing_ancestors()
607 profile = __strn_find_child(&base->profiles, hname, in __lookupn_profile()
618 return __strn_find_child(&base->profiles, hname, n); in __lookupn_profile()
775 p = __find_child(&parent->base.profiles, bname); in aa_new_learning_profile()
780 __add_profile(&parent->base.profiles, profile); in aa_new_learning_profile()
1050 if (!list_empty(&old->base.profiles)) { in __replace_profile()
1052 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile()
1058 p = __find_child(&new->base.profiles, child->base.name); in __replace_profile()
1070 list_add_rcu(&child->base.list, &new->base.profiles); in __replace_profile()
1362 lh = &parent->base.profiles; in aa_replace_profiles()
1364 lh = &ns->base.profiles; in aa_replace_profiles()