tgt_id 1353 drivers/scsi/BusLogic.c int tgt_id, i; tgt_id 1766 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < BLOGIC_MAXDEV; tgt_id++) { tgt_id 1769 drivers/scsi/BusLogic.c adapter->drvr_opts->qdepth[tgt_id] > 0) tgt_id 1770 drivers/scsi/BusLogic.c qdepth = adapter->drvr_opts->qdepth[tgt_id]; tgt_id 1773 drivers/scsi/BusLogic.c adapter->qdepth[tgt_id] = qdepth; tgt_id 1836 drivers/scsi/BusLogic.c int tgt_id; tgt_id 1890 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 1891 drivers/scsi/BusLogic.c syncstr[tgt_id] = ((!(sync_ok & (1 << tgt_id))) ? 'N' : (!(fast_ok & (1 << tgt_id)) ? 'S' : (!(ultra_ok & (1 << tgt_id)) ? 'F' : 'U'))); tgt_id 1903 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 1904 drivers/scsi/BusLogic.c widestr[tgt_id] = ((wide_ok & (1 << tgt_id)) ? 'Y' : 'N'); tgt_id 1914 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 1915 drivers/scsi/BusLogic.c discon_str[tgt_id] = ((discon_ok & (1 << tgt_id)) ? 'Y' : 'N'); tgt_id 1925 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 1926 drivers/scsi/BusLogic.c tagq_str[tgt_id] = ((tagq_ok & (1 << tgt_id)) ? 'Y' : 'N'); tgt_id 1941 drivers/scsi/BusLogic.c for (tgt_id = 1; tgt_id < adapter->maxdev; tgt_id++) tgt_id 1942 drivers/scsi/BusLogic.c if (adapter->qdepth[tgt_id] != adapter->qdepth[0]) { tgt_id 2057 drivers/scsi/BusLogic.c int tgt_id; tgt_id 2071 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) { tgt_id 2072 drivers/scsi/BusLogic.c adapter->bdr_pend[tgt_id] = NULL; tgt_id 2073 drivers/scsi/BusLogic.c adapter->tgt_flags[tgt_id].tagq_active = false; tgt_id 2074 drivers/scsi/BusLogic.c adapter->tgt_flags[tgt_id].cmd_good = false; tgt_id 2075 drivers/scsi/BusLogic.c adapter->active_cmds[tgt_id] = 0; tgt_id 2076 drivers/scsi/BusLogic.c adapter->cmds_since_rst[tgt_id] = 0; tgt_id 2177 drivers/scsi/BusLogic.c int tgt_id; tgt_id 2220 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 2221 drivers/scsi/BusLogic.c adapter->tgt_flags[tgt_id].tgt_exists = tgt_id 2222 drivers/scsi/BusLogic.c (installed_devs & (1 << tgt_id) ? true : false); tgt_id 2237 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < 8; tgt_id++) tgt_id 2238 drivers/scsi/BusLogic.c adapter->tgt_flags[tgt_id].tgt_exists = tgt_id 2239 drivers/scsi/BusLogic.c (installed_devs0to7[tgt_id] != 0 ? true : false); tgt_id 2249 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 2250 drivers/scsi/BusLogic.c adapter->sync_offset[tgt_id] = (tgt_id < 8 ? setupinfo.sync0to7[tgt_id].offset : setupinfo.sync8to15[tgt_id - 8].offset); tgt_id 2252 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 2253 drivers/scsi/BusLogic.c adapter->tgt_flags[tgt_id].wide_active = (tgt_id < 8 ? (setupinfo.wide_tx_active0to7 & (1 << tgt_id) ? true : false) : (setupinfo.wide_tx_active8to15 & (1 << (tgt_id - 8)) ? true : false)); tgt_id 2270 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 2271 drivers/scsi/BusLogic.c adapter->sync_period[tgt_id] = sync_period[tgt_id]; tgt_id 2273 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 2274 drivers/scsi/BusLogic.c if (setupinfo.sync0to7[tgt_id].offset > 0) tgt_id 2275 drivers/scsi/BusLogic.c adapter->sync_period[tgt_id] = 20 + 5 * setupinfo.sync0to7[tgt_id].tx_period; tgt_id 2317 drivers/scsi/BusLogic.c int tgt_id = dev->id; tgt_id 2318 drivers/scsi/BusLogic.c int qdepth = adapter->qdepth[tgt_id]; tgt_id 2320 drivers/scsi/BusLogic.c if (adapter->tgt_flags[tgt_id].tagq_ok && tgt_id 2321 drivers/scsi/BusLogic.c (adapter->tagq_ok & (1 << tgt_id))) { tgt_id 2324 drivers/scsi/BusLogic.c adapter->qdepth[tgt_id] = qdepth; tgt_id 2327 drivers/scsi/BusLogic.c adapter->tagq_ok &= ~(1 << tgt_id); tgt_id 2329 drivers/scsi/BusLogic.c adapter->qdepth[tgt_id] = qdepth; tgt_id 2333 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) tgt_id 2334 drivers/scsi/BusLogic.c if (adapter->tgt_flags[tgt_id].tgt_exists) tgt_id 2335 drivers/scsi/BusLogic.c qdepth += adapter->qdepth[tgt_id]; tgt_id 2608 drivers/scsi/BusLogic.c adapter->active_cmds[ccb->tgt_id]--; tgt_id 2753 drivers/scsi/BusLogic.c int tgt_id = ccb->tgt_id; tgt_id 2755 drivers/scsi/BusLogic.c blogic_warn("Bus Device Reset CCB #%ld to Target " "%d Completed\n", adapter, ccb->serial, tgt_id); tgt_id 2756 drivers/scsi/BusLogic.c blogic_inc_count(&adapter->tgt_stats[tgt_id].bdr_done); tgt_id 2757 drivers/scsi/BusLogic.c adapter->tgt_flags[tgt_id].tagq_active = false; tgt_id 2758 drivers/scsi/BusLogic.c adapter->cmds_since_rst[tgt_id] = 0; tgt_id 2759 drivers/scsi/BusLogic.c adapter->last_resetdone[tgt_id] = jiffies; tgt_id 2790 drivers/scsi/BusLogic.c ccb->tgt_id == tgt_id) { tgt_id 2793 drivers/scsi/BusLogic.c adapter->active_cmds[tgt_id]--; tgt_id 2797 drivers/scsi/BusLogic.c adapter->bdr_pend[tgt_id] = NULL; tgt_id 2808 drivers/scsi/BusLogic.c blogic_warn("CCB #%ld to Target %d Impossible State\n", adapter, ccb->serial, ccb->tgt_id); tgt_id 2811 drivers/scsi/BusLogic.c adapter->tgt_stats[ccb->tgt_id] tgt_id 2813 drivers/scsi/BusLogic.c adapter->tgt_flags[ccb->tgt_id] tgt_id 2819 drivers/scsi/BusLogic.c adapter, ccb->serial, ccb->tgt_id); tgt_id 2820 drivers/scsi/BusLogic.c blogic_inc_count(&adapter->tgt_stats[ccb->tgt_id].aborts_done); tgt_id 2827 drivers/scsi/BusLogic.c adapter->tgt_stats[ccb->tgt_id] tgt_id 2832 drivers/scsi/BusLogic.c "Adapter Status %02X " "Target Status %02X\n", adapter, ccb->serial, ccb->tgt_id, command->result, ccb->adapter_status, ccb->tgt_status); tgt_id 2853 drivers/scsi/BusLogic.c &adapter->tgt_flags[ccb->tgt_id]; tgt_id 2986 drivers/scsi/BusLogic.c adapter->active_cmds[ccb->tgt_id]++; tgt_id 2988 drivers/scsi/BusLogic.c adapter->tgt_stats[ccb->tgt_id].cmds_tried++; tgt_id 3030 drivers/scsi/BusLogic.c int tgt_id = command->device->id; tgt_id 3100 drivers/scsi/BusLogic.c tgt_stats[tgt_id].read_cmds++; tgt_id 3101 drivers/scsi/BusLogic.c blogic_addcount(&tgt_stats[tgt_id].bytesread, buflen); tgt_id 3102 drivers/scsi/BusLogic.c blogic_incszbucket(tgt_stats[tgt_id].read_sz_buckets, buflen); tgt_id 3107 drivers/scsi/BusLogic.c tgt_stats[tgt_id].write_cmds++; tgt_id 3108 drivers/scsi/BusLogic.c blogic_addcount(&tgt_stats[tgt_id].byteswritten, buflen); tgt_id 3109 drivers/scsi/BusLogic.c blogic_incszbucket(tgt_stats[tgt_id].write_sz_buckets, buflen); tgt_id 3118 drivers/scsi/BusLogic.c ccb->tgt_id = tgt_id; tgt_id 3138 drivers/scsi/BusLogic.c if (adapter->cmds_since_rst[tgt_id]++ >= BLOGIC_MAX_TAG_DEPTH && tgt_id 3140 drivers/scsi/BusLogic.c adapter->active_cmds[tgt_id] == 0 tgt_id 3142 drivers/scsi/BusLogic.c (adapter->tagq_ok & (1 << tgt_id))) { tgt_id 3145 drivers/scsi/BusLogic.c adapter, tgt_id); tgt_id 3164 drivers/scsi/BusLogic.c if (adapter->active_cmds[tgt_id] == 0) tgt_id 3165 drivers/scsi/BusLogic.c adapter->last_seqpoint[tgt_id] = jiffies; tgt_id 3167 drivers/scsi/BusLogic.c adapter->last_seqpoint[tgt_id] + 4 * HZ)) { tgt_id 3168 drivers/scsi/BusLogic.c adapter->last_seqpoint[tgt_id] = jiffies; tgt_id 3223 drivers/scsi/BusLogic.c adapter->active_cmds[tgt_id]++; tgt_id 3224 drivers/scsi/BusLogic.c tgt_stats[tgt_id].cmds_tried++; tgt_id 3249 drivers/scsi/BusLogic.c int tgt_id = command->device->id; tgt_id 3251 drivers/scsi/BusLogic.c blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_request); tgt_id 3261 drivers/scsi/BusLogic.c blogic_warn("Unable to Abort Command to Target %d - No CCB Found\n", adapter, tgt_id); tgt_id 3264 drivers/scsi/BusLogic.c blogic_warn("Unable to Abort Command to Target %d - CCB Completed\n", adapter, tgt_id); tgt_id 3267 drivers/scsi/BusLogic.c blogic_warn("Unable to Abort Command to Target %d - CCB Reset\n", adapter, tgt_id); tgt_id 3283 drivers/scsi/BusLogic.c if (adapter->tgt_flags[tgt_id].tagq_active && tgt_id 3285 drivers/scsi/BusLogic.c blogic_warn("Unable to Abort CCB #%ld to Target %d - Abort Tag Not Supported\n", adapter, ccb->serial, tgt_id); tgt_id 3290 drivers/scsi/BusLogic.c adapter, ccb->serial, tgt_id); tgt_id 3291 drivers/scsi/BusLogic.c blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_tried); tgt_id 3294 drivers/scsi/BusLogic.c blogic_warn("Unable to Abort CCB #%ld to Target %d - No Outgoing Mailboxes\n", adapter, ccb->serial, tgt_id); tgt_id 3303 drivers/scsi/BusLogic.c ccb->serial, tgt_id); tgt_id 3304 drivers/scsi/BusLogic.c blogic_inc_count(&adapter->tgt_stats[tgt_id].aborts_tried); tgt_id 3327 drivers/scsi/BusLogic.c int tgt_id; tgt_id 3360 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < adapter->maxdev; tgt_id++) { tgt_id 3361 drivers/scsi/BusLogic.c adapter->last_resettried[tgt_id] = jiffies; tgt_id 3362 drivers/scsi/BusLogic.c adapter->last_resetdone[tgt_id] = jiffies; tgt_id 3663 drivers/scsi/BusLogic.c int tgt_id; tgt_id 3710 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < BLOGIC_MAXDEV; tgt_id++) { tgt_id 3716 drivers/scsi/BusLogic.c drvr_opts->qdepth[tgt_id] = qdepth; tgt_id 3739 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < BLOGIC_MAXDEV; tgt_id++) tgt_id 3740 drivers/scsi/BusLogic.c drvr_opts->qdepth[tgt_id] = qdepth; tgt_id 3754 drivers/scsi/BusLogic.c for (tgt_id = 0, tgt_bit = 1; tgt_id 3755 drivers/scsi/BusLogic.c tgt_id < BLOGIC_MAXDEV; tgt_id 3756 drivers/scsi/BusLogic.c tgt_id++, tgt_bit <<= 1) tgt_id 3770 drivers/scsi/BusLogic.c tgt_id = BLOGIC_MAXDEV; tgt_id 3820 drivers/scsi/BusLogic.c for (tgt_id = 0; tgt_id < BLOGIC_MAXDEV; tgt_id++) tgt_id 3821 drivers/scsi/BusLogic.c if (drvr_opts->qdepth[tgt_id] == 1) { tgt_id 3822 drivers/scsi/BusLogic.c unsigned short tgt_bit = 1 << tgt_id; tgt_id 637 drivers/scsi/BusLogic.h unsigned char tgt_id:3; /* Bits 5-7 */ tgt_id 822 drivers/scsi/BusLogic.h unsigned char tgt_id; /* Byte 16 */ tgt_id 5021 drivers/scsi/lpfc/lpfc_scsi.c unsigned int tgt_id, uint64_t lun_id, tgt_id 5064 drivers/scsi/lpfc/lpfc_scsi.c lpfc_taskmgmt_name(task_mgmt_cmd), tgt_id, lun_id, tgt_id 5078 drivers/scsi/lpfc/lpfc_scsi.c tgt_id, lun_id, tgt_id 5171 drivers/scsi/lpfc/lpfc_scsi.c lpfc_reset_flush_io_context(struct lpfc_vport *vport, uint16_t tgt_id, tgt_id 5178 drivers/scsi/lpfc/lpfc_scsi.c cnt = lpfc_sli_sum_iocb(vport, tgt_id, lun_id, context); tgt_id 5182 drivers/scsi/lpfc/lpfc_scsi.c tgt_id, lun_id, context); tgt_id 5186 drivers/scsi/lpfc/lpfc_scsi.c cnt = lpfc_sli_sum_iocb(vport, tgt_id, lun_id, context); tgt_id 5218 drivers/scsi/lpfc/lpfc_scsi.c unsigned tgt_id = cmnd->device->id; tgt_id 5251 drivers/scsi/lpfc/lpfc_scsi.c status = lpfc_send_taskmgmt(vport, cmnd, tgt_id, lun_id, tgt_id 5256 drivers/scsi/lpfc/lpfc_scsi.c "return x%x\n", tgt_id, lun_id, status); tgt_id 5265 drivers/scsi/lpfc/lpfc_scsi.c status = lpfc_reset_flush_io_context(vport, tgt_id, lun_id, tgt_id 5289 drivers/scsi/lpfc/lpfc_scsi.c unsigned tgt_id = cmnd->device->id; tgt_id 5316 drivers/scsi/lpfc/lpfc_scsi.c lpfc_reset_flush_io_context(vport, tgt_id, lun_id, tgt_id 5330 drivers/scsi/lpfc/lpfc_scsi.c status = lpfc_send_taskmgmt(vport, cmnd, tgt_id, lun_id, tgt_id 5335 drivers/scsi/lpfc/lpfc_scsi.c "return x%x\n", tgt_id, lun_id, status); tgt_id 5344 drivers/scsi/lpfc/lpfc_scsi.c status = lpfc_reset_flush_io_context(vport, tgt_id, lun_id, tgt_id 11334 drivers/scsi/lpfc/lpfc_sli.c uint16_t tgt_id, uint64_t lun_id, tgt_id 11355 drivers/scsi/lpfc/lpfc_sli.c (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id) && tgt_id 11361 drivers/scsi/lpfc/lpfc_sli.c (lpfc_cmd->rdata->pnode->nlp_sid == tgt_id)) tgt_id 11396 drivers/scsi/lpfc/lpfc_sli.c lpfc_sli_sum_iocb(struct lpfc_vport *vport, uint16_t tgt_id, uint64_t lun_id, tgt_id 11407 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_sli_validate_fcp_iocb (iocbq, vport, tgt_id, lun_id, tgt_id 11465 drivers/scsi/lpfc/lpfc_sli.c uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd abort_cmd) tgt_id 11482 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_sli_validate_fcp_iocb(iocbq, vport, tgt_id, lun_id, tgt_id 11571 drivers/scsi/lpfc/lpfc_sli.c uint16_t tgt_id, uint64_t lun_id, lpfc_ctx_cmd cmd) tgt_id 11595 drivers/scsi/lpfc/lpfc_sli.c if (lpfc_sli_validate_fcp_iocb(iocbq, vport, tgt_id, lun_id, tgt_id 2435 drivers/scsi/qla2xxx/qla_def.h uint16_t tgt_id; tgt_id 1123 drivers/scsi/qla2xxx/qla_mr.c uint16_t tgt_id; tgt_id 1150 drivers/scsi/qla2xxx/qla_mr.c for_each_set_bit(tgt_id, (void *)ha->gid_list, tgt_id 1154 drivers/scsi/qla2xxx/qla_mr.c new_fcport->tgt_id = tgt_id; tgt_id 1177 drivers/scsi/qla2xxx/qla_mr.c if (fcport->tgt_id == new_fcport->tgt_id && tgt_id 1188 drivers/scsi/qla2xxx/qla_mr.c __func__, fcport->tgt_id, tgt_id 1196 drivers/scsi/qla2xxx/qla_mr.c "wwpn = %llx.\n", __func__, new_fcport->tgt_id, tgt_id 1203 drivers/scsi/qla2xxx/qla_mr.c fcport->old_tgt_id = fcport->tgt_id; tgt_id 1204 drivers/scsi/qla2xxx/qla_mr.c fcport->tgt_id = new_fcport->tgt_id; tgt_id 1293 drivers/scsi/qla2xxx/qla_mr.c fcport->tgt_id, tgt_id 1680 drivers/scsi/qla2xxx/qla_mr.c qlafx00_get_fcport(struct scsi_qla_host *vha, int tgt_id) tgt_id 1686 drivers/scsi/qla2xxx/qla_mr.c if (fcport->tgt_id == tgt_id) { tgt_id 1690 drivers/scsi/qla2xxx/qla_mr.c fcport, fcport->tgt_id, tgt_id); tgt_id 1698 drivers/scsi/qla2xxx/qla_mr.c qlafx00_tgt_detach(struct scsi_qla_host *vha, int tgt_id) tgt_id 1703 drivers/scsi/qla2xxx/qla_mr.c "Detach TGT-ID: 0x%x\n", tgt_id); tgt_id 1705 drivers/scsi/qla2xxx/qla_mr.c fcport = qlafx00_get_fcport(vha, tgt_id); tgt_id 1845 drivers/scsi/qla2xxx/qla_mr.c fdisc->u.fxiocb.req_data = cpu_to_le32(fcport->tgt_id); tgt_id 2535 drivers/scsi/qla2xxx/qla_mr.c cp->device->id, cp->device->lun, fcport->tgt_id, tgt_id 3144 drivers/scsi/qla2xxx/qla_mr.c lcmd_pkt.tgt_idx = cpu_to_le16(sp->fcport->tgt_id); tgt_id 3211 drivers/scsi/qla2xxx/qla_mr.c tm_iocb.tgt_id = cpu_to_le16(sp->fcport->tgt_id); tgt_id 3238 drivers/scsi/qla2xxx/qla_mr.c abt_iocb.tgt_id_sts = cpu_to_le16(sp->fcport->tgt_id); tgt_id 103 drivers/scsi/qla2xxx/qla_mr.h __le16 tgt_id; /* Target Idx. */ tgt_id 193 drivers/scsi/snic/snic_disc.c if (tgt->id == le32_to_cpu(tgtid->tgt_id)) tgt_id 270 drivers/scsi/snic/snic_disc.c tgt->id = le32_to_cpu(tgtid->tgt_id); tgt_id 425 drivers/scsi/snic/snic_disc.c le32_to_cpu(tgtid[i].tgt_id)); tgt_id 217 drivers/scsi/snic/snic_fwint.h __le32 tgt_id; /* target id */ tgt_id 271 drivers/scsi/snic/snic_fwint.h __le64 tgt_id; /* Destination Target ID */ tgt_id 316 drivers/scsi/snic/snic_fwint.h __le64 tgt_id; /* Target ID */ tgt_id 82 drivers/scsi/snic/snic_io.h u32 tgt_id; tgt_id 29 drivers/scsi/snic/snic_res.h u16 flags, u64 tgt_id, u8 *lun, u8 *scsi_cdb, u8 cdb_len, tgt_id 37 drivers/scsi/snic/snic_res.h req->u.icmnd.tgt_id = cpu_to_le64(tgt_id); tgt_id 50 drivers/scsi/snic/snic_res.h u16 flags, u32 req_id, u64 tgt_id, u8 *lun, u8 tm_type) tgt_id 58 drivers/scsi/snic/snic_res.h req->u.itmf.tgt_id = cpu_to_le64(tgt_id); tgt_id 213 drivers/scsi/snic/snic_scsi.c rqi->tgt_id, tgt_id 273 drivers/scsi/snic/snic_scsi.c rqi->tgt_id = tgt->id; tgt_id 1331 drivers/scsi/snic/snic_scsi.c rqi->tgt_id, tgt_id 492 drivers/scsi/storvsc_drv.c u8 tgt_id; tgt_id 502 drivers/scsi/storvsc_drv.c sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); tgt_id 550 drivers/scsi/storvsc_drv.c sdev = scsi_device_lookup(wrk->host, 0, wrk->tgt_id, wrk->lun); tgt_id 995 drivers/scsi/storvsc_drv.c wrk->tgt_id = vm_srb->target_id;