• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/

Lines Matching defs:fuse

64 struct fuse {
105 struct fuse *fuse;
127 static struct node *get_node_nocheck(struct fuse *f, fuse_ino_t nodeid)
139 static struct node *get_node(struct fuse *f, fuse_ino_t nodeid)
143 fprintf(stderr, "fuse internal error: node %llu not found\n",
156 static void unhash_id(struct fuse *f, struct node *node)
168 static void hash_id(struct fuse *f, struct node *node)
175 static unsigned int name_hash(struct fuse *f, fuse_ino_t parent,
187 static void unref_node(struct fuse *f, struct node *node);
189 static void unhash_name(struct fuse *f, struct node *node)
205 fprintf(stderr, "fuse internal error: unable to unhash node: %llu\n",
211 static int hash_name(struct fuse *f, struct node *node, fuse_ino_t parentid,
227 static void delete_node(struct fuse *f, struct node *node)
237 static void unref_node(struct fuse *f, struct node *node)
245 static fuse_ino_t next_id(struct fuse *f)
256 static struct node *lookup_node(struct fuse *f, fuse_ino_t parent,
269 static struct node *find_node(struct fuse *f, fuse_ino_t parent,
332 static char *get_path_name(struct fuse *f, fuse_ino_t nodeid, const char *name)
380 static char *get_path(struct fuse *f, fuse_ino_t nodeid)
385 static void forget_node(struct fuse *f, fuse_ino_t nodeid, uint64_t nlookup)
401 static void remove_node(struct fuse *f, fuse_ino_t dir, const char *name)
412 static int rename_node(struct fuse *f, fuse_ino_t olddir, const char *oldname,
427 fprintf(stderr, "fuse: hidden file got created during hiding\n");
448 static void set_stat(struct fuse *f, fuse_ino_t nodeid, struct stat *stbuf)
460 static struct fuse *req_fuse(fuse_req_t req)
462 return (struct fuse *) fuse_req_userdata(req);
480 struct fuse *f = req_fuse(req);
499 static void fuse_do_finish_interrupt(struct fuse *f, fuse_req_t req,
518 static void fuse_finish_interrupt(struct fuse *f, fuse_req_t req,
525 static void fuse_prepare_interrupt(struct fuse *f, fuse_req_t req,
864 static int is_open(struct fuse *f, fuse_ino_t dir, const char *name)
876 static char *hidden_name(struct fuse *f, fuse_ino_t dir, const char *oldname,
915 static int hide_node(struct fuse *f, const char *oldpath,
932 static int lookup_path(struct fuse *f, fuse_ino_t nodeid,
973 fprintf(stderr, "fuse: failed to allocate thread specific data\n");
993 fprintf(stderr, "fuse: failed to create thread specific key: %s\n",
1015 static struct fuse *req_fuse_prepare(fuse_req_t req)
1020 c->ctx.fuse = req_fuse(req);
1024 return c->ctx.fuse;
1037 struct fuse *f = req_fuse(req);
1053 struct fuse *f = (struct fuse *) data;
1057 c->ctx.fuse = f;
1071 struct fuse *f = (struct fuse *) data;
1075 c->ctx.fuse = f;
1083 struct fuse *f = req_fuse_prepare(req);
1112 struct fuse *f = req_fuse(req);
1122 struct fuse *f = req_fuse_prepare(req);
1160 struct fuse *f = req_fuse_prepare(req);
1211 struct fuse *f = req_fuse_prepare(req);
1233 struct fuse *f = req_fuse_prepare(req);
1259 struct fuse *f = req_fuse_prepare(req);
1299 struct fuse *f = req_fuse_prepare(req);
1325 struct fuse *f = req_fuse_prepare(req);
1353 struct fuse *f = req_fuse_prepare(req);
1378 struct fuse *f = req_fuse_prepare(req);
1405 struct fuse *f = req_fuse_prepare(req);
1440 struct fuse *f = req_fuse_prepare(req);
1468 static void fuse_do_release(struct fuse *f, fuse_ino_t ino, const char *path,
1494 struct fuse *f = req_fuse_prepare(req);
1550 struct fuse *f = req_fuse_prepare(req);
1593 struct fuse *f = req_fuse_prepare(req);
1634 fprintf(stderr, "fuse: read too many bytes");
1645 struct fuse *f = req_fuse_prepare(req);
1681 fprintf(stderr, "fuse: wrote too many bytes");
1690 struct fuse *f = req_fuse_prepare(req);
1723 struct fuse *f = req_fuse_prepare(req);
1736 dh->fuse = f;
1814 if (!dh->fuse->conf.use_ino) {
1816 if (dh->fuse->conf.readdir_ino) {
1818 pthread_mutex_lock(&dh->fuse->lock);
1819 node = lookup_node(dh->fuse, dh->nodeid, name);
1822 pthread_mutex_unlock(&dh->fuse->lock);
1848 static int readdir_fill(struct fuse *f, fuse_req_t req, fuse_ino_t ino,
1881 struct fuse *f = req_fuse_prepare(req);
1916 struct fuse *f = req_fuse_prepare(req);
1941 struct fuse *f = req_fuse_prepare(req);
1964 struct fuse *f = req_fuse_prepare(req);
1996 struct fuse *f = req_fuse_prepare(req);
2014 static int common_getxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino,
2037 struct fuse *f = req_fuse_prepare(req);
2061 static int common_listxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino,
2083 struct fuse *f = req_fuse_prepare(req);
2110 struct fuse *f = req_fuse_prepare(req);
2244 static int fuse_flush_common(struct fuse *f, fuse_req_t req, fuse_ino_t ino,
2278 struct fuse *f = req_fuse_prepare(req);
2308 struct fuse *f = req_fuse_prepare(req);
2326 struct fuse *f = req_fuse_prepare(req);
2350 struct fuse *f = req_fuse(req);
2376 struct fuse *f = req_fuse(req);
2390 struct fuse *f = req_fuse_prepare(req);
2448 struct fuse_session *fuse_get_session(struct fuse *f)
2453 int fuse_loop(struct fuse *f)
2461 void fuse_exit(struct fuse *f)
2549 perror("fuse: cannot get old signal handler");
2561 perror("fuse: cannot set interrupt signal handler");
2584 fprintf(stderr, "fuse: warning: library too old, some operations may not not work\n");
2590 fprintf(stderr, "fuse: failed to allocate fuse_fs object\n");
2600 struct fuse *fuse_new(struct fuse_chan *ch, struct fuse_args *args,
2604 struct fuse *f;
2612 f = (struct fuse *) calloc(1, sizeof(struct fuse));
2614 fprintf(stderr, "fuse: failed to allocate fuse object\n");
2663 fprintf(stderr, "fuse: memory allocation failed\n");
2671 fprintf(stderr, "fuse: memory allocation failed\n");
2680 fprintf(stderr, "fuse: memory allocation failed\n");
2686 fprintf(stderr, "fuse: memory allocation failed\n");
2726 void fuse_destroy(struct fuse *f)
2737 c->ctx.fuse = f;