Lines Matching refs:file
26 static int hfsplus_ioctl_bless(struct file *file, int __user *user_flags) in hfsplus_ioctl_bless() argument
28 struct dentry *dentry = file->f_path.dentry; in hfsplus_ioctl_bless()
59 static int hfsplus_ioctl_getflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_getflags() argument
61 struct inode *inode = file_inode(file); in hfsplus_ioctl_getflags()
75 static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags) in hfsplus_ioctl_setflags() argument
77 struct inode *inode = file_inode(file); in hfsplus_ioctl_setflags()
82 err = mnt_want_write_file(file); in hfsplus_ioctl_setflags()
131 mnt_drop_write_file(file); in hfsplus_ioctl_setflags()
136 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in hfsplus_ioctl() argument
142 return hfsplus_ioctl_getflags(file, argp); in hfsplus_ioctl()
144 return hfsplus_ioctl_setflags(file, argp); in hfsplus_ioctl()
146 return hfsplus_ioctl_bless(file, argp); in hfsplus_ioctl()