Lines Matching refs:arg
205 long ext4_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in ext4_ioctl() argument
212 ext4_debug("cmd = %u, arg = %lu\n", cmd, arg); in ext4_ioctl()
218 return put_user(flags, (int __user *) arg); in ext4_ioctl()
229 if (get_user(flags, (int __user *) arg)) in ext4_ioctl()
327 return put_user(inode->i_generation, (int __user *) arg); in ext4_ioctl()
347 if (get_user(generation, (int __user *) arg)) { in ext4_ioctl()
380 if (get_user(n_blocks_count, (__u32 __user *)arg)) { in ext4_ioctl()
420 (struct move_extent __user *)arg, sizeof(me))) in ext4_ioctl()
448 if (copy_to_user((struct move_extent __user *)arg, in ext4_ioctl()
464 if (copy_from_user(&input, (struct ext4_new_group_input __user *)arg, in ext4_ioctl()
558 if (copy_from_user(&n_blocks_count, (__u64 __user *)arg, in ext4_ioctl()
614 if (copy_from_user(&range, (struct fstrim_range __user *)arg, in ext4_ioctl()
622 if (copy_to_user((struct fstrim_range __user *)arg, &range, in ext4_ioctl()
636 (struct ext4_encryption_policy __user *)arg, in ext4_ioctl()
693 if (copy_to_user((void __user *) arg, in ext4_ioctl()
708 if (copy_to_user((void __user *)arg, &policy, sizeof(policy))) in ext4_ioctl()
721 long ext4_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in ext4_compat_ioctl() argument
758 uinput = compat_ptr(arg); in ext4_compat_ioctl()
785 return ext4_ioctl(file, cmd, (unsigned long) compat_ptr(arg)); in ext4_compat_ioctl()