Lines Matching defs:sic
379 * @sic: userspace structure describing the command to perform
381 * Send down the scsi command described by @sic to the device below
408 struct scsi_ioctl_command __user *sic)
417 if (!sic)
423 if (get_user(in_len, &sic->inlen))
425 if (get_user(out_len, &sic->outlen))
429 if (get_user(opcode, sic->data))
454 if (copy_from_user(req->cmd, sic->data, cmdlen))
457 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len))
503 if (copy_to_user(sic->data, req->sense, bytes))
507 if (copy_to_user(sic->data, buffer, out_len))