Lines Matching full:sic
503 * @sic: userspace structure describing the command to perform
505 * Send down the scsi command described by @sic to the device below
532 fmode_t mode, struct scsi_ioctl_command __user *sic) in sg_scsi_ioctl() argument
541 if (!sic) in sg_scsi_ioctl()
547 if (get_user(in_len, &sic->inlen)) in sg_scsi_ioctl()
549 if (get_user(out_len, &sic->outlen)) in sg_scsi_ioctl()
553 if (get_user(opcode, sic->data)) in sg_scsi_ioctl()
578 if (copy_from_user(req->cmd, sic->data, cmdlen)) in sg_scsi_ioctl()
581 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len)) in sg_scsi_ioctl()
628 if (copy_to_user(sic->data, req->sense, bytes)) in sg_scsi_ioctl()
632 if (copy_to_user(sic->data, buffer, out_len)) in sg_scsi_ioctl()