Lines Matching defs:file
3 * This file is part of UBIFS.
13 /* This file implements EXT2-compatible extended attribute ioctl() calls */
142 long ubifs_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
145 struct inode *inode = file_inode(file);
172 * Make sure the file-system is read-write and make sure it
175 err = mnt_want_write_file(file);
180 mnt_drop_write_file(file);
190 return fscrypt_ioctl_set_policy(file, (const void __user *)arg);
193 return fscrypt_ioctl_get_policy(file, (void __user *)arg);
196 return fscrypt_ioctl_get_policy_ex(file, (void __user *)arg);
199 return fscrypt_ioctl_add_key(file, (void __user *)arg);
202 return fscrypt_ioctl_remove_key(file, (void __user *)arg);
205 return fscrypt_ioctl_remove_key_all_users(file,
208 return fscrypt_ioctl_get_key_status(file, (void __user *)arg);
211 return fscrypt_ioctl_get_nonce(file, (void __user *)arg);
219 long ubifs_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
240 return ubifs_ioctl(file, cmd, (unsigned long)compat_ptr(arg));