Lines Matching full:sic
498 * @sic: userspace structure describing the command to perform
500 * Send down the scsi command described by @sic to the device below
521 struct scsi_ioctl_command __user *sic) in sg_scsi_ioctl() argument
529 if (!sic) in sg_scsi_ioctl()
535 if (get_user(in_len, &sic->inlen)) in sg_scsi_ioctl()
537 if (get_user(out_len, &sic->outlen)) in sg_scsi_ioctl()
541 if (get_user(opcode, &sic->data[0])) in sg_scsi_ioctl()
566 if (copy_from_user(scmd->cmnd, sic->data, cmdlen)) in sg_scsi_ioctl()
569 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
615 if (copy_to_user(sic->data, scmd->sense_buffer, in sg_scsi_ioctl()
620 if (copy_to_user(sic->data, buffer, out_len)) in sg_scsi_ioctl()