Searched refs:karg32 (Results 1 – 2 of 2) sorted by relevance
2757 struct mpt_ioctl_command32 karg32; in compat_mpt_command() local2765 if (copy_from_user(&karg32, (char __user *)arg, sizeof(karg32))) in compat_mpt_command()2769 iocnumX = karg32.hdr.iocnum & 0xFF; in compat_mpt_command()2783 karg.hdr.iocnum = karg32.hdr.iocnum; in compat_mpt_command()2784 karg.hdr.port = karg32.hdr.port; in compat_mpt_command()2785 karg.timeout = karg32.timeout; in compat_mpt_command()2786 karg.maxReplyBytes = karg32.maxReplyBytes; in compat_mpt_command()2788 karg.dataInSize = karg32.dataInSize; in compat_mpt_command()2789 karg.dataOutSize = karg32.dataOutSize; in compat_mpt_command()2790 karg.maxSenseBytes = karg32.maxSenseBytes; in compat_mpt_command()[all …]
2559 struct mpt3_ioctl_command32 karg32; in _ctl_compat_mpt_command() local2568 if (copy_from_user(&karg32, (char __user *)arg, sizeof(karg32))) { in _ctl_compat_mpt_command()2575 karg.hdr.ioc_number = karg32.hdr.ioc_number; in _ctl_compat_mpt_command()2576 karg.hdr.port_number = karg32.hdr.port_number; in _ctl_compat_mpt_command()2577 karg.hdr.max_data_size = karg32.hdr.max_data_size; in _ctl_compat_mpt_command()2578 karg.timeout = karg32.timeout; in _ctl_compat_mpt_command()2579 karg.max_reply_bytes = karg32.max_reply_bytes; in _ctl_compat_mpt_command()2580 karg.data_in_size = karg32.data_in_size; in _ctl_compat_mpt_command()2581 karg.data_out_size = karg32.data_out_size; in _ctl_compat_mpt_command()2582 karg.max_sense_bytes = karg32.max_sense_bytes; in _ctl_compat_mpt_command()[all …]