Searched refs:karg32 (Results 1 – 2 of 2) sorted by relevance
2877 struct mpt_ioctl_command32 karg32; in compat_mpt_command() local2885 if (copy_from_user(&karg32, (char __user *)arg, sizeof(karg32))) in compat_mpt_command()2889 iocnumX = karg32.hdr.iocnum & 0xFF; in compat_mpt_command()2903 karg.hdr.iocnum = karg32.hdr.iocnum; in compat_mpt_command()2904 karg.hdr.port = karg32.hdr.port; in compat_mpt_command()2905 karg.timeout = karg32.timeout; in compat_mpt_command()2906 karg.maxReplyBytes = karg32.maxReplyBytes; in compat_mpt_command()2908 karg.dataInSize = karg32.dataInSize; in compat_mpt_command()2909 karg.dataOutSize = karg32.dataOutSize; in compat_mpt_command()2910 karg.maxSenseBytes = karg32.maxSenseBytes; in compat_mpt_command()[all …]
2166 struct mpt3_ioctl_command32 karg32; in _ctl_compat_mpt_command() local2175 if (copy_from_user(&karg32, (char __user *)arg, sizeof(karg32))) { in _ctl_compat_mpt_command()2182 karg.hdr.ioc_number = karg32.hdr.ioc_number; in _ctl_compat_mpt_command()2183 karg.hdr.port_number = karg32.hdr.port_number; in _ctl_compat_mpt_command()2184 karg.hdr.max_data_size = karg32.hdr.max_data_size; in _ctl_compat_mpt_command()2185 karg.timeout = karg32.timeout; in _ctl_compat_mpt_command()2186 karg.max_reply_bytes = karg32.max_reply_bytes; in _ctl_compat_mpt_command()2187 karg.data_in_size = karg32.data_in_size; in _ctl_compat_mpt_command()2188 karg.data_out_size = karg32.data_out_size; in _ctl_compat_mpt_command()2189 karg.max_sense_bytes = karg32.max_sense_bytes; in _ctl_compat_mpt_command()[all …]