Lines Matching refs:filp
128 static int nilfs_ioctl_setflags(struct inode *inode, struct file *filp, in nilfs_ioctl_setflags() argument
141 ret = mnt_want_write_file(filp); in nilfs_ioctl_setflags()
176 mnt_drop_write_file(filp); in nilfs_ioctl_setflags()
207 static int nilfs_ioctl_change_cpmode(struct inode *inode, struct file *filp, in nilfs_ioctl_change_cpmode() argument
218 ret = mnt_want_write_file(filp); in nilfs_ioctl_change_cpmode()
238 mnt_drop_write_file(filp); in nilfs_ioctl_change_cpmode()
262 nilfs_ioctl_delete_checkpoint(struct inode *inode, struct file *filp, in nilfs_ioctl_delete_checkpoint() argument
273 ret = mnt_want_write_file(filp); in nilfs_ioctl_delete_checkpoint()
288 mnt_drop_write_file(filp); in nilfs_ioctl_delete_checkpoint()
341 static int nilfs_ioctl_get_cpstat(struct inode *inode, struct file *filp, in nilfs_ioctl_get_cpstat() argument
408 static int nilfs_ioctl_get_sustat(struct inode *inode, struct file *filp, in nilfs_ioctl_get_sustat() argument
517 static int nilfs_ioctl_get_bdescs(struct inode *inode, struct file *filp, in nilfs_ioctl_get_bdescs() argument
864 static int nilfs_ioctl_clean_segments(struct inode *inode, struct file *filp, in nilfs_ioctl_clean_segments() argument
884 ret = mnt_want_write_file(filp); in nilfs_ioctl_clean_segments()
972 mnt_drop_write_file(filp); in nilfs_ioctl_clean_segments()
1003 static int nilfs_ioctl_sync(struct inode *inode, struct file *filp, in nilfs_ioctl_sync() argument
1037 static int nilfs_ioctl_resize(struct inode *inode, struct file *filp, in nilfs_ioctl_resize() argument
1046 ret = mnt_want_write_file(filp); in nilfs_ioctl_resize()
1057 mnt_drop_write_file(filp); in nilfs_ioctl_resize()
1176 static int nilfs_ioctl_get_info(struct inode *inode, struct file *filp, in nilfs_ioctl_get_info() argument
1227 static int nilfs_ioctl_set_suinfo(struct inode *inode, struct file *filp, in nilfs_ioctl_set_suinfo() argument
1241 ret = mnt_want_write_file(filp); in nilfs_ioctl_set_suinfo()
1288 mnt_drop_write_file(filp); in nilfs_ioctl_set_suinfo()
1292 long nilfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in nilfs_ioctl() argument
1294 struct inode *inode = file_inode(filp); in nilfs_ioctl()
1301 return nilfs_ioctl_setflags(inode, filp, argp); in nilfs_ioctl()
1305 return nilfs_ioctl_change_cpmode(inode, filp, cmd, argp); in nilfs_ioctl()
1307 return nilfs_ioctl_delete_checkpoint(inode, filp, cmd, argp); in nilfs_ioctl()
1309 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
1313 return nilfs_ioctl_get_cpstat(inode, filp, cmd, argp); in nilfs_ioctl()
1315 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
1319 return nilfs_ioctl_set_suinfo(inode, filp, cmd, argp); in nilfs_ioctl()
1321 return nilfs_ioctl_get_sustat(inode, filp, cmd, argp); in nilfs_ioctl()
1323 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
1327 return nilfs_ioctl_get_bdescs(inode, filp, cmd, argp); in nilfs_ioctl()
1329 return nilfs_ioctl_clean_segments(inode, filp, cmd, argp); in nilfs_ioctl()
1331 return nilfs_ioctl_sync(inode, filp, cmd, argp); in nilfs_ioctl()
1333 return nilfs_ioctl_resize(inode, filp, argp); in nilfs_ioctl()
1344 long nilfs_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in nilfs_compat_ioctl() argument
1373 return nilfs_ioctl(filp, cmd, (unsigned long)compat_ptr(arg)); in nilfs_compat_ioctl()