Lines Matching refs:path

138 fuse_getattr(const char* path, struct stat* stbuf)
142 fssh_status_t status = _kern_read_stat(-1, path, false, &f_stbuf,
152 fuse_access(const char* path, int mask)
155 return _ERR(_kern_access(path, mask));
160 fuse_readlink(const char* path, char* buffer, size_t size)
164 fssh_status_t st = _kern_read_link(-1, path, buffer, &n_size);
172 fuse_readdir(const char* path, void* buf, fuse_fill_dir_t filler,
176 int dfp = _kern_open_dir(-1, path);
204 fuse_mknod(const char* path, mode_t mode, dev_t rdev)
208 int fd = _kern_open(-1, path,
221 fuse_mkdir(const char* path, mode_t mode)
224 return _ERR(_kern_create_dir(-1, path, mode));
238 fuse_unlink(const char* path)
241 return _ERR(_kern_unlink(-1, path));
246 fuse_rmdir(const char* path)
249 return _ERR(_kern_remove_dir(-1, path));
270 fuse_chmod(const char* path, mode_t mode)
275 return _ERR(_kern_write_stat(-1, path, false, &st, sizeof(st),
281 fuse_chown(const char* path, uid_t uid, gid_t gid)
287 return _ERR(_kern_write_stat(-1, path, false, &st, sizeof(st),
293 fuse_open(const char* path, struct fuse_file_info* fi)
297 // takes only two args: path and flags with no mask/perms?
298 int fd = _kern_open(-1, path, fi->flags,
309 fuse_read(const char* path, char* buf, size_t size, off_t offset,
313 int fd = _kern_open(-1, path, FSSH_O_RDONLY,
327 fuse_write(const char* path, const char* buf, size_t size, off_t offset,
331 int fd = _kern_open(-1, path, FSSH_O_WRONLY,
345 fuse_truncate(const char *path, off_t off)
351 fssh_status_t res = _kern_write_stat(-1, path, true, &st, sizeof(st), FSSH_B_STAT_SIZE);
378 fuse_statfs(const char *path __attribute__((unused)),
591 // don't pass the device path to fuse_main()