Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_pgr.c1304 uint32_t max_tpdnum, tpdnum, i, adn_len = 0; in sbd_pgr_out_register() local
1319 adn_len = READ_SCSI32(plist->apd, uint32_t); in sbd_pgr_out_register()
1321 if (adn_len % 4 != 0 || in sbd_pgr_out_register()
1322 adn_len < sizeof (scsi_transport_id_t) + in sbd_pgr_out_register()
1324 buflen < sizeof (scsi_prout_plist_t) - 1 + adn_len) { in sbd_pgr_out_register()
1332 max_tpdnum = adn_len / sizeof (scsi_transport_id_t); in sbd_pgr_out_register()
1337 while (adn_len != 0) { in sbd_pgr_out_register()
1339 (scsi_transport_id_t *)adn_dat, adn_len, &tpd_sz)) in sbd_pgr_out_register()
1362 adn_len -= tpd_sz; in sbd_pgr_out_register()
1367 if (adn_len != 0) { in sbd_pgr_out_register()
[all …]
/titanic_41/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_login.c1732 uint16_t ident_len, adn_len, tptid_sz; in login_sm_session_register() local
1765 adn_len = (ident_len + 3) & ~ 3; in login_sm_session_register()
1766 tptid_sz = sizeof (iscsi_transport_id_t) - 1 + adn_len; in login_sm_session_register()
1771 SCSI_WRITE16(&iscsi_tptid->add_len, adn_len); in login_sm_session_register()
/titanic_41/usr/src/uts/common/io/comstar/stmf/
H A Dstmf.c7746 uint16_t adn_len, name_len; in stmf_scsilib_tptid_validate() local
7754 adn_len = READ_SCSI16(iscsiid->add_len, uint16_t); in stmf_scsilib_tptid_validate()
7755 tpd_len = sizeof (iscsi_transport_id_t) + adn_len - 1; in stmf_scsilib_tptid_validate()
7761 if (adn_len < 20 || (adn_len % 4 != 0)) in stmf_scsilib_tptid_validate()
7764 name_len = strnlen(iscsiid->iscsi_name, adn_len); in stmf_scsilib_tptid_validate()
7765 if (name_len == 0 || name_len >= adn_len) in stmf_scsilib_tptid_validate()