Lines Matching defs:tgt
3009 int lun, tgt;
3013 tgt = ddi_prop_get_int(DDI_DEV_T_ANY, devp->sd_dev, DDI_PROP_DONTPASS,
3017 if ((tgt < 0) || (tgt >= NTARGETS_WIDE)) {
3049 cp->cache[tgt] = SCSIPROBE_EXISTS;
3053 if (cp->cache[tgt] != SCSIPROBE_EXISTS) {
3058 return (cp->cache[tgt] = scsi_probe(devp, waitfn));
7208 int tgt;
7228 tgt = ddi_prop_get_int(DDI_DEV_T_ANY, devi, DDI_PROP_DONTPASS,
7259 if (sd_scsi_get_target_lun_count(pdip, tgt) < 1) {
8387 if (SD_IS_PARALLEL_SCSI(un) && (tgt >= 0) && (tgt < NTARGETS_WIDE)) {
8388 sd_scsi_update_lun_on_target(pdip, tgt, SD_SCSI_LUN_ATTACH);
8420 if (sd_scsi_get_target_lun_count(pdip, tgt) < 1) {
8569 int tgt;
8603 tgt = ddi_prop_get_int(DDI_DEV_T_ANY, devi, DDI_PROP_DONTPASS,
8858 if (sd_scsi_get_target_lun_count(pdip, tgt) <= 1) {
9022 if ((tgt >= 0) && (tgt < NTARGETS_WIDE)) {
9023 sd_scsi_update_lun_on_target(pdip, tgt, SD_SCSI_LUN_DETACH);
13083 "sd_mapblocksize_iostart: tgt start block:0x%x\n", xp->xb_blkno);
13085 "sd_mapblocksize_iostart: tgt request len:0x%x\n",
23337 int lun, tgt;
23365 tgt = ddi_prop_get_int(DDI_DEV_T_ANY, SD_DEVINFO(un),
23370 info->dki_slave = ((tgt << 3) | lun);
25771 size_t tgt_nblk; /* rmw - # of tgt blks to xfer */