Lines Matching refs:parent
95 struct node *parent; member
131 node = node->parent; in node_get_path()
192 struct node *node_create(struct node *parent, const char *name, __u64 nid, __u64 gen) in node_create() argument
204 node->parent = parent; in node_create()
205 node->next = parent->child; in node_create()
206 parent->child = node; in node_create()
209 parent->refcount++; in node_create()
225 fuse->root.parent = 0; in fuse_init()
274 struct node *node_lookup(struct fuse *fuse, struct node *parent, const char *name, in node_lookup() argument
282 path = node_get_path(parent, buffer, name); in node_lookup()
289 node = lookup_child_by_name(parent, name); in node_lookup()
291 node = node_create(parent, name, fuse->next_node_id++, fuse->next_generation++); in node_lookup()
310 if (node->parent->child == node) { in node_release()
311 node->parent->child = node->parent->child->next; in node_release()
315 node2 = node->parent->child; in node_release()
323 node_release(node->parent); in node_release()
325 node->parent = 0; in node_release()