Lines Matching refs:nodeid
115 fuse_ino_t nodeid; member
143 fuse_ino_t nodeid; member
256 static struct node *get_node_nocheck(struct fuse *f, fuse_ino_t nodeid) in get_node_nocheck() argument
258 size_t hash = nodeid % f->id_table_size; in get_node_nocheck()
262 if (node->nodeid == nodeid) in get_node_nocheck()
268 static struct node *get_node(struct fuse *f, fuse_ino_t nodeid) in get_node() argument
270 struct node *node = get_node_nocheck(f, nodeid); in get_node()
273 (unsigned long long) nodeid); in get_node()
287 size_t hash = node->nodeid % f->id_table_size; in unhash_id()
299 size_t hash = node->nodeid % f->id_table_size; in hash_id()
321 size_t hash = name_hash(f, node->parent->nodeid, node->name); in unhash_name()
335 (unsigned long long) node->nodeid); in unhash_name()
359 fprintf(stderr, "delete: %llu\n", (unsigned long long) node->nodeid); in delete_node()
392 if (node->parent->nodeid == parent && strcmp(node->name, name) == 0) in lookup_node()
411 node->nodeid = next_id(f); in find_node()
473 static char *get_path_name(struct fuse *f, fuse_ino_t nodeid, const char *name) in get_path_name() argument
489 for (node = get_node(f, nodeid); node && node->nodeid != FUSE_ROOT_ID; in get_path_name()
530 for (node = get_node(f, nodeid); node && node->nodeid != FUSE_ROOT_ID; in get_path_name()
558 static char *get_path(struct fuse *f, fuse_ino_t nodeid) in get_path() argument
560 return get_path_name(f, nodeid, NULL); in get_path()
563 static void forget_node(struct fuse *f, fuse_ino_t nodeid, uint64_t nlookup) in forget_node() argument
566 if (nodeid == FUSE_ROOT_ID) in forget_node()
569 node = get_node(f, nodeid); in forget_node()
626 static void set_stat(struct fuse *f, fuse_ino_t nodeid, struct stat *stbuf) in set_stat() argument
629 stbuf->st_ino = nodeid; in set_stat()
1089 (unsigned int) node->nodeid, f->hidectr); in hidden_name()
1163 static int lookup_path(struct fuse *f, fuse_ino_t nodeid, in lookup_path() argument
1177 node = find_node(f, nodeid, name); in lookup_path()
1181 e->ino = node->nodeid; in lookup_path()
2062 dh->nodeid = ino; in fuse_lib_opendir()
2146 node = lookup_node(dh->fuse, dh->nodeid, name); in fill_dir()
2148 stbuf.st_ino = (ino_t) node->nodeid; in fill_dir()
3170 root->nodeid = FUSE_ROOT_ID; in fuse_new()
3222 char *path = get_path(f, node->nodeid); in fuse_destroy()