Lines Matching defs:sic
354 * @sic: userspace structure describing the command to perform
356 * Send down the scsi command described by @sic to the device below
384 struct gendisk *disk, struct scsi_ioctl_command __user *sic)
391 if (!sic)
397 if (get_user(in_len, &sic->inlen))
399 if (get_user(out_len, &sic->outlen))
403 if (get_user(opcode, sic->data))
424 if (copy_from_user(rq->cmd, sic->data, cmdlen))
427 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len))
479 if (copy_to_user(sic->data, rq->sense, bytes))
483 if (copy_to_user(sic->data, buffer, out_len))