Lines Matching defs:file
25 * the platform firmware which file to boot from
27 static int hfsplus_ioctl_bless(struct file *file, int __user *user_flags)
29 struct dentry *dentry = file->f_path.dentry;
47 * hard links - the firmware wants the ID of the hard link file,
74 static int hfsplus_ioctl_getflags(struct file *file, int __user *user_flags)
76 struct inode *inode = file_inode(file);
82 static int hfsplus_ioctl_setflags(struct file *file, int __user *user_flags)
84 struct inode *inode = file_inode(file);
90 err = mnt_want_write_file(file);
135 mnt_drop_write_file(file);
140 long hfsplus_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
146 return hfsplus_ioctl_getflags(file, argp);
148 return hfsplus_ioctl_setflags(file, argp);
150 return hfsplus_ioctl_bless(file, argp);