Lines Matching refs:fuse
114 struct fuse { struct
179 struct fuse *fuse; member
393 static inline int lru_enabled(struct fuse *f) in lru_enabled()
403 static size_t get_node_size(struct fuse *f) in get_node_size()
417 static struct node_slab *node_to_slab(struct fuse *f, struct node *node) in node_to_slab()
422 static int alloc_slab(struct fuse *f) in alloc_slab()
454 static struct node *alloc_node(struct fuse *f) in alloc_node()
477 static void free_slab(struct fuse *f, struct node_slab *slab) in free_slab()
488 static void free_node_mem(struct fuse *f, struct node *node) in free_node_mem()
505 static struct node *alloc_node(struct fuse *f) in alloc_node()
510 static void free_node_mem(struct fuse *f, struct node *node) in free_node_mem()
517 static size_t id_hash(struct fuse *f, fuse_ino_t ino) in id_hash()
528 static struct node *get_node_nocheck(struct fuse *f, fuse_ino_t nodeid) in get_node_nocheck()
540 static struct node *get_node(struct fuse *f, fuse_ino_t nodeid) in get_node()
562 static void set_forget_time(struct fuse *f, struct node *node) in set_forget_time()
571 static void free_node(struct fuse *f, struct node *node) in free_node()
594 static void remerge_id(struct fuse *f) in remerge_id()
620 static void unhash_id(struct fuse *f, struct node *node) in unhash_id()
652 static void rehash_id(struct fuse *f) in rehash_id()
681 static void hash_id(struct fuse *f, struct node *node) in hash_id()
692 static size_t name_hash(struct fuse *f, fuse_ino_t parent, in name_hash()
709 static void unref_node(struct fuse *f, struct node *node);
711 static void remerge_name(struct fuse *f) in remerge_name()
737 static void unhash_name(struct fuse *f, struct node *node) in unhash_name()
765 static void rehash_name(struct fuse *f) in rehash_name()
794 static int hash_name(struct fuse *f, struct node *node, fuse_ino_t parentid, in hash_name()
820 static void delete_node(struct fuse *f, struct node *node) in delete_node()
834 static void unref_node(struct fuse *f, struct node *node) in unref_node()
842 static fuse_ino_t next_id(struct fuse *f) in next_id()
853 static struct node *lookup_node(struct fuse *f, fuse_ino_t parent, in lookup_node()
874 static struct node *find_node(struct fuse *f, fuse_ino_t parent, in find_node()
913 static int lookup_path_in_cache(struct fuse *f, in lookup_path_in_cache()
976 static void unlock_path(struct fuse *f, fuse_ino_t nodeid, struct node *wnode, in unlock_path()
997 static int try_get_path(struct fuse *f, fuse_ino_t nodeid, const char *name, in try_get_path()
1079 static void queue_element_unlock(struct fuse *f, struct lock_queue_element *qe) in queue_element_unlock()
1095 static void queue_element_wakeup(struct fuse *f, struct lock_queue_element *qe) in queue_element_wakeup()
1151 static void wake_up_queued(struct fuse *f) in wake_up_queued()
1159 static void debug_path(struct fuse *f, const char *msg, fuse_ino_t nodeid, in debug_path()
1178 static void queue_path(struct fuse *f, struct lock_queue_element *qe) in queue_path()
1191 static void dequeue_path(struct fuse *f, struct lock_queue_element *qe) in dequeue_path()
1200 static int wait_path(struct fuse *f, struct lock_queue_element *qe) in wait_path()
1213 static int get_path_common(struct fuse *f, fuse_ino_t nodeid, const char *name, in get_path_common()
1236 static int get_path(struct fuse *f, fuse_ino_t nodeid, char **path) in get_path()
1241 static int get_path_nullok(struct fuse *f, fuse_ino_t nodeid, char **path) in get_path_nullok()
1256 static int get_path_name(struct fuse *f, fuse_ino_t nodeid, const char *name, in get_path_name()
1262 static int get_path_wrlock(struct fuse *f, fuse_ino_t nodeid, const char *name, in get_path_wrlock()
1273 static int check_dir_loop(struct fuse *f, in check_dir_loop()
1311 static int try_get_path2(struct fuse *f, fuse_ino_t nodeid1, const char *name1, in try_get_path2()
1332 static int get_path2(struct fuse *f, fuse_ino_t nodeid1, const char *name1, in get_path2()
1380 static void free_path_wrlock(struct fuse *f, fuse_ino_t nodeid, in free_path_wrlock()
1391 static void free_path(struct fuse *f, fuse_ino_t nodeid, char *path) in free_path()
1397 static void free_path2(struct fuse *f, fuse_ino_t nodeid1, fuse_ino_t nodeid2, in free_path2()
1410 static void forget_node(struct fuse *f, fuse_ino_t nodeid, uint64_t nlookup) in forget_node()
1448 static void unlink_node(struct fuse *f, struct node *node) in unlink_node()
1457 static void remove_node(struct fuse *f, fuse_ino_t dir, const char *name) in remove_node()
1468 static int rename_node(struct fuse *f, fuse_ino_t olddir, const char *oldname, in rename_node()
1504 static int exchange_node(struct fuse *f, fuse_ino_t olddir, const char *oldname, in exchange_node()
1535 static void set_stat(struct fuse *f, fuse_ino_t nodeid, struct stat *stbuf) in set_stat()
1548 static struct fuse *req_fuse(fuse_req_t req) in req_fuse()
1550 return (struct fuse *) fuse_req_userdata(req); in req_fuse()
1568 struct fuse *f = req_fuse(req); in fuse_interrupt()
1587 static void fuse_do_finish_interrupt(struct fuse *f, fuse_req_t req, in fuse_do_finish_interrupt()
1606 static inline void fuse_finish_interrupt(struct fuse *f, fuse_req_t req, in fuse_finish_interrupt()
1613 static inline void fuse_prepare_interrupt(struct fuse *f, fuse_req_t req, in fuse_prepare_interrupt()
2404 static int is_open(struct fuse *f, fuse_ino_t dir, const char *name) in is_open()
2416 static char *hidden_name(struct fuse *f, fuse_ino_t dir, const char *oldname, in hidden_name()
2456 static int hide_node(struct fuse *f, const char *oldpath, in hide_node()
2508 static int do_lookup(struct fuse *f, fuse_ino_t nodeid, const char *name, in do_lookup()
2530 static int lookup_path(struct fuse *f, fuse_ino_t nodeid, in lookup_path()
2553 static struct fuse_context_i *fuse_create_context(struct fuse *f) in fuse_create_context()
2571 c->ctx.fuse = f; in fuse_create_context()
2610 static struct fuse *req_fuse_prepare(fuse_req_t req) in req_fuse_prepare()
2619 return c->ctx.fuse; in req_fuse_prepare()
2632 struct fuse *f = req_fuse(req); in reply_entry()
2658 struct fuse *f = (struct fuse *) data; in fuse_lib_init()
2678 struct fuse *f = (struct fuse *) data; in fuse_lib_destroy()
2688 struct fuse *f = req_fuse_prepare(req); in fuse_lib_lookup()
2742 static void do_forget(struct fuse *f, fuse_ino_t ino, uint64_t nlookup) in do_forget()
2759 struct fuse *f = req_fuse(req); in fuse_lib_forget_multi()
2772 struct fuse *f = req_fuse_prepare(req); in fuse_lib_getattr()
2826 struct fuse *f = req_fuse_prepare(req); in fuse_lib_setattr()
2906 struct fuse *f = req_fuse_prepare(req); in fuse_lib_access()
2924 struct fuse *f = req_fuse_prepare(req); in fuse_lib_readlink()
2947 struct fuse *f = req_fuse_prepare(req); in fuse_lib_mknod()
2985 struct fuse *f = req_fuse_prepare(req); in fuse_lib_mkdir()
3007 struct fuse *f = req_fuse_prepare(req); in fuse_lib_unlink()
3032 struct fuse *f = req_fuse_prepare(req); in fuse_lib_rmdir()
3054 struct fuse *f = req_fuse_prepare(req); in fuse_lib_symlink()
3077 struct fuse *f = req_fuse_prepare(req); in fuse_lib_rename()
3114 struct fuse *f = req_fuse_prepare(req); in fuse_lib_link()
3136 static void fuse_do_release(struct fuse *f, fuse_ino_t ino, const char *path, in fuse_do_release()
3172 struct fuse *f = req_fuse_prepare(req); in fuse_lib_create()
3224 static void open_auto_cache(struct fuse *f, fuse_ino_t ino, const char *path, in open_auto_cache()
3258 struct fuse *f = req_fuse_prepare(req); in fuse_lib_open()
3296 struct fuse *f = req_fuse_prepare(req); in fuse_lib_read()
3323 struct fuse *f = req_fuse_prepare(req); in fuse_lib_write_buf()
3346 struct fuse *f = req_fuse_prepare(req); in fuse_lib_fsync()
3374 struct fuse *f = req_fuse_prepare(req); in fuse_lib_opendir()
3387 dh->fuse = f; in fuse_lib_opendir()
3473 static fuse_ino_t lookup_nodeid(struct fuse *f, fuse_ino_t parent, in lookup_nodeid()
3506 if (!dh->fuse->conf.use_ino) { in fill_dir()
3508 if (dh->fuse->conf.readdir_ino) { in fill_dir()
3510 lookup_nodeid(dh->fuse, dh->nodeid, name); in fill_dir()
3561 struct fuse *f = dh->fuse; in fill_dir_plus()
3629 static int readdir_fill(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in readdir_fill()
3717 struct fuse *f = req_fuse_prepare(req); in fuse_readdir_common()
3763 struct fuse *f = req_fuse_prepare(req); in fuse_lib_releasedir()
3788 struct fuse *f = req_fuse_prepare(req); in fuse_lib_fsyncdir()
3808 struct fuse *f = req_fuse_prepare(req); in fuse_lib_statfs()
3834 struct fuse *f = req_fuse_prepare(req); in fuse_lib_setxattr()
3849 static int common_getxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in common_getxattr()
3869 struct fuse *f = req_fuse_prepare(req); in fuse_lib_getxattr()
3893 static int common_listxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in common_listxattr()
3912 struct fuse *f = req_fuse_prepare(req); in fuse_lib_listxattr()
3939 struct fuse *f = req_fuse_prepare(req); in fuse_lib_removexattr()
4073 static int fuse_flush_common(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in fuse_flush_common()
4108 struct fuse *f = req_fuse_prepare(req); in fuse_lib_release()
4131 struct fuse *f = req_fuse_prepare(req); in fuse_lib_flush()
4146 struct fuse *f = req_fuse_prepare(req); in fuse_lock_common()
4167 struct fuse *f = req_fuse(req); in fuse_lib_getlk()
4194 struct fuse *f = req_fuse(req); in fuse_lib_setlk()
4208 struct fuse *f = req_fuse_prepare(req); in fuse_lib_flock()
4226 struct fuse *f = req_fuse_prepare(req); in fuse_lib_bmap()
4249 struct fuse *f = req_fuse_prepare(req); in fuse_lib_ioctl()
4298 struct fuse *f = req_fuse_prepare(req); in fuse_lib_poll()
4320 struct fuse *f = req_fuse_prepare(req); in fuse_lib_fallocate()
4341 struct fuse *f = req_fuse_prepare(req); in fuse_lib_copy_file_range()
4377 struct fuse *f = req_fuse_prepare(req); in fuse_lib_lseek()
4399 static int clean_delay(struct fuse *f) in clean_delay()
4417 int fuse_clean_cache(struct fuse *f) in fuse_clean_cache()
4504 struct fuse_session *fuse_get_session(struct fuse *f) in fuse_get_session()
4509 static int fuse_session_loop_remember(struct fuse *f) in fuse_session_loop_remember()
4561 int fuse_loop(struct fuse *f) in fuse_loop()
4573 int fuse_loop_mt_32(struct fuse *f, struct fuse_loop_config *config) in fuse_loop_mt_32()
4587 int fuse_loop_mt_31(struct fuse *f, int clone_fd);
4589 int fuse_loop_mt_31(struct fuse *f, int clone_fd) in fuse_loop_mt_31()
4597 void fuse_exit(struct fuse *f) in fuse_exit()
4631 int fuse_invalidate_path(struct fuse *f, const char *path) { in fuse_invalidate_path()
4786 static int fuse_push_module(struct fuse *f, const char *module, in fuse_push_module()
4842 static void *fuse_prune_nodes(void *fuse) in fuse_prune_nodes() argument
4844 struct fuse *f = fuse; in fuse_prune_nodes()
4854 int fuse_start_cleanup_thread(struct fuse *f) in fuse_start_cleanup_thread()
4862 void fuse_stop_cleanup_thread(struct fuse *f) in fuse_stop_cleanup_thread()
4874 struct fuse *fuse_new_31(struct fuse_args *args, in fuse_new_31()
4878 struct fuse *f; in fuse_new_31()
4883 f = (struct fuse *) calloc(1, sizeof(struct fuse)); in fuse_new_31()
5025 struct fuse *fuse_new_30(struct fuse_args *args, const struct fuse_operations *op,
5028 struct fuse *fuse_new_30(struct fuse_args *args, in fuse_new_30()
5053 void fuse_destroy(struct fuse *f) in fuse_destroy()
5103 int fuse_mount(struct fuse *f, const char *mountpoint) { in fuse_mount()
5108 void fuse_unmount(struct fuse *f) { in fuse_unmount()