Lines Matching refs:parent
56 struct gcov_node *parent; member
476 static void add_links(struct gcov_node *node, struct dentry *parent) in add_links() argument
498 parent, target); in add_links()
521 const char *name, struct gcov_node *parent) in init_node() argument
530 node->parent = parent; in init_node()
539 static struct gcov_node *new_node(struct gcov_node *parent, in new_node() argument
553 init_node(node, info, name, parent); in new_node()
557 parent->dentry, node, &gcov_data_fops); in new_node()
559 node->dentry = debugfs_create_dir(node->name, parent->dentry); in new_node()
561 add_links(node, parent->dentry); in new_node()
562 list_add(&node->list, &parent->children); in new_node()
605 struct gcov_node *parent; in remove_node() local
608 parent = node->parent; in remove_node()
610 node = parent; in remove_node()
618 static struct gcov_node *get_child_by_name(struct gcov_node *parent, in get_child_by_name() argument
623 list_for_each_entry(node, &parent->children, list) { in get_child_by_name()
679 struct gcov_node *parent; in add_node() local
685 parent = &root_node; in add_node()
694 if (!parent->parent) in add_node()
696 parent = parent->parent; in add_node()
699 node = get_child_by_name(parent, curr); in add_node()
701 node = new_node(parent, NULL, curr); in add_node()
705 parent = node; in add_node()
708 node = new_node(parent, info, curr); in add_node()
716 remove_node(parent); in add_node()