• Home
  • Raw
  • Download

Lines Matching refs:argp

102 static int nilfs_ioctl_getflags(struct inode *inode, void __user *argp)  in nilfs_ioctl_getflags()  argument
106 return put_user(flags, (int __user *)argp); in nilfs_ioctl_getflags()
110 void __user *argp) in nilfs_ioctl_setflags() argument
119 if (get_user(flags, (int __user *)argp)) in nilfs_ioctl_setflags()
161 static int nilfs_ioctl_getversion(struct inode *inode, void __user *argp) in nilfs_ioctl_getversion() argument
163 return put_user(inode->i_generation, (int __user *)argp); in nilfs_ioctl_getversion()
167 unsigned int cmd, void __user *argp) in nilfs_ioctl_change_cpmode() argument
182 if (copy_from_user(&cpmode, argp, sizeof(cpmode))) in nilfs_ioctl_change_cpmode()
203 unsigned int cmd, void __user *argp) in nilfs_ioctl_delete_checkpoint() argument
218 if (copy_from_user(&cno, argp, sizeof(cno))) in nilfs_ioctl_delete_checkpoint()
246 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_cpstat() argument
258 if (copy_to_user(argp, &cpstat, sizeof(cpstat))) in nilfs_ioctl_get_cpstat()
277 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_sustat() argument
289 if (copy_to_user(argp, &sustat, sizeof(sustat))) in nilfs_ioctl_get_sustat()
333 unsigned int cmd, void __user *argp) in nilfs_ioctl_get_bdescs() argument
339 if (copy_from_user(&argv, argp, sizeof(argv))) in nilfs_ioctl_get_bdescs()
350 if (copy_to_user(argp, &argv, sizeof(argv))) in nilfs_ioctl_get_bdescs()
575 unsigned int cmd, void __user *argp) in nilfs_ioctl_clean_segments() argument
599 if (copy_from_user(argv, argp, sizeof(argv))) in nilfs_ioctl_clean_segments()
688 unsigned int cmd, void __user *argp) in nilfs_ioctl_sync() argument
698 if (argp != NULL) { in nilfs_ioctl_sync()
703 if (copy_to_user(argp, &cno, sizeof(cno))) in nilfs_ioctl_sync()
710 void __user *argp) in nilfs_ioctl_resize() argument
723 if (copy_from_user(&newsize, argp, sizeof(newsize))) in nilfs_ioctl_resize()
734 static int nilfs_ioctl_set_alloc_range(struct inode *inode, void __user *argp) in nilfs_ioctl_set_alloc_range() argument
746 if (copy_from_user(range, argp, sizeof(__u64[2]))) in nilfs_ioctl_set_alloc_range()
767 unsigned int cmd, void __user *argp, in nilfs_ioctl_get_info() argument
778 if (copy_from_user(&argv, argp, sizeof(argv))) in nilfs_ioctl_get_info()
788 if (copy_to_user(argp, &argv, sizeof(argv))) in nilfs_ioctl_get_info()
796 void __user *argp = (void __user *)arg; in nilfs_ioctl() local
800 return nilfs_ioctl_getflags(inode, argp); in nilfs_ioctl()
802 return nilfs_ioctl_setflags(inode, filp, argp); in nilfs_ioctl()
804 return nilfs_ioctl_getversion(inode, argp); in nilfs_ioctl()
806 return nilfs_ioctl_change_cpmode(inode, filp, cmd, argp); in nilfs_ioctl()
808 return nilfs_ioctl_delete_checkpoint(inode, filp, cmd, argp); in nilfs_ioctl()
810 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
814 return nilfs_ioctl_get_cpstat(inode, filp, cmd, argp); in nilfs_ioctl()
816 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
820 return nilfs_ioctl_get_sustat(inode, filp, cmd, argp); in nilfs_ioctl()
822 return nilfs_ioctl_get_info(inode, filp, cmd, argp, in nilfs_ioctl()
826 return nilfs_ioctl_get_bdescs(inode, filp, cmd, argp); in nilfs_ioctl()
828 return nilfs_ioctl_clean_segments(inode, filp, cmd, argp); in nilfs_ioctl()
830 return nilfs_ioctl_sync(inode, filp, cmd, argp); in nilfs_ioctl()
832 return nilfs_ioctl_resize(inode, filp, argp); in nilfs_ioctl()
834 return nilfs_ioctl_set_alloc_range(inode, argp); in nilfs_ioctl()