Lines Matching refs:uarg
1239 struct mpt_ioctl_iocinfo __user *uarg = (void __user *) arg; in mptctl_getiocinfo() local
1264 karg = memdup_user(uarg, data_size); in mptctl_getiocinfo()
1364 ioc->name, __FILE__, __LINE__, uarg); in mptctl_getiocinfo()
1386 struct mpt_ioctl_targetinfo __user *uarg = (void __user *) arg; in mptctl_gettargetinfo() local
1400 if (copy_from_user(&karg, uarg, sizeof(struct mpt_ioctl_targetinfo))) { in mptctl_gettargetinfo()
1403 __FILE__, __LINE__, uarg); in mptctl_gettargetinfo()
1480 ioc->name, __FILE__, __LINE__, uarg); in mptctl_gettargetinfo()
1487 if (copy_to_user(uarg->targetInfo, pmem, numBytes)) { in mptctl_gettargetinfo()
1511 struct mpt_ioctl_test __user *uarg = (void __user *) arg; in mptctl_readtest() local
1516 if (copy_from_user(&karg, uarg, sizeof(struct mpt_ioctl_test))) { in mptctl_readtest()
1519 __FILE__, __LINE__, uarg); in mptctl_readtest()
1551 ioc->name, __FILE__, __LINE__, uarg); in mptctl_readtest()
1572 struct mpt_ioctl_eventquery __user *uarg = (void __user *) arg; in mptctl_eventquery() local
1577 if (copy_from_user(&karg, uarg, sizeof(struct mpt_ioctl_eventquery))) { in mptctl_eventquery()
1580 __FILE__, __LINE__, uarg); in mptctl_eventquery()
1601 ioc->name, __FILE__, __LINE__, uarg); in mptctl_eventquery()
1611 struct mpt_ioctl_eventenable __user *uarg = (void __user *) arg; in mptctl_eventenable() local
1616 if (copy_from_user(&karg, uarg, sizeof(struct mpt_ioctl_eventenable))) { in mptctl_eventenable()
1619 __FILE__, __LINE__, uarg); in mptctl_eventenable()
1659 struct mpt_ioctl_eventreport __user *uarg = (void __user *) arg; in mptctl_eventreport() local
1665 if (copy_from_user(&karg, uarg, sizeof(struct mpt_ioctl_eventreport))) { in mptctl_eventreport()
1668 __FILE__, __LINE__, uarg); in mptctl_eventreport()
1699 if (copy_to_user(uarg->eventData, ioc->events, numBytes)) { in mptctl_eventreport()
1713 struct mpt_ioctl_replace_fw __user *uarg = (void __user *) arg; in mptctl_replace_fw() local
1719 if (copy_from_user(&karg, uarg, sizeof(struct mpt_ioctl_replace_fw))) { in mptctl_replace_fw()
1722 __FILE__, __LINE__, uarg); in mptctl_replace_fw()
1752 if (copy_from_user(ioc->cached_fw, uarg->newImage, newFwSize)) { in mptctl_replace_fw()
1755 "@ %p\n", ioc->name, __FILE__, __LINE__, uarg); in mptctl_replace_fw()
1781 struct mpt_ioctl_command __user *uarg = (void __user *) arg; in mptctl_mpt_command() local
1788 if (copy_from_user(&karg, uarg, sizeof(struct mpt_ioctl_command))) { in mptctl_mpt_command()
1791 __FILE__, __LINE__, uarg); in mptctl_mpt_command()
1802 rc = mptctl_do_mpt_command (karg, &uarg->MF); in mptctl_mpt_command()
2419 hp_host_info_t __user *uarg = (void __user *) arg; in mptctl_hp_hostinfo() local
2444 if (copy_from_user(&karg, uarg, sizeof(hp_host_info_t))) { in mptctl_hp_hostinfo()
2447 __FILE__, __LINE__, uarg); in mptctl_hp_hostinfo()
2649 ioc->name, __FILE__, __LINE__, uarg); in mptctl_hp_hostinfo()
2671 hp_target_info_t __user *uarg = (void __user *) arg; in mptctl_hp_targetinfo() local
2684 if (copy_from_user(&karg, uarg, sizeof(hp_target_info_t))) { in mptctl_hp_targetinfo()
2687 __FILE__, __LINE__, uarg); in mptctl_hp_targetinfo()
2800 ioc->name, __FILE__, __LINE__, uarg); in mptctl_hp_targetinfo()
2874 struct mpt_ioctl_command32 __user *uarg = (struct mpt_ioctl_command32 __user *) arg; in compat_mpt_command() local
2916 ret = mptctl_do_mpt_command (karg, &uarg->MF); in compat_mpt_command()