Lines Matching defs:path
55 static int fsel_path_index(const char *path)
57 char ch = path[1];
59 if (strlen(path) != 2 || path[0] != '/' || !isxdigit(ch) || islower(ch))
64 static int fsel_getattr(const char *path, struct stat *stbuf,
72 if (strcmp(path, "/") == 0) {
78 idx = fsel_path_index(path);
88 static int fsel_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
99 if (strcmp(path, "/") != 0)
110 static int fsel_open(const char *path, struct fuse_file_info *fi)
112 int idx = fsel_path_index(path);
134 static int fsel_release(const char *path, struct fuse_file_info *fi)
138 (void) path;
144 static int fsel_read(const char *path, char *buf, size_t size, off_t offset,
149 (void) path;
163 static int fsel_poll(const char *path, struct fuse_file_info *fi,
169 (void) path;