Lines Matching defs:child
36 * name before the // being the parent and the name after the child.
743 struct aa_profile *child, *tmp;
749 list_for_each_entry_safe(child, tmp, &lh, base.list) {
752 list_del_init(&child->base.list);
753 p = __find_child(&new->base.profiles, child->base.name);
755 /* @p replaces @child */
756 __replace_profile(child, p);
760 /* inherit @child and its children */
763 p = aa_deref_parent(child);
764 rcu_assign_pointer(child->parent, aa_get_profile(new));
765 list_add_rcu(&child->base.list, &new->base.profiles);