Lines Matching refs:path
76 static int xmp_getattr(const char *path, struct stat *stbuf,
82 res = lstat(path, stbuf);
89 static int xmp_access(const char *path, int mask)
93 res = access(path, mask);
100 static int xmp_readlink(const char *path, char *buf, size_t size)
104 res = readlink(path, buf, size - 1);
113 static int xmp_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
124 dp = opendir(path);
141 static int xmp_mknod(const char *path, mode_t mode, dev_t rdev)
145 res = mknod_wrapper(AT_FDCWD, path, NULL, mode, rdev);
152 static int xmp_mkdir(const char *path, mode_t mode)
156 res = mkdir(path, mode);
163 static int xmp_unlink(const char *path)
167 res = unlink(path);
174 static int xmp_rmdir(const char *path)
178 res = rmdir(path);
221 static int xmp_chmod(const char *path, mode_t mode,
227 res = chmod(path, mode);
234 static int xmp_chown(const char *path, uid_t uid, gid_t gid,
240 res = lchown(path, uid, gid);
247 static int xmp_truncate(const char *path, off_t size,
255 res = truncate(path, size);
263 static int xmp_utimens(const char *path, const struct timespec ts[2],
270 res = utimensat(0, path, ts, AT_SYMLINK_NOFOLLOW);
278 static int xmp_create(const char *path, mode_t mode,
283 res = open(path, fi->flags, mode);
291 static int xmp_open(const char *path, struct fuse_file_info *fi)
295 res = open(path, fi->flags);
303 static int xmp_read(const char *path, char *buf, size_t size, off_t offset,
310 fd = open(path, O_RDONLY);
326 static int xmp_write(const char *path, const char *buf, size_t size,
334 fd = open(path, O_WRONLY);
350 static int xmp_statfs(const char *path, struct statvfs *stbuf)
354 res = statvfs(path, stbuf);
361 static int xmp_release(const char *path, struct fuse_file_info *fi)
363 (void) path;
368 static int xmp_fsync(const char *path, int isdatasync,
374 (void) path;
381 static int xmp_fallocate(const char *path, int mode,
393 fd = open(path, O_WRONLY);
410 static int xmp_setxattr(const char *path, const char *name, const char *value,
413 int res = lsetxattr(path, name, value, size, flags);
419 static int xmp_getxattr(const char *path, const char *name, char *value,
422 int res = lgetxattr(path, name, value, size);
428 static int xmp_listxattr(const char *path, char *list, size_t size)
430 int res = llistxattr(path, list, size);
436 static int xmp_removexattr(const char *path, const char *name)
438 int res = lremovexattr(path, name);
487 static off_t xmp_lseek(const char *path, off_t off, int whence, struct fuse_file_info *fi)
493 fd = open(path, O_RDONLY);