Home
last modified time | relevance | path

Searched refs:tpd_len (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/mdb/common/modules/stmf_sbd/
H A Dstmf_sbd.c178 print_transport_id(uintptr_t addr, uint16_t tpd_len, char *spacer) in print_transport_id() argument
182 if (tpd_len < sizeof (*tpd)) { in print_transport_id()
184 "sizeof (scsi_transport_id_t)\n", spacer, tpd_len); in print_transport_id()
188 tpd = mdb_zalloc(tpd_len, UM_SLEEP); in print_transport_id()
189 if (mdb_vread(tpd, tpd_len, addr) == -1) { in print_transport_id()
191 mdb_free(tpd, tpd_len); in print_transport_id()
195 mdb_printf("%sTotal length:\t%d\n", spacer, tpd_len); in print_transport_id()
232 mdb_free(tpd, tpd_len); in print_transport_id()
/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c362 uint16_t tpd_len = 0; in sbd_pgr_meta_load() local
366 spi_key->pgr_key_rpt_len, &tpd_len)) { in sbd_pgr_meta_load()
370 if (tpd_len != spi_key->pgr_key_rpt_len) { in sbd_pgr_meta_load()
1749 uint16_t tpd_len; in sbd_pgr_out_register_and_move() local
1781 (scsi_transport_id_t *)plist->tptid, adn_len, &tpd_len)) { in sbd_pgr_out_register_and_move()
1789 rport.rport_tptid_sz = tpd_len; in sbd_pgr_out_register_and_move()
/titanic_41/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c7728 uint16_t tpd_len = SCSI_TPTID_SIZE; in stmf_scsilib_tptid_validate() local
7739 if (total_sz < tpd_len || tptid->format_code != 0) in stmf_scsilib_tptid_validate()
7749 if ((total_sz < tpd_len) || in stmf_scsilib_tptid_validate()
7755 tpd_len = sizeof (iscsi_transport_id_t) + adn_len - 1; in stmf_scsilib_tptid_validate()
7778 if (total_sz < tpd_len || tptid->format_code != 0) in stmf_scsilib_tptid_validate()
7792 tpd_len = sizeof (stmf_dflt_scsi_tptid_t); in stmf_scsilib_tptid_validate()
7793 if (total_sz < tpd_len) in stmf_scsilib_tptid_validate()
7796 tpd_len = tpd_len + SCSI_READ16(&dflttpd->ident_len) - 1; in stmf_scsilib_tptid_validate()
7797 if (total_sz < tpd_len) in stmf_scsilib_tptid_validate()
7803 *tptid_sz = tpd_len; in stmf_scsilib_tptid_validate()