Home
last modified time | relevance | path

Searched refs:cioc (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_base.c7494 struct compat_megasas_iocpacket __user *cioc = in megasas_mgmt_compat_ioctl_fw() local
7508 if (copy_in_user(&ioc->host_no, &cioc->host_no, sizeof(u16)) || in megasas_mgmt_compat_ioctl_fw()
7509 copy_in_user(&ioc->sgl_off, &cioc->sgl_off, sizeof(u32)) || in megasas_mgmt_compat_ioctl_fw()
7510 copy_in_user(&ioc->sense_off, &cioc->sense_off, sizeof(u32)) || in megasas_mgmt_compat_ioctl_fw()
7511 copy_in_user(&ioc->sense_len, &cioc->sense_len, sizeof(u32)) || in megasas_mgmt_compat_ioctl_fw()
7512 copy_in_user(ioc->frame.raw, cioc->frame.raw, 128) || in megasas_mgmt_compat_ioctl_fw()
7513 copy_in_user(&ioc->sge_count, &cioc->sge_count, sizeof(u32))) in megasas_mgmt_compat_ioctl_fw()
7523 get_user(user_sense_off, &cioc->sense_off)) in megasas_mgmt_compat_ioctl_fw()
7530 (compat_uptr_t *)(((unsigned long)&cioc->frame.raw) + user_sense_off); in megasas_mgmt_compat_ioctl_fw()
7537 if (get_user(ptr, &cioc->sgl[i].iov_base) || in megasas_mgmt_compat_ioctl_fw()
[all …]