Searched refs:karg32 (Results 1 – 2 of 2) sorted by relevance
2759 struct mpt_ioctl_command32 karg32; in compat_mpt_command() local2767 if (copy_from_user(&karg32, (char __user *)arg, sizeof(karg32))) in compat_mpt_command()2771 iocnumX = karg32.hdr.iocnum & 0xFF; in compat_mpt_command()2785 karg.hdr.iocnum = karg32.hdr.iocnum; in compat_mpt_command()2786 karg.hdr.port = karg32.hdr.port; in compat_mpt_command()2787 karg.timeout = karg32.timeout; in compat_mpt_command()2788 karg.maxReplyBytes = karg32.maxReplyBytes; in compat_mpt_command()2790 karg.dataInSize = karg32.dataInSize; in compat_mpt_command()2791 karg.dataOutSize = karg32.dataOutSize; in compat_mpt_command()2792 karg.maxSenseBytes = karg32.maxSenseBytes; in compat_mpt_command()[all …]
2547 struct mpt3_ioctl_command32 karg32; in _ctl_compat_mpt_command() local2556 if (copy_from_user(&karg32, (char __user *)arg, sizeof(karg32))) { in _ctl_compat_mpt_command()2563 karg.hdr.ioc_number = karg32.hdr.ioc_number; in _ctl_compat_mpt_command()2564 karg.hdr.port_number = karg32.hdr.port_number; in _ctl_compat_mpt_command()2565 karg.hdr.max_data_size = karg32.hdr.max_data_size; in _ctl_compat_mpt_command()2566 karg.timeout = karg32.timeout; in _ctl_compat_mpt_command()2567 karg.max_reply_bytes = karg32.max_reply_bytes; in _ctl_compat_mpt_command()2568 karg.data_in_size = karg32.data_in_size; in _ctl_compat_mpt_command()2569 karg.data_out_size = karg32.data_out_size; in _ctl_compat_mpt_command()2570 karg.max_sense_bytes = karg32.max_sense_bytes; in _ctl_compat_mpt_command()[all …]