Lines Matching refs:argp
385 void __user *argp = (void __user *)arg; in vol_cdev_ioctl() local
398 err = copy_from_user(&bytes, argp, sizeof(int64_t)); in vol_cdev_ioctl()
433 err = copy_from_user(&req, argp, in vol_cdev_ioctl()
467 err = get_user(lnum, (__user int32_t *)argp); in vol_cdev_ioctl()
498 err = copy_from_user(&req, argp, sizeof(struct ubi_map_req)); in vol_cdev_ioctl()
512 err = get_user(lnum, (__user int32_t *)argp); in vol_cdev_ioctl()
526 err = get_user(lnum, (__user int32_t *)argp); in vol_cdev_ioctl()
540 err = copy_from_user(&req, argp, in vol_cdev_ioctl()
837 void __user *argp = (void __user *)arg; in ubi_cdev_ioctl() local
853 err = copy_from_user(&req, argp, sizeof(struct ubi_mkvol_req)); in ubi_cdev_ioctl()
869 err = put_user(req.vol_id, (__user int32_t *)argp); in ubi_cdev_ioctl()
882 err = get_user(vol_id, (__user int32_t *)argp); in ubi_cdev_ioctl()
914 err = copy_from_user(&req, argp, sizeof(struct ubi_rsvol_req)); in ubi_cdev_ioctl()
952 err = copy_from_user(req, argp, sizeof(struct ubi_rnvol_req)); in ubi_cdev_ioctl()
969 err = get_user(pnum, (__user int32_t *)argp); in ubi_cdev_ioctl()
984 err = get_user(pnum, (__user int32_t *)argp); in ubi_cdev_ioctl()
1007 void __user *argp = (void __user *)arg; in ctrl_cdev_ioctl() local
1020 err = copy_from_user(&req, argp, sizeof(struct ubi_attach_req)); in ctrl_cdev_ioctl()
1050 err = put_user(err, (__user int32_t *)argp); in ctrl_cdev_ioctl()
1061 err = get_user(ubi_num, (__user int32_t *)argp); in ctrl_cdev_ioctl()