Lines Matching defs:arg
542 struct blkpg_ioctl_arg *arg)
549 if (copy_from_user(&p, arg->data, sizeof(p)))
552 switch (arg->op) {
822 static int mtdchar_ioctl(struct file *file, u_int cmd, u_long arg)
827 void __user *argp = (void __user *)arg;
1015 (struct mtd_write_req __user *)arg);
1022 (struct mtd_read_req __user *)arg);
1187 switch(arg) {
1190 ret = otp_select_filemode(mfi, arg);
1196 mfi->mode = arg;
1231 static long mtdchar_unlocked_ioctl(struct file *file, u_int cmd, u_long arg)
1239 ret = mtdchar_ioctl(file, cmd, arg);
1257 unsigned long arg)
1262 void __user *argp = compat_ptr(arg);