Lines Matching refs:ff
150 struct fuse_file *ff = file->private_data; in fuse_do_ioctl() local
151 struct fuse_mount *fm = ff->fm; in fuse_do_ioctl()
153 .fh = ff->fh, in fuse_do_ioctl()
237 ap.args.nodeid = ff->nodeid; in fuse_do_ioctl()
359 static int fuse_priv_ioctl(struct inode *inode, struct fuse_file *ff, in fuse_priv_ioctl() argument
362 struct fuse_mount *fm = ff->fm; in fuse_priv_ioctl()
369 inarg.fh = ff->fh; in fuse_priv_ioctl()
384 args.nodeid = ff->nodeid; in fuse_priv_ioctl()
414 static void fuse_priv_ioctl_cleanup(struct inode *inode, struct fuse_file *ff) in fuse_priv_ioctl_cleanup() argument
416 fuse_file_release(inode, ff, O_RDONLY, NULL, S_ISDIR(inode->i_mode)); in fuse_priv_ioctl_cleanup()
422 struct fuse_file *ff; in fuse_fileattr_get() local
427 ff = fuse_priv_ioctl_prepare(inode); in fuse_fileattr_get()
428 if (IS_ERR(ff)) in fuse_fileattr_get()
429 return PTR_ERR(ff); in fuse_fileattr_get()
432 err = fuse_priv_ioctl(inode, ff, FS_IOC_GETFLAGS, in fuse_fileattr_get()
439 err = fuse_priv_ioctl(inode, ff, FS_IOC_FSGETXATTR, in fuse_fileattr_get()
451 fuse_priv_ioctl_cleanup(inode, ff); in fuse_fileattr_get()
460 struct fuse_file *ff; in fuse_fileattr_set() local
465 ff = fuse_priv_ioctl_prepare(inode); in fuse_fileattr_set()
466 if (IS_ERR(ff)) in fuse_fileattr_set()
467 return PTR_ERR(ff); in fuse_fileattr_set()
470 err = fuse_priv_ioctl(inode, ff, FS_IOC_SETFLAGS, in fuse_fileattr_set()
482 err = fuse_priv_ioctl(inode, ff, FS_IOC_FSSETXATTR, in fuse_fileattr_set()
487 fuse_priv_ioctl_cleanup(inode, ff); in fuse_fileattr_set()