Lines Matching refs:sic
482 * @sic: userspace structure describing the command to perform
484 * Send down the scsi command described by @sic to the device below
505 struct scsi_ioctl_command __user *sic)
513 if (!sic)
519 if (get_user(in_len, &sic->inlen))
521 if (get_user(out_len, &sic->outlen))
525 if (get_user(opcode, &sic->data[0]))
550 if (copy_from_user(scmd->cmnd, sic->data, cmdlen))
553 if (in_len && copy_from_user(buffer, sic->data + cmdlen, in_len))
599 if (copy_to_user(sic->data, scmd->sense_buffer,
604 if (copy_to_user(sic->data, buffer, out_len))