Searched refs:cmdlen (Results 1 – 1 of 1) sorted by relevance
435 unsigned int in_len, out_len, bytes, opcode, cmdlen; in sg_scsi_ioctl() local468 cmdlen = COMMAND_SIZE(opcode); in sg_scsi_ioctl()474 rq->cmd_len = cmdlen; in sg_scsi_ioctl()475 if (copy_from_user(rq->cmd, sic->data, cmdlen)) in sg_scsi_ioctl()478 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()