Lines Matching defs:mode
2004 int fuse_fs_create(struct fuse_fs *fs, const char *path, mode_t mode,
2014 fi->flags, path, mode,
2017 err = fs->op.create(path, mode, fi);
2155 int fuse_fs_mknod(struct fuse_fs *fs, const char *path, mode_t mode,
2162 path, mode, (unsigned long long) rdev,
2165 return fs->op.mknod(path, mode, rdev);
2171 int fuse_fs_mkdir(struct fuse_fs *fs, const char *path, mode_t mode)
2177 path, mode, fuse_get_context()->umask);
2179 return fs->op.mkdir(path, mode);
2298 int fuse_fs_fallocate(struct fuse_fs *fs, const char *path, int mode,
2304 fuse_log(FUSE_LOG_DEBUG, "fallocate %s mode %x, offset: %llu, length: %llu\n",
2306 mode,
2310 return fs->op.fallocate(path, mode, offset, length, fi);
2753 int fuse_fs_chmod(struct fuse_fs *fs, const char *path, mode_t mode,
2762 path, (unsigned long long) mode);
2764 return fs->op.chmod(path, mode, fi);
2892 mode_t mode, dev_t rdev)
2905 if (S_ISREG(mode)) {
2910 err = fuse_fs_create(f->fs, path, mode, &fi);
2918 err = fuse_fs_mknod(f->fs, path, mode, rdev);
2930 mode_t mode)
2942 err = fuse_fs_mkdir(f->fs, path, mode);
3130 const char *name, mode_t mode,
3142 err = fuse_fs_create(f->fs, path, mode, fi);
4297 static void fuse_lib_fallocate(fuse_req_t req, fuse_ino_t ino, int mode,
4308 err = fuse_fs_fallocate(f->fs, path, mode, offset, length, fi);