Lines Matching defs:arg
836 long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
849 void __user *argp = (void __user *)arg;
858 return put_user(flags, (int __user *) arg);
860 if (get_user(flags, (int __user *) arg))
874 if (copy_from_user(&sr, (int __user *) arg, sizeof(sr)))
882 if (get_user(new_clusters, (int __user *)arg))
896 if (copy_from_user(&input, (int __user *) arg, sizeof(input)))
953 long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg)
959 void __user *argp = (void __user *)arg;
995 return ocfs2_ioctl(file, cmd, arg);