• Home
  • Raw
  • Download

Lines Matching refs:fuse

107 struct fuse {  struct
172 struct fuse *fuse; member
386 static inline int lru_enabled(struct fuse *f) in lru_enabled()
396 static size_t get_node_size(struct fuse *f) in get_node_size()
410 static struct node_slab *node_to_slab(struct fuse *f, struct node *node) in node_to_slab()
415 static int alloc_slab(struct fuse *f) in alloc_slab()
447 static struct node *alloc_node(struct fuse *f) in alloc_node()
470 static void free_slab(struct fuse *f, struct node_slab *slab) in free_slab()
481 static void free_node_mem(struct fuse *f, struct node *node) in free_node_mem()
498 static struct node *alloc_node(struct fuse *f) in alloc_node()
503 static void free_node_mem(struct fuse *f, struct node *node) in free_node_mem()
510 static size_t id_hash(struct fuse *f, fuse_ino_t ino) in id_hash()
521 static struct node *get_node_nocheck(struct fuse *f, fuse_ino_t nodeid) in get_node_nocheck()
533 static struct node *get_node(struct fuse *f, fuse_ino_t nodeid) in get_node()
555 static void set_forget_time(struct fuse *f, struct node *node) in set_forget_time()
564 static void free_node(struct fuse *f, struct node *node) in free_node()
587 static void remerge_id(struct fuse *f) in remerge_id()
613 static void unhash_id(struct fuse *f, struct node *node) in unhash_id()
645 static void rehash_id(struct fuse *f) in rehash_id()
674 static void hash_id(struct fuse *f, struct node *node) in hash_id()
685 static size_t name_hash(struct fuse *f, fuse_ino_t parent, in name_hash()
702 static void unref_node(struct fuse *f, struct node *node);
704 static void remerge_name(struct fuse *f) in remerge_name()
730 static void unhash_name(struct fuse *f, struct node *node) in unhash_name()
758 static void rehash_name(struct fuse *f) in rehash_name()
787 static int hash_name(struct fuse *f, struct node *node, fuse_ino_t parentid, in hash_name()
813 static void delete_node(struct fuse *f, struct node *node) in delete_node()
827 static void unref_node(struct fuse *f, struct node *node) in unref_node()
835 static fuse_ino_t next_id(struct fuse *f) in next_id()
846 static struct node *lookup_node(struct fuse *f, fuse_ino_t parent, in lookup_node()
867 static struct node *find_node(struct fuse *f, fuse_ino_t parent, in find_node()
906 static int lookup_path_in_cache(struct fuse *f, in lookup_path_in_cache()
969 static void unlock_path(struct fuse *f, fuse_ino_t nodeid, struct node *wnode, in unlock_path()
990 static int try_get_path(struct fuse *f, fuse_ino_t nodeid, const char *name, in try_get_path()
1072 static int try_get_path2(struct fuse *f, fuse_ino_t nodeid1, const char *name1, in try_get_path2()
1093 static void queue_element_wakeup(struct fuse *f, struct lock_queue_element *qe) in queue_element_wakeup()
1125 static void wake_up_queued(struct fuse *f) in wake_up_queued()
1133 static void debug_path(struct fuse *f, const char *msg, fuse_ino_t nodeid, in debug_path()
1152 static void queue_path(struct fuse *f, struct lock_queue_element *qe) in queue_path()
1163 static void dequeue_path(struct fuse *f, struct lock_queue_element *qe) in dequeue_path()
1172 static int wait_path(struct fuse *f, struct lock_queue_element *qe) in wait_path()
1185 static int get_path_common(struct fuse *f, fuse_ino_t nodeid, const char *name, in get_path_common()
1208 static int get_path(struct fuse *f, fuse_ino_t nodeid, char **path) in get_path()
1213 static int get_path_nullok(struct fuse *f, fuse_ino_t nodeid, char **path) in get_path_nullok()
1228 static int get_path_name(struct fuse *f, fuse_ino_t nodeid, const char *name, in get_path_name()
1234 static int get_path_wrlock(struct fuse *f, fuse_ino_t nodeid, const char *name, in get_path_wrlock()
1245 static int check_dir_loop(struct fuse *f, in check_dir_loop()
1283 static int get_path2(struct fuse *f, fuse_ino_t nodeid1, const char *name1, in get_path2()
1331 static void free_path_wrlock(struct fuse *f, fuse_ino_t nodeid, in free_path_wrlock()
1342 static void free_path(struct fuse *f, fuse_ino_t nodeid, char *path) in free_path()
1348 static void free_path2(struct fuse *f, fuse_ino_t nodeid1, fuse_ino_t nodeid2, in free_path2()
1361 static void forget_node(struct fuse *f, fuse_ino_t nodeid, uint64_t nlookup) in forget_node()
1399 static void unlink_node(struct fuse *f, struct node *node) in unlink_node()
1408 static void remove_node(struct fuse *f, fuse_ino_t dir, const char *name) in remove_node()
1419 static int rename_node(struct fuse *f, fuse_ino_t olddir, const char *oldname, in rename_node()
1455 static int exchange_node(struct fuse *f, fuse_ino_t olddir, const char *oldname, in exchange_node()
1486 static void set_stat(struct fuse *f, fuse_ino_t nodeid, struct stat *stbuf) in set_stat()
1499 static struct fuse *req_fuse(fuse_req_t req) in req_fuse()
1501 return (struct fuse *) fuse_req_userdata(req); in req_fuse()
1519 struct fuse *f = req_fuse(req); in fuse_interrupt()
1538 static void fuse_do_finish_interrupt(struct fuse *f, fuse_req_t req, in fuse_do_finish_interrupt()
1557 static inline void fuse_finish_interrupt(struct fuse *f, fuse_req_t req, in fuse_finish_interrupt()
1564 static inline void fuse_prepare_interrupt(struct fuse *f, fuse_req_t req, in fuse_prepare_interrupt()
2355 static int is_open(struct fuse *f, fuse_ino_t dir, const char *name) in is_open()
2367 static char *hidden_name(struct fuse *f, fuse_ino_t dir, const char *oldname, in hidden_name()
2407 static int hide_node(struct fuse *f, const char *oldpath, in hide_node()
2459 static int do_lookup(struct fuse *f, fuse_ino_t nodeid, const char *name, in do_lookup()
2481 static int lookup_path(struct fuse *f, fuse_ino_t nodeid, in lookup_path()
2504 static struct fuse_context_i *fuse_create_context(struct fuse *f) in fuse_create_context()
2522 c->ctx.fuse = f; in fuse_create_context()
2561 static struct fuse *req_fuse_prepare(fuse_req_t req) in req_fuse_prepare()
2570 return c->ctx.fuse; in req_fuse_prepare()
2583 struct fuse *f = req_fuse(req); in reply_entry()
2609 struct fuse *f = (struct fuse *) data; in fuse_lib_init()
2626 struct fuse *f = (struct fuse *) data; in fuse_lib_destroy()
2635 struct fuse *f = req_fuse_prepare(req); in fuse_lib_lookup()
2689 static void do_forget(struct fuse *f, fuse_ino_t ino, uint64_t nlookup) in do_forget()
2706 struct fuse *f = req_fuse(req); in fuse_lib_forget_multi()
2719 struct fuse *f = req_fuse_prepare(req); in fuse_lib_getattr()
2773 struct fuse *f = req_fuse_prepare(req); in fuse_lib_setattr()
2853 struct fuse *f = req_fuse_prepare(req); in fuse_lib_access()
2871 struct fuse *f = req_fuse_prepare(req); in fuse_lib_readlink()
2894 struct fuse *f = req_fuse_prepare(req); in fuse_lib_mknod()
2932 struct fuse *f = req_fuse_prepare(req); in fuse_lib_mkdir()
2954 struct fuse *f = req_fuse_prepare(req); in fuse_lib_unlink()
2993 struct fuse *f = req_fuse_prepare(req); in fuse_lib_rmdir()
3015 struct fuse *f = req_fuse_prepare(req); in fuse_lib_symlink()
3038 struct fuse *f = req_fuse_prepare(req); in fuse_lib_rename()
3075 struct fuse *f = req_fuse_prepare(req); in fuse_lib_link()
3097 static void fuse_do_release(struct fuse *f, fuse_ino_t ino, const char *path, in fuse_do_release()
3133 struct fuse *f = req_fuse_prepare(req); in fuse_lib_create()
3187 static void open_auto_cache(struct fuse *f, fuse_ino_t ino, const char *path, in open_auto_cache()
3221 struct fuse *f = req_fuse_prepare(req); in fuse_lib_open()
3267 struct fuse *f = req_fuse_prepare(req); in fuse_lib_read()
3294 struct fuse *f = req_fuse_prepare(req); in fuse_lib_write_buf()
3317 struct fuse *f = req_fuse_prepare(req); in fuse_lib_fsync()
3345 struct fuse *f = req_fuse_prepare(req); in fuse_lib_opendir()
3358 dh->fuse = f; in fuse_lib_opendir()
3446 static fuse_ino_t lookup_nodeid(struct fuse *f, fuse_ino_t parent, in lookup_nodeid()
3479 if (!dh->fuse->conf.use_ino) { in fill_dir()
3481 if (dh->fuse->conf.readdir_ino) { in fill_dir()
3483 lookup_nodeid(dh->fuse, dh->nodeid, name); in fill_dir()
3534 struct fuse *f = dh->fuse; in fill_dir_plus()
3607 static int readdir_fill(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in readdir_fill()
3695 struct fuse *f = req_fuse_prepare(req); in fuse_readdir_common()
3741 struct fuse *f = req_fuse_prepare(req); in fuse_lib_releasedir()
3766 struct fuse *f = req_fuse_prepare(req); in fuse_lib_fsyncdir()
3786 struct fuse *f = req_fuse_prepare(req); in fuse_lib_statfs()
3812 struct fuse *f = req_fuse_prepare(req); in fuse_lib_setxattr()
3827 static int common_getxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in common_getxattr()
3847 struct fuse *f = req_fuse_prepare(req); in fuse_lib_getxattr()
3871 static int common_listxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in common_listxattr()
3890 struct fuse *f = req_fuse_prepare(req); in fuse_lib_listxattr()
3917 struct fuse *f = req_fuse_prepare(req); in fuse_lib_removexattr()
4051 static int fuse_flush_common(struct fuse *f, fuse_req_t req, fuse_ino_t ino, in fuse_flush_common()
4086 struct fuse *f = req_fuse_prepare(req); in fuse_lib_release()
4109 struct fuse *f = req_fuse_prepare(req); in fuse_lib_flush()
4124 struct fuse *f = req_fuse_prepare(req); in fuse_lock_common()
4145 struct fuse *f = req_fuse(req); in fuse_lib_getlk()
4172 struct fuse *f = req_fuse(req); in fuse_lib_setlk()
4186 struct fuse *f = req_fuse_prepare(req); in fuse_lib_flock()
4204 struct fuse *f = req_fuse_prepare(req); in fuse_lib_bmap()
4227 struct fuse *f = req_fuse_prepare(req); in fuse_lib_ioctl()
4278 struct fuse *f = req_fuse_prepare(req); in fuse_lib_poll()
4300 struct fuse *f = req_fuse_prepare(req); in fuse_lib_fallocate()
4321 struct fuse *f = req_fuse_prepare(req); in fuse_lib_copy_file_range()
4357 struct fuse *f = req_fuse_prepare(req); in fuse_lib_lseek()
4379 static int clean_delay(struct fuse *f) in clean_delay()
4397 int fuse_clean_cache(struct fuse *f) in fuse_clean_cache()
4484 struct fuse_session *fuse_get_session(struct fuse *f) in fuse_get_session()
4489 static int fuse_session_loop_remember(struct fuse *f) in fuse_session_loop_remember()
4541 int fuse_loop(struct fuse *f) in fuse_loop()
4553 int fuse_loop_mt_312(struct fuse *f, struct fuse_loop_config *config) in fuse_loop_mt_312()
4567 int fuse_loop_mt_32(struct fuse *f, struct fuse_loop_config_v1 *config_v1);
4569 int fuse_loop_mt_32(struct fuse *f, struct fuse_loop_config_v1 *config_v1) in fuse_loop_mt_32()
4584 int fuse_loop_mt_31(struct fuse *f, int clone_fd);
4586 int fuse_loop_mt_31(struct fuse *f, int clone_fd) in fuse_loop_mt_31()
4603 void fuse_exit(struct fuse *f) in fuse_exit()
4637 int fuse_invalidate_path(struct fuse *f, const char *path) { in fuse_invalidate_path()
4795 static int fuse_push_module(struct fuse *f, const char *module, in fuse_push_module()
4850 static void *fuse_prune_nodes(void *fuse) in fuse_prune_nodes() argument
4852 struct fuse *f = fuse; in fuse_prune_nodes()
4862 int fuse_start_cleanup_thread(struct fuse *f) in fuse_start_cleanup_thread()
4870 void fuse_stop_cleanup_thread(struct fuse *f) in fuse_stop_cleanup_thread()
4882 struct fuse *fuse_new_31(struct fuse_args *args, in fuse_new_31()
4886 struct fuse *f; in fuse_new_31()
4891 f = (struct fuse *) calloc(1, sizeof(struct fuse)); in fuse_new_31()
5031 struct fuse *fuse_new_30(struct fuse_args *args, const struct fuse_operations *op,
5034 struct fuse *fuse_new_30(struct fuse_args *args, in fuse_new_30()
5059 void fuse_destroy(struct fuse *f) in fuse_destroy()
5110 int fuse_mount(struct fuse *f, const char *mountpoint) { in fuse_mount()
5115 void fuse_unmount(struct fuse *f) { in fuse_unmount()