Lines Matching refs:head
182 static struct aa_policy *__policy_find(struct list_head *head, const char *name) in __policy_find() argument
186 list_for_each_entry(policy, head, list) { in __policy_find()
206 static struct aa_policy *__policy_strn_find(struct list_head *head, in __policy_strn_find() argument
211 list_for_each_entry(policy, head, list) { in __policy_strn_find()
355 static struct aa_namespace *__aa_find_namespace(struct list_head *head, in __aa_find_namespace() argument
358 return (struct aa_namespace *)__policy_find(head, name); in __aa_find_namespace()
515 static void __profile_list_release(struct list_head *head);
538 static void __profile_list_release(struct list_head *head) in __profile_list_release() argument
541 list_for_each_entry_safe(profile, tmp, head, base.list) in __profile_list_release()
545 static void __ns_list_release(struct list_head *head);
602 static void __ns_list_release(struct list_head *head) in __ns_list_release() argument
605 list_for_each_entry_safe(ns, tmp, head, base.list) in __ns_list_release()
782 static struct aa_profile *__find_child(struct list_head *head, const char *name) in __find_child() argument
784 return (struct aa_profile *)__policy_find(head, name); in __find_child()
797 static struct aa_profile *__strn_find_child(struct list_head *head, in __strn_find_child() argument
800 return (struct aa_profile *)__policy_strn_find(head, name, len); in __strn_find_child()