Lines Matching refs:target
160 stat.fd = desc[sc->target]; in simscsi_readwrite()
182 stat.fd = desc[sc->target]; in simscsi_sg_readwrite()
271 sc->target, sc->cmnd[0], sc->serial_number, sp, done); in simscsi_queuecommand()
276 if (sc->target <= 15 && sc->lun == 0) { in simscsi_queuecommand()
282 sprintf (fname, "%s%c", simscsi_root, 'a' + sc->target); in simscsi_queuecommand()
283 desc[sc->target] = ia64_ssc(__pa(fname), SSC_READ_ACCESS|SSC_WRITE_ACCESS, in simscsi_queuecommand()
285 if (desc[sc->target] < 0) { in simscsi_queuecommand()
307 if (desc[sc->target] < 0 ) in simscsi_queuecommand()
313 if (desc[sc->target] < 0 ) in simscsi_queuecommand()
319 if (desc[sc->target] < 0) in simscsi_queuecommand()
325 if (desc[sc->target] < 0) in simscsi_queuecommand()
332 if (desc[sc->target] < 0 || sc->request_bufflen < 8) { in simscsi_queuecommand()
337 disk_size = simscsi_get_disk_size(desc[sc->target]); in simscsi_queuecommand()