Searched refs:tgtid (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/ |
H A D | lmrc_raid.c | 323 lmrc_ld_tm_capable(lmrc_t *lmrc, uint16_t tgtid) in lmrc_ld_tm_capable() argument 329 uint16_t ld_id = lmrc_ld_id_get(tgtid, lmrc->l_raidmap); in lmrc_ld_tm_capable() 353 uint16_t tgtid = tgt - lmrc->l_targets; in lmrc_raid_tgt_activate_cb() local 357 VERIFY3U(tgtid, <, LMRC_MAX_LD); in lmrc_raid_tgt_activate_cb() 359 lmrc_tgt_init(tgt, tgtid, tgt_addr, NULL); in lmrc_raid_tgt_activate_cb() 450 lmrc_raid_get_wwn(lmrc_t *lmrc, uint8_t tgtid) in lmrc_raid_get_wwn() argument 452 lmrc_tgt_t *tgt = &lmrc->l_targets[tgtid]; in lmrc_raid_get_wwn() 465 tgt->tgt_dev_id = tgtid; in lmrc_raid_get_wwn() 467 VERIFY3U(tgt->tgt_dev_id, ==, tgtid); in lmrc_raid_get_wwn() 526 uint8_t tgtid = ld_list->ltl_tgtid[i]; in lmrc_raid_update_tgtmap() local [all …]
|
H A D | lmrc_raid.h | 309 lmrc_ld_id_get(uint16_t tgtid, lmrc_fw_raid_map_t *rm) in lmrc_ld_id_get() argument 311 ASSERT3U(tgtid, <, in lmrc_ld_id_get() 317 if (tgtid >= nelem) in lmrc_ld_id_get() 320 return (rm->rm_ld_id[tgtid]); in lmrc_ld_id_get()
|
H A D | lmrc_phys.c | 224 lmrc_pd_tm_capable(lmrc_t *lmrc, uint16_t tgtid) in lmrc_pd_tm_capable() argument 230 lmrc->l_pdmap->pm_pdcfg[tgtid].pd_tgtid != LMRC_DEVHDL_INVALID && in lmrc_pd_tm_capable() 231 lmrc->l_pdmap->pm_pdcfg[tgtid].pd_tm_capable != 0) in lmrc_pd_tm_capable()
|
H A D | lmrc.c | 1798 unsigned long tgtid; in lmrc_tgt_find() local 1810 if (ddi_strtoul(wwnstr, &comma, 10, &tgtid) == 0 && in lmrc_tgt_find() 1812 tgtid <= lmrc->l_fw_supported_vd_count) { in lmrc_tgt_find() 1813 tgt = &lmrc->l_targets[tgtid]; in lmrc_tgt_find() 1816 if (tgt->tgt_dev_id == tgtid && in lmrc_tgt_find() 1817 tgt->tgt_wwn == tgtid) { in lmrc_tgt_find()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_ctf.c | 1268 mdb_ctf_id_t tgtid, char *tgtbuf, const char *tgtname, uint_t flags) in vread_helper() argument 1282 if (mdb_ctf_type_name(tgtid, typename, sizeof (typename)) == NULL) { in vread_helper() 1284 "#%ul", mdb_ctf_type_id(tgtid)); in vread_helper() 1299 (void) mdb_ctf_type_resolve(tgtid, &tgtid); in vread_helper() 1307 if ((tgtkind = mdb_ctf_type_kind(tgtid)) == -1) { in vread_helper() 1318 if ((tgtsz = mdb_ctf_type_size(tgtid)) == -1UL) { in vread_helper() 1341 if (mdb_ctf_type_encoding(tgtid, &tgt_encoding) != 0) { in vread_helper() 1440 ev.ev_name = mdb_ctf_enum_name(tgtid, i); in vread_helper() 1467 mbr.m_tgtid = tgtid; in vread_helper() 1476 mbr.m_tgtid = tgtid; in vread_helper() [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 7154 damap_id_t tgtid; in scsi_hba_enum_lsf_of_t() local 7200 tgtid = damap_lookup(tgtdam, taddr); in scsi_hba_enum_lsf_of_t() 7201 if (tgtid != NODAM) { in scsi_hba_enum_lsf_of_t() 7202 lundam = damap_id_priv_get(tgtdam, tgtid); in scsi_hba_enum_lsf_of_t() 7203 damap_id_rele(tgtdam, tgtid); in scsi_hba_enum_lsf_of_t() 8388 scsi_tgtmap_scsi_config(void *arg, damap_t *mapp, damap_id_t tgtid) in scsi_tgtmap_scsi_config() argument 8397 tgtaddr = damap_id2addr(mapp, tgtid); in scsi_tgtmap_scsi_config() 8422 scsi_tgtmap_scsi_unconfig(void *arg, damap_t *mapp, damap_id_t tgtid) in scsi_tgtmap_scsi_unconfig() argument 8430 tgt_addr = damap_id2addr(mapp, tgtid); in scsi_tgtmap_scsi_unconfig() 8439 scsi_tgtmap_smp_config(void *arg, damap_t *mapp, damap_id_t tgtid) in scsi_tgtmap_smp_config() argument [all …]
|