• Home
  • Raw
  • Download

Lines Matching refs:argp

585 		struct mtd_write_req __user *argp)  in mtdchar_write_ioctl()  argument
593 if (copy_from_user(&req, argp, sizeof(req))) in mtdchar_write_ioctl()
637 void __user *argp = (void __user *)arg; in mtdchar_ioctl() local
687 if (copy_to_user(argp, &(mtd->numeraseregions), sizeof(int))) in mtdchar_ioctl()
695 struct region_info_user __user *ur = argp; in mtdchar_ioctl()
723 if (copy_to_user(argp, &info, sizeof(struct mtd_info_user))) in mtdchar_ioctl()
739 if (copy_from_user(&einfo64, argp, in mtdchar_ioctl()
749 if (copy_from_user(&einfo32, argp, in mtdchar_ioctl()
767 struct mtd_oob_buf __user *buf_user = argp; in mtdchar_ioctl()
770 if (copy_from_user(&buf, argp, sizeof(buf))) in mtdchar_ioctl()
781 struct mtd_oob_buf __user *buf_user = argp; in mtdchar_ioctl()
784 if (copy_from_user(&buf, argp, sizeof(buf))) in mtdchar_ioctl()
795 struct mtd_oob_buf64 __user *buf_user = argp; in mtdchar_ioctl()
797 if (copy_from_user(&buf, argp, sizeof(buf))) in mtdchar_ioctl()
809 struct mtd_oob_buf64 __user *buf_user = argp; in mtdchar_ioctl()
811 if (copy_from_user(&buf, argp, sizeof(buf))) in mtdchar_ioctl()
831 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl()
842 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl()
853 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl()
872 if (copy_to_user(argp, &oi, sizeof(struct nand_oobinfo))) in mtdchar_ioctl()
881 if (copy_from_user(&offs, argp, sizeof(loff_t))) in mtdchar_ioctl()
891 if (copy_from_user(&offs, argp, sizeof(loff_t))) in mtdchar_ioctl()
900 if (copy_from_user(&mode, argp, sizeof(int))) in mtdchar_ioctl()
932 ret = copy_to_user(argp, &nbr, sizeof(int)); in mtdchar_ioctl()
934 ret = copy_to_user(argp, buf, retlen); in mtdchar_ioctl()
948 if (copy_from_user(&oinfo, argp, sizeof(oinfo))) in mtdchar_ioctl()
968 if (copy_to_user(argp, usrlay, sizeof(*usrlay))) in mtdchar_ioctl()
976 if (copy_to_user(argp, &mtd->ecc_stats, in mtdchar_ioctl()
1008 struct blkpg_ioctl_arg __user *blk_arg = argp; in mtdchar_ioctl()
1056 void __user *argp = compat_ptr(arg); in mtdchar_compat_ioctl() local
1065 struct mtd_oob_buf32 __user *buf_user = argp; in mtdchar_compat_ioctl()
1072 if (copy_from_user(&buf, argp, sizeof(buf))) in mtdchar_compat_ioctl()
1084 struct mtd_oob_buf32 __user *buf_user = argp; in mtdchar_compat_ioctl()
1087 if (copy_from_user(&buf, argp, sizeof(buf))) in mtdchar_compat_ioctl()
1099 struct blkpg_compat_ioctl_arg __user *uarg = argp; in mtdchar_compat_ioctl()
1119 ret = mtdchar_ioctl(file, cmd, (unsigned long)argp); in mtdchar_compat_ioctl()