• Home
  • Raw
  • Download

Lines Matching refs:argp

118 static int nilfs_ioctl_getflags(struct inode *inode, void __user *argp)  in nilfs_ioctl_getflags()  argument
122 return put_user(flags, (int __user *)argp); in nilfs_ioctl_getflags()
129 void __user *argp) in nilfs_ioctl_setflags() argument
138 if (get_user(flags, (int __user *)argp)) in nilfs_ioctl_setflags()
178 static int nilfs_ioctl_getversion(struct inode *inode, void __user *argp) in nilfs_ioctl_getversion() argument
180 return put_user(inode->i_generation, (int __user *)argp); in nilfs_ioctl_getversion()
203 unsigned int cmd, void __user *argp) in nilfs_ioctl_change_cpmode() argument
218 if (copy_from_user(&cpmode, argp, sizeof(cpmode))) in nilfs_ioctl_change_cpmode()
258 unsigned int cmd, void __user *argp) in nilfs_ioctl_delete_checkpoint() argument
273 if (copy_from_user(&cno, argp, sizeof(cno))) in nilfs_ioctl_delete_checkpoint()
337 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_cpstat() argument
349 if (copy_to_user(argp, &cpstat, sizeof(cpstat))) in nilfs_ioctl_get_cpstat()
404 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_sustat() argument
416 if (copy_to_user(argp, &sustat, sizeof(sustat))) in nilfs_ioctl_get_sustat()
513 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_bdescs() argument
519 if (copy_from_user(&argv, argp, sizeof(argv))) in nilfs_ioctl_get_bdescs()
530 if (copy_to_user(argp, &argv, sizeof(argv))) in nilfs_ioctl_get_bdescs()
859 unsigned int cmd, void __user *argp) in nilfs_ioctl_clean_segments() argument
883 if (copy_from_user(argv, argp, sizeof(argv))) in nilfs_ioctl_clean_segments()
998 unsigned int cmd, void __user *argp) in nilfs_ioctl_sync() argument
1013 if (argp != NULL) { in nilfs_ioctl_sync()
1017 if (copy_to_user(argp, &cno, sizeof(cno))) in nilfs_ioctl_sync()
1032 void __user *argp) in nilfs_ioctl_resize() argument
1045 if (copy_from_user(&newsize, argp, sizeof(newsize))) in nilfs_ioctl_resize()
1067 static int nilfs_ioctl_trim_fs(struct inode *inode, void __user *argp) in nilfs_ioctl_trim_fs() argument
1080 if (copy_from_user(&range, argp, sizeof(range))) in nilfs_ioctl_trim_fs()
1092 if (copy_to_user(argp, &range, sizeof(range))) in nilfs_ioctl_trim_fs()
1109 static int nilfs_ioctl_set_alloc_range(struct inode *inode, void __user *argp) in nilfs_ioctl_set_alloc_range() argument
1121 if (copy_from_user(range, argp, sizeof(__u64[2]))) in nilfs_ioctl_set_alloc_range()
1171 unsigned int cmd, void __user *argp, in nilfs_ioctl_get_info() argument
1182 if (copy_from_user(&argv, argp, sizeof(argv))) in nilfs_ioctl_get_info()
1192 if (copy_to_user(argp, &argv, sizeof(argv))) in nilfs_ioctl_get_info()
1222 unsigned int cmd, void __user *argp) in nilfs_ioctl_set_suinfo() argument
1240 if (copy_from_user(&argv, argp, sizeof(argv))) in nilfs_ioctl_set_suinfo()
1289 void __user *argp = (void __user *)arg; in nilfs_ioctl() local
1293 return nilfs_ioctl_getflags(inode, argp); in nilfs_ioctl()
1295 return nilfs_ioctl_setflags(inode, filp, argp); in nilfs_ioctl()
1297 return nilfs_ioctl_getversion(inode, argp); in nilfs_ioctl()
1299 return nilfs_ioctl_change_cpmode(inode, filp, cmd, argp); in nilfs_ioctl()
1301 return nilfs_ioctl_delete_checkpoint(inode, filp, cmd, argp); in nilfs_ioctl()
1303 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
1307 return nilfs_ioctl_get_cpstat(inode, filp, cmd, argp); in nilfs_ioctl()
1309 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
1313 return nilfs_ioctl_set_suinfo(inode, filp, cmd, argp); in nilfs_ioctl()
1315 return nilfs_ioctl_get_sustat(inode, filp, cmd, argp); in nilfs_ioctl()
1317 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
1321 return nilfs_ioctl_get_bdescs(inode, filp, cmd, argp); in nilfs_ioctl()
1323 return nilfs_ioctl_clean_segments(inode, filp, cmd, argp); in nilfs_ioctl()
1325 return nilfs_ioctl_sync(inode, filp, cmd, argp); in nilfs_ioctl()
1327 return nilfs_ioctl_resize(inode, filp, argp); in nilfs_ioctl()
1329 return nilfs_ioctl_set_alloc_range(inode, argp); in nilfs_ioctl()
1331 return nilfs_ioctl_trim_fs(inode, argp); in nilfs_ioctl()