Lines Matching refs:lh
745 static struct aa_profile *__list_lookup_parent(struct list_head *lh, in __list_lookup_parent() argument
757 list_for_each_entry(ent, lh, list) { in __list_lookup_parent()
786 LIST_HEAD(lh); in __replace_profile()
787 list_splice_init_rcu(&old->base.profiles, &lh, synchronize_rcu); in __replace_profile()
789 list_for_each_entry_safe(child, tmp, &lh, base.list) { in __replace_profile()
906 LIST_HEAD(lh); in aa_replace_profiles()
911 error = aa_unpack(udata, &lh, &ns_name); in aa_replace_profiles()
921 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
971 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1000 p = __list_lookup_parent(&lh, ent->new); in aa_replace_profiles()
1023 list_for_each_entry(ent, &lh, list) { in aa_replace_profiles()
1045 list_for_each_entry_safe(ent, tmp, &lh, list) { in aa_replace_profiles()
1072 struct list_head *lh; in aa_replace_profiles() local
1078 lh = &parent->base.profiles; in aa_replace_profiles()
1080 lh = &ns->base.profiles; in aa_replace_profiles()
1081 __add_profile(lh, ent->new); in aa_replace_profiles()
1108 list_for_each_entry(tmp, &lh, list) { in aa_replace_profiles()
1118 list_for_each_entry_safe(ent, tmp, &lh, list) { in aa_replace_profiles()