/illumos-gate/usr/src/common/iscsi/ |
H A D | utils.c | 138 * parse_addr_port_tpgt - Used to parse addr, port and tpgt from string 140 * This function is used to parse addr, port and tpgt from a string. Callers 146 parse_addr_port_tpgt(char *in, char **addr, int *type, char **port, char **tpgt) argument 159 if (tpgt != NULL) { 160 *tpgt = NULL; 187 /* exact tpgt */ 188 if (tpgt != NULL) { 192 *tpgt = in = t_tpgt;
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_text.c | 541 iscsit_tpgt_t *tpgt; local 559 tpgt = avl_first(&tgt->target_tpgt_list); 560 if (!(IS_DEFAULT_TPGT(tpgt))) { 562 &tpgt); 566 &v4sa, &tpgt); 573 iscsit_tpgt_rele(tpgt);
|
H A D | iscsit_login.c | 1287 iscsit_tpgt_t *tpgt = NULL; local 1329 tpgt = avl_first(&tgt->target_tpgt_list); 1331 if (IS_DEFAULT_TPGT(tpgt)) { 1342 sa, &tpgt); 1350 &v4sa, &tpgt); 1367 * tpgt after processing is complete. 1369 lsm->icl_tpgt_tag = tpgt->tpgt_tag; 1371 iscsit_tpgt_rele(tpgt);
|
H A D | iscsit_tgt.c | 142 iscsit_tpgt_destroy(iscsit_tpgt_t *tpgt); 999 iscsit_tpgt_t *tpgt, *next_tpgt; local 1001 for (tpgt = list_head(tpgt_del_list); 1002 tpgt != NULL; 1003 tpgt = next_tpgt) { 1004 next_tpgt = list_next(tpgt_del_list, tpgt); 1006 list_remove(tpgt_del_list, tpgt); 1007 idm_refcnt_wait_ref(&tpgt->tpgt_refcnt); 1008 iscsit_tpgt_destroy(tpgt); 1032 iscsit_tpgt_t *tpgt, *next_tpg local 1135 iscsit_tpgt_t *tpgt; local 1288 iscsit_tpgt_t *tpgt, *next_tpgt; local 1384 iscsit_tpgt_destroy(iscsit_tpgt_t *tpgt) argument 1394 iscsit_tpgt_hold(iscsit_tpgt_t *tpgt) argument 1400 iscsit_tpgt_rele(iscsit_tpgt_t *tpgt) argument 1422 iscsit_tpgt_t *tpgt, *tpgt_fail; local 1471 iscsit_tpgt_t *tpgt; local [all...] |
H A D | iscsit_isns.c | 90 * tpgt+portal information. 667 iscsit_tpgt_t *tpgt; local 690 tpgt = avl_first(&target->target_tpgt_list); 691 ASSERT(tpgt != NULL); 696 tig->ti_tpgt_tag = tpgt->tpgt_tag; 701 if (tpgt->tpgt_tag != ISCSIT_DEFAULT_TPGT) { 702 tpg = tpgt->tpgt_tpg; 719 tpgt = AVL_NEXT(&target->target_tpgt_list, tpgt); 720 } while (tpgt ! [all...] |
/illumos-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 602 it_tpgt_to_nv(it_tpgt_t *tpgt, nvlist_t **nvl) argument 610 if (!tpgt) { 620 ret = nvlist_add_uint16(*nvl, "tag", tpgt->tpgt_tag); 623 tpgt->tpgt_generation); 635 it_nv_to_tpgt(nvlist_t *nvl, char *name, it_tpgt_t **tpgt) argument 640 if (!tpgt || !name) { 644 *tpgt = NULL; 664 *tpgt = ptr; 730 it_tpgt_t *tpgt; local 757 ret = it_nv_to_tpgt(nvt, name, &tpgt); 1507 it_tpgt_free_cmn(it_tpgt_t *tpgt) argument [all...] |
/illumos-gate/usr/src/cmd/iscsiadm/ |
H A D | iscsiadm.h | 148 IMA_UINT16 tpgt; member in struct:_SUN_IMA_DISC_ADDRESS_KEY 160 IMA_BOOL defaultTpgt; /* If true, tpgt becomes irrelvant */ 161 IMA_UINT16 tpgt; member in struct:_SUN_IMA_TARGET_ADDRESS
|
H A D | iscsiadm_main.c | 171 uint16_t *tpgt, 349 "target-name,target-address[:port-number][,tpgt]"}, 731 (void) fprintf(stdout, ", %d", pList->keys[i].tpgt); 2152 IMA_UINT16 tpgt = 0; local 2207 &tpgt, 2234 tpgt; 2297 * have a tpgt specified. If 2300 * the default tpgt. In 2301 * either case, a tpgt 2306 if ((tpgt 2409 uint16_t tpgt; local 2753 IMA_UINT16 tpgt = 0; local 4034 IMA_UINT16 tpgt = 0; local 4289 IMA_UINT16 tpgt = 0; local 4474 IMA_UINT16 tpgt = 0; local 5329 parseTarget(char *targetStr, wchar_t *targetNameStr, size_t targetNameStrLen, boolean_t *targetAddressSpecified, wchar_t *targetAddressStr, size_t targetAddressStrLen, uint16_t *port, boolean_t *tpgtSpecified, uint16_t *tpgt, boolean_t *isIpv6) argument [all...] |
/illumos-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 653 it_tpgt_t *tpgt; local 747 ret = it_tpgt_create(cfg, tgtp, &tpgt, tags[i], tagid); 1070 it_tpgt_t *tpgt = NULL; local 1187 tpgt = tgtp->tgt_tpgt_list; 1188 while (tpgt) { 1194 if (strcmp(tpgt->tpgt_tpg_name, tags[i]) 1203 it_tpgt_t *ptr = tpgt; 1205 tpgt = ptr->tpgt_next; 1208 tpgt = tpgt [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi_sess.c | 114 struct sockaddr *addr_dsc, char *target_name, int tpgt, uchar_t isid_lsb, 136 if (isp->sess_tpgt_conf == tpgt) { 184 * sessions with different configured tpgt 188 (tpgt != ISCSI_DEFAULT_TPGT)) || 190 (tpgt == ISCSI_DEFAULT_TPGT)))) { 265 isp->sess_tpgt_conf = tpgt; 1294 /* no longer connected reset nego tpgt */ 1465 /* no longer connected reset nego tpgt */ 113 iscsi_sess_create(iscsi_hba_t *ihp, iSCSIDiscoveryMethod_t method, struct sockaddr *addr_dsc, char *target_name, int tpgt, uchar_t isid_lsb, iscsi_sess_type_t type, uint32_t *oid) argument
|
H A D | iscsid.c | 63 struct sockaddr *addr_dsc, char *target_name, int tpgt, 1088 struct sockaddr *addr_dsc, char *target_name, int tpgt, 1169 tpgt, isid, ISCSI_SESS_TYPE_NORMAL, &oid); 1087 iscsid_add(iscsi_hba_t *ihp, iSCSIDiscoveryMethod_t method, struct sockaddr *addr_dsc, char *target_name, int tpgt, struct sockaddr *addr_tgt) argument
|
/illumos-gate/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.c | 826 * target tpgt list (tgt_tpgt_list) in the it_tgt_t structure. The new 835 * tpgt Pointer to a target portal group tag structure 851 it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t **tpgt, argument 859 if (!cfg || !tgt || !tpgt || !tpg_name) { 927 *tpgt = ptr; 935 * Delete the target portal group tag represented by 'tpgt', where 936 * 'tpgt' is an existing is_tpgt_t structure within the target 'tgt'. 945 * tpgt Pointer to a target portal group tag structure 948 it_tpgt_delete(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t *tpgt) argument 953 if (!cfg || !tgt || !tpgt) { 990 it_tpgt_free(it_tpgt_t *tpgt) argument 1099 it_tpgt_t *tpgt; local [all...] |
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 96 IMA_UINT16 tpgt; member in struct:_SUN_IMA_DISC_ADDRESS_KEY 3253 (*ppList)->keys[ctr].tpgt = stl_hdr->stl_list[ctr].ste_tpgt;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/ |
H A D | idm.c | 243 int tpgt = 0, conn = 0, sess = 0, portal = 0; local 251 'g', MDB_OPT_SETBITS, TRUE, &tpgt, 265 idc.u.child.idc_tpgt = tpgt; 350 * Print tpgt information. 1167 mdb_warn("target tpgt list walk failed"); 1206 iscsit_tpgt_t tpgt; local 1214 if (mdb_vread(&tpgt, sizeof (iscsit_tpgt_t), addr) != 1219 tpg_addr = (uintptr_t)tpgt.tpgt_tpg; 1247 mdb_printf("%?p %?p %-18s 0x%04x\n", addr, tpgt.tpgt_tpg, 1248 tpg.tpg_name, tpgt [all...] |
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/ |
H A D | nvm_map.h | 684 u16_t tpgt; member in struct:iscsi_flash_session
|
/illumos-gate/usr/src/uts/common/io/cxgbe/firmware/ |
H A D | t4fw_interface.h | 1857 __be16 tpgt; member in struct:fw_rdev_wr::rdev_entry::iscsi_rdev_entry
|