Lines Matching refs:list
143 INIT_LIST_HEAD(&policy->list); in policy_init()
163 if (!list_empty(&policy->list)) { in policy_destroy()
186 list_for_each_entry(policy, head, list) { in __policy_find()
211 list_for_each_entry(policy, head, list) { in __policy_strn_find()
421 list_add(&new_ns->base.list, &root->sub_ns); in aa_prepare_namespace()
447 static void __list_add_profile(struct list_head *list, in __list_add_profile() argument
450 list_add(&profile->base.list, list); in __list_add_profile()
469 list_del_init(&profile->base.list); in __list_remove_profile()
503 list_for_each_entry_safe(child, tmp, &old->base.profiles, base.list) { in __replace_profile()
507 list_move(&child->base.list, &new->base.profiles); in __replace_profile()
541 list_for_each_entry_safe(profile, tmp, head, base.list) in __profile_list_release()
577 list_del_init(&ns->base.list); in __remove_namespace()
605 list_for_each_entry_safe(ns, tmp, head, base.list) in __ns_list_release()
732 if (!list_empty(&profile->base.list)) { in free_profile()