Lines Matching refs:fuse
87 struct fuse { struct
134 struct fuse *fuse; member
256 static struct node *get_node_nocheck(struct fuse *f, fuse_ino_t nodeid) in get_node_nocheck()
268 static struct node *get_node(struct fuse *f, fuse_ino_t nodeid) in get_node()
285 static void unhash_id(struct fuse *f, struct node *node) in unhash_id()
297 static void hash_id(struct fuse *f, struct node *node) in hash_id()
304 static unsigned int name_hash(struct fuse *f, fuse_ino_t parent, in name_hash()
316 static void unref_node(struct fuse *f, struct node *node);
318 static void unhash_name(struct fuse *f, struct node *node) in unhash_name()
340 static int hash_name(struct fuse *f, struct node *node, fuse_ino_t parentid, in hash_name()
356 static void delete_node(struct fuse *f, struct node *node) in delete_node()
366 static void unref_node(struct fuse *f, struct node *node) in unref_node()
374 static fuse_ino_t next_id(struct fuse *f) in next_id()
385 static struct node *lookup_node(struct fuse *f, fuse_ino_t parent, in lookup_node()
398 static struct node *find_node(struct fuse *f, fuse_ino_t parent, in find_node()
473 static char *get_path_name(struct fuse *f, fuse_ino_t nodeid, const char *name) in get_path_name()
558 static char *get_path(struct fuse *f, fuse_ino_t nodeid) in get_path()
563 static void forget_node(struct fuse *f, fuse_ino_t nodeid, uint64_t nlookup) in forget_node()
579 static void remove_node(struct fuse *f, fuse_ino_t dir, const char *name) in remove_node()
590 static int rename_node(struct fuse *f, fuse_ino_t olddir, const char *oldname, in rename_node()
626 static void set_stat(struct fuse *f, fuse_ino_t nodeid, struct stat *stbuf) in set_stat()
638 static struct fuse *req_fuse(fuse_req_t req) in req_fuse()
640 return (struct fuse *) fuse_req_userdata(req); in req_fuse()
658 struct fuse *f = req_fuse(req); in fuse_interrupt()
677 static void fuse_do_finish_interrupt(struct fuse *f, fuse_req_t req, in fuse_do_finish_interrupt()
696 static void fuse_finish_interrupt(struct fuse *f, fuse_req_t req, in fuse_finish_interrupt()
703 static void fuse_prepare_interrupt(struct fuse *f, fuse_req_t req, in fuse_prepare_interrupt()
1057 static int is_open(struct fuse *f, fuse_ino_t dir, const char *name) in is_open()
1069 static char *hidden_name(struct fuse *f, fuse_ino_t dir, const char *oldname, in hidden_name()
1108 static int hide_node(struct fuse *f, const char *oldpath, in hide_node()
1163 static int lookup_path(struct fuse *f, fuse_ino_t nodeid, in lookup_path()
1253 static struct fuse *req_fuse_prepare(fuse_req_t req) in req_fuse_prepare()
1258 c->ctx.fuse = req_fuse(req); in req_fuse_prepare()
1265 return c->ctx.fuse; in req_fuse_prepare()
1282 struct fuse *f = req_fuse(req); in reply_entry()
1305 struct fuse *f = (struct fuse *) data; in fuse_lib_init()
1309 c->ctx.fuse = f; in fuse_lib_init()
1327 struct fuse *f = (struct fuse *) data; in fuse_lib_destroy()
1331 c->ctx.fuse = f; in fuse_lib_destroy()
1339 struct fuse *f = req_fuse_prepare(req); in fuse_lib_lookup()
1368 struct fuse *f = req_fuse(req); in fuse_lib_forget()
1378 struct fuse *f = req_fuse_prepare(req); in fuse_lib_getattr()
1423 struct fuse *f = req_fuse_prepare(req); in fuse_lib_setattr()
1504 struct fuse *f = req_fuse_prepare(req); in fuse_lib_access()
1526 struct fuse *f = req_fuse_prepare(req); in fuse_lib_readlink()
1552 struct fuse *f = req_fuse_prepare(req); in fuse_lib_mknod()
1592 struct fuse *f = req_fuse_prepare(req); in fuse_lib_mkdir()
1618 struct fuse *f = req_fuse_prepare(req); in fuse_lib_unlink()
1646 struct fuse *f = req_fuse_prepare(req); in fuse_lib_rmdir()
1671 struct fuse *f = req_fuse_prepare(req); in fuse_lib_symlink()
1698 struct fuse *f = req_fuse_prepare(req); in fuse_lib_rename()
1733 struct fuse *f = req_fuse_prepare(req); in fuse_lib_link()
1761 static void fuse_do_release(struct fuse *f, fuse_ino_t ino, const char *path, in fuse_do_release()
1787 struct fuse *f = req_fuse_prepare(req); in fuse_lib_create()
1849 static void open_auto_cache(struct fuse *f, fuse_ino_t ino, const char *path, in open_auto_cache()
1884 struct fuse *f = req_fuse_prepare(req); in fuse_lib_open()
1932 struct fuse *f = req_fuse_prepare(req); in fuse_lib_read()
1976 struct fuse *f = req_fuse_prepare(req); in fuse_lib_write()
2012 struct fuse *f = req_fuse_prepare(req); in fuse_lib_fsync()
2045 struct fuse *f = req_fuse_prepare(req); in fuse_lib_opendir()
2058 dh->fuse = f; in fuse_lib_opendir()
2141 if (!dh->fuse->conf.use_ino) { in fill_dir()
2143 if (dh->fuse->conf.readdir_ino) { in fill_dir()
2145 pthread_mutex_lock(&dh->fuse->lock); in fill_dir()
2146 node = lookup_node(dh->fuse, dh->nodeid, name); in fill_dir()
2149 pthread_mutex_unlock(&dh->fuse->lock); in fill_dir()
2175 static int readdir_fill(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in readdir_fill()
2208 struct fuse *f = req_fuse_prepare(req); in fuse_lib_readdir()
2243 struct fuse *f = req_fuse_prepare(req); in fuse_lib_releasedir()
2268 struct fuse *f = req_fuse_prepare(req); in fuse_lib_fsyncdir()
2291 struct fuse *f = req_fuse_prepare(req); in fuse_lib_statfs()
2323 struct fuse *f = req_fuse_prepare(req); in fuse_lib_setxattr()
2341 static int common_getxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in common_getxattr()
2364 struct fuse *f = req_fuse_prepare(req); in fuse_lib_getxattr()
2388 static int common_listxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in common_listxattr()
2410 struct fuse *f = req_fuse_prepare(req); in fuse_lib_listxattr()
2437 struct fuse *f = req_fuse_prepare(req); in fuse_lib_removexattr()
2571 static int fuse_flush_common(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in fuse_flush_common()
2605 struct fuse *f = req_fuse_prepare(req); in fuse_lib_release()
2635 struct fuse *f = req_fuse_prepare(req); in fuse_lib_flush()
2653 struct fuse *f = req_fuse_prepare(req); in fuse_lock_common()
2677 struct fuse *f = req_fuse(req); in fuse_lib_getlk()
2703 struct fuse *f = req_fuse(req); in fuse_lib_setlk()
2717 struct fuse *f = req_fuse_prepare(req); in fuse_lib_bmap()
2743 struct fuse *f = req_fuse_prepare(req); in fuse_lib_ioctl()
2832 struct fuse_session *fuse_get_session(struct fuse *f) in fuse_get_session()
2837 int fuse_loop(struct fuse *f) in fuse_loop()
2845 void fuse_exit(struct fuse *f) in fuse_exit()
3007 static int fuse_push_module(struct fuse *f, const char *module, in fuse_push_module()
3053 struct fuse *fuse_new(struct fuse_chan *ch, struct fuse_args *args, in fuse_new()
3057 struct fuse *f; in fuse_new()
3065 f = (struct fuse *) calloc(1, sizeof(struct fuse)); in fuse_new()
3204 void fuse_destroy(struct fuse *f) in fuse_destroy()
3215 c->ctx.fuse = f; in fuse_destroy()