Searched refs:tpgt (Results 1 - 20 of 20) sorted by relevance

/opensolaris-onvv-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_tgt.c141 iscsit_tpgt_destroy(iscsit_tpgt_t *tpgt);
984 iscsit_tpgt_t *tpgt, *next_tpgt; local
986 for (tpgt = list_head(tpgt_del_list);
987 tpgt != NULL;
988 tpgt = next_tpgt) {
989 next_tpgt = list_next(tpgt_del_list, tpgt);
991 list_remove(tpgt_del_list, tpgt);
992 idm_refcnt_wait_ref(&tpgt->tpgt_refcnt);
993 iscsit_tpgt_destroy(tpgt);
1017 iscsit_tpgt_t *tpgt, *next_tpg local
1118 iscsit_tpgt_t *tpgt; local
1271 iscsit_tpgt_t *tpgt, *next_tpgt; local
1367 iscsit_tpgt_destroy(iscsit_tpgt_t *tpgt) argument
1377 iscsit_tpgt_hold(iscsit_tpgt_t *tpgt) argument
1383 iscsit_tpgt_rele(iscsit_tpgt_t *tpgt) argument
1405 iscsit_tpgt_t *tpgt, *tpgt_fail; local
1454 iscsit_tpgt_t *tpgt; local
[all...]
H A Discsit.h779 iscsit_tpgt_hold(iscsit_tpgt_t *tpgt);
782 iscsit_tpgt_rele(iscsit_tpgt_t *tpgt);
H A Discsit_isns.c90 * 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...]
H A Discsit_login.c1267 iscsit_tpgt_t *tpgt = NULL; local
1309 tpgt = avl_first(&tgt->target_tpgt_list);
1311 if (IS_DEFAULT_TPGT(tpgt)) {
1322 sa, &tpgt);
1330 &v4sa, &tpgt);
1347 * tpgt after processing is complete.
1349 lsm->icl_tpgt_tag = tpgt->tpgt_tag;
1351 iscsit_tpgt_rele(tpgt);
/opensolaris-onvv-gate/usr/src/lib/libiscsit/common/
H A Dlibiscsit.h42 #define CFG_TPGTLIST "tpgt-list"
255 * target tpgt list (tgt_tpgt_list) in the it_tgt_t structure. The new
264 * tpgt Pointer to a target portal group tag structure
280 it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t **tpgt,
286 * Delete the target portal group tag represented by 'tpgt', where
287 * 'tpgt' is an existing is_tpgt_t structure within the target 'tgt'.
296 * tpgt Pointer to a target portal group tag structure
299 it_tpgt_delete(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t *tpgt);
489 * Deallocates resources of an it_tpgt_t structure. If tpgt->next
493 it_tpgt_free(it_tpgt_t *tpgt);
[all...]
H A Dlibiscsit.c814 * target tpgt list (tgt_tpgt_list) in the it_tgt_t structure. The new
823 * tpgt Pointer to a target portal group tag structure
839 it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t **tpgt, argument
847 if (!cfg || !tgt || !tpgt || !tpg_name) {
915 *tpgt = ptr;
923 * Delete the target portal group tag represented by 'tpgt', where
924 * 'tpgt' is an existing is_tpgt_t structure within the target 'tgt'.
933 * tpgt Pointer to a target portal group tag structure
936 it_tpgt_delete(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t *tpgt) argument
941 if (!cfg || !tgt || !tpgt) {
978 it_tpgt_free(it_tpgt_t *tpgt) argument
1087 it_tpgt_t *tpgt; local
[all...]
/opensolaris-onvv-gate/usr/src/common/iscsi/
H A Dutils.c138 * 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;
/opensolaris-onvv-gate/usr/src/common/iscsit/
H A Discsit_common.c607 it_tpgt_to_nv(it_tpgt_t *tpgt, nvlist_t **nvl) argument
615 if (!tpgt) {
625 ret = nvlist_add_uint16(*nvl, "tag", tpgt->tpgt_tag);
628 tpgt->tpgt_generation);
640 it_nv_to_tpgt(nvlist_t *nvl, char *name, it_tpgt_t **tpgt) argument
645 if (!tpgt || !name) {
649 *tpgt = NULL;
669 *tpgt = ptr;
735 it_tpgt_t *tpgt; local
762 ret = it_nv_to_tpgt(nvt, name, &tpgt);
1512 it_tpgt_free_cmn(it_tpgt_t *tpgt) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/iscsiadm/
H A Discsiadm.h148 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 Discsiadm_main.c171 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...]
H A Dsun_ima.c347 pProps->staticTarget.targetAddress.tpgt = 0;
350 pProps->staticTarget.targetAddress.tpgt =
420 target.te_entry.e_tpgt = staticConfig.targetAddress.tpgt;
915 (*ppList)->keys[ctr].tpgt = stl_hdr->stl_list[ctr].ste_tpgt;
2952 (*ppList)->keys[ctr].tpgt = pg_list->pg_list[ctr].pg_tag;
/opensolaris-onvv-gate/usr/src/uts/common/sys/iscsit/
H A Discsit_common.h373 it_tpgt_to_nv(it_tpgt_t *tpgt, nvlist_t **nvl);
376 it_nv_to_tpgt(nvlist_t *nvl, char *name, it_tpgt_t **tpgt);
470 * Deallocates resources of an it_tpgt_t structure. If tpgt->next
474 it_tpgt_free_cmn(it_tpgt_t *tpgt);
H A Discsi_if.h197 * tpgt is only 16 bits per spec. use 32 in ioctl to reduce
198 * packing issue. Also -1 tpgt denotes default value. iSCSI
199 * stack will detemermine tpgt during login.
645 int *type, char **port, char **tpgt);
/opensolaris-onvv-gate/usr/src/cmd/itadm/
H A Ditadm.c631 it_tpgt_t *tpgt; local
725 ret = it_tpgt_create(cfg, tgtp, &tpgt, tags[i], tagid);
1048 it_tpgt_t *tpgt = NULL; local
1165 tpgt = tgtp->tgt_tpgt_list;
1166 while (tpgt) {
1172 if (strcmp(tpgt->tpgt_tpg_name, tags[i])
1181 it_tpgt_t *ptr = tpgt;
1183 tpgt = ptr->tpgt_next;
1186 tpgt = tpgt
[all...]
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/idm/
H A Didm.c243 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...]
/opensolaris-onvv-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_sess.c114 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 Discsid.c63 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
H A Discsi.h195 /* iSCSI login tpgt negotiation failed */
1289 char *target_name, int tpgt, uchar_t isid_lsb,
/opensolaris-onvv-gate/usr/src/uts/common/sys/scsi/adapters/
H A Discsi_if.h202 * tpgt is only 16 bits per spec. use 32 in ioctl to reduce
203 * packing issue. Also -1 tpgt denotes default value. iSCSI
204 * stack will detemermine tpgt during login.
687 int *type, char **port, char **tpgt);
/opensolaris-onvv-gate/usr/src/lib/libsun_ima/common/
H A Dima.c96 IMA_UINT16 tpgt; member in struct:_SUN_IMA_DISC_ADDRESS_KEY
3253 (*ppList)->keys[ctr].tpgt = stl_hdr->stl_list[ctr].ste_tpgt;

Completed in 377 milliseconds