Lines Matching defs:path

71 static int xmp_getattr(const char *path, struct stat *stbuf,
76 (void) path;
81 res = lstat(path, stbuf);
88 static int xmp_access(const char *path, int mask)
92 res = access(path, mask);
99 static int xmp_readlink(const char *path, char *buf, size_t size)
103 res = readlink(path, buf, size - 1);
117 static int xmp_opendir(const char *path, struct fuse_file_info *fi)
124 d->dp = opendir(path);
142 static int xmp_readdir(const char *path, void *buf, fuse_fill_dir_t filler,
148 (void) path;
203 static int xmp_releasedir(const char *path, struct fuse_file_info *fi)
206 (void) path;
212 static int xmp_mknod(const char *path, mode_t mode, dev_t rdev)
217 res = mkfifo(path, mode);
219 res = mknod(path, mode, rdev);
226 static int xmp_mkdir(const char *path, mode_t mode)
230 res = mkdir(path, mode);
237 static int xmp_unlink(const char *path)
241 res = unlink(path);
248 static int xmp_rmdir(const char *path)
252 res = rmdir(path);
296 static int xmp_chmod(const char *path, mode_t mode,
304 res = chmod(path, mode);
311 static int xmp_chown(const char *path, uid_t uid, gid_t gid,
319 res = lchown(path, uid, gid);
326 static int xmp_truncate(const char *path, off_t size,
334 res = truncate(path, size);
343 static int xmp_utimens(const char *path, const struct timespec ts[2],
352 res = utimensat(0, path, ts, AT_SYMLINK_NOFOLLOW);
360 static int xmp_create(const char *path, mode_t mode, struct fuse_file_info *fi)
364 fd = open(path, fi->flags, mode);
372 static int xmp_open(const char *path, struct fuse_file_info *fi)
376 fd = open(path, fi->flags);
384 static int xmp_read(const char *path, char *buf, size_t size, off_t offset,
389 (void) path;
397 static int xmp_read_buf(const char *path, struct fuse_bufvec **bufp,
402 (void) path;
419 static int xmp_write(const char *path, const char *buf, size_t size,
424 (void) path;
432 static int xmp_write_buf(const char *path, struct fuse_bufvec *buf,
437 (void) path;
446 static int xmp_statfs(const char *path, struct statvfs *stbuf)
450 res = statvfs(path, stbuf);
457 static int xmp_flush(const char *path, struct fuse_file_info *fi)
461 (void) path;
474 static int xmp_release(const char *path, struct fuse_file_info *fi)
476 (void) path;
482 static int xmp_fsync(const char *path, int isdatasync,
486 (void) path;
503 static int xmp_fallocate(const char *path, int mode,
506 (void) path;
517 static int xmp_setxattr(const char *path, const char *name, const char *value,
520 int res = lsetxattr(path, name, value, size, flags);
526 static int xmp_getxattr(const char *path, const char *name, char *value,
529 int res = lgetxattr(path, name, value, size);
535 static int xmp_listxattr(const char *path, char *list, size_t size)
537 int res = llistxattr(path, list, size);
543 static int xmp_removexattr(const char *path, const char *name)
545 int res = lremovexattr(path, name);
553 static int xmp_lock(const char *path, struct fuse_file_info *fi, int cmd,
556 (void) path;
563 static int xmp_flock(const char *path, struct fuse_file_info *fi, int op)
566 (void) path;
595 static off_t xmp_lseek(const char *path, off_t off, int whence, struct fuse_file_info *fi)
598 (void) path;