Home
last modified time | relevance | path

Searched refs:tpg (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_tgt.c119 iscsit_tpg_portal_lookup_locked(iscsit_tpg_t *tpg,
145 iscsit_tpg_create(it_tpg_t *tpg);
148 iscsit_tpg_modify(iscsit_tpg_t *tpg, it_tpg_t *cfg_tpg);
151 iscsit_tpg_destroy(iscsit_tpg_t *tpg);
154 iscsit_portal_create(iscsit_tpg_t *tpg, struct sockaddr_storage *sa);
1353 iscsit_tpg_t *tpg; in iscsit_tpgt_create() local
1357 tpg = iscsit_tpg_lookup_locked(cfg_tpgt->tpgt_tpg_name); in iscsit_tpgt_create()
1358 if (tpg == NULL) in iscsit_tpgt_create()
1363 result->tpgt_tpg = tpg; in iscsit_tpgt_create()
1508 iscsit_tpg_t *tpg, *next_tpg; in iscsit_config_merge_tpg() local
[all …]
H A Discsit.h817 iscsit_tpg_hold(iscsit_tpg_t *tpg);
820 iscsit_tpg_rele(iscsit_tpg_t *tpg);
826 iscsit_tpg_destroydefault(iscsit_tpg_t *tpg);
829 iscsit_tpg_online(iscsit_tpg_t *tpg);
832 iscsit_tpg_offline(iscsit_tpg_t *tpg);
835 iscsit_tpg_portal_lookup(iscsit_tpg_t *tpg, struct sockaddr_storage *sa);
H A Discsit_text.c238 iscsit_tpg_t *tpg; in iscsit_add_portals() local
245 tpg = tpg_list->tpgt_tpg; in iscsit_add_portals()
247 for (portal = avl_first(&tpg->tpg_portal_list); in iscsit_add_portals()
251 next_portal = AVL_NEXT(&tpg->tpg_portal_list, portal); in iscsit_add_portals()
H A Discsit_isns.c668 iscsit_tpg_t *tpg; in isnst_create_target_info() local
702 tpg = tpgt->tpgt_tpg; in isnst_create_target_info()
704 mutex_enter(&tpg->tpg_mutex); in isnst_create_target_info()
706 tp = avl_first(&tpg->tpg_portal_list); in isnst_create_target_info()
714 tp = AVL_NEXT(&tpg->tpg_portal_list, tp); in isnst_create_target_info()
716 mutex_exit(&tpg->tpg_mutex); in isnst_create_target_info()
/titanic_41/usr/src/uts/common/disp/
H A Dcmt_policy.c125 pg_cmt_t *pg, *pg_tmp, *tpg = NULL; in cmt_balance() local
181 tpg = pg_tmp; in cmt_balance()
189 if (!tpg) in cmt_balance()
196 if (cmt_should_migrate(pg, tpg, pg->cmt_policy, self)) in cmt_balance()
198 tpg = NULL; in cmt_balance()
208 if (tpg) { in cmt_balance()
209 uint_t tgt_size = GROUP_SIZE(&tpg->cmt_cpus_actv); in cmt_balance()
217 newcp = GROUP_ACCESS(&tpg->cmt_cpus_actv, cpu); in cmt_balance()
/titanic_41/usr/src/lib/libiscsit/common/
H A Dlibiscsit.h339 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name,
364 it_tpg_delete(it_config_t *cfg, it_tpg_t *tpg, boolean_t force);
391 it_portal_create(it_config_t *cfg, it_tpg_t *tpg, it_portal_t **portal,
410 it_portal_delete(it_config_t *cfg, it_tpg_t *tpg, it_portal_t *portal);
512 it_tpg_free(it_tpg_t *tpg);
H A Dlibiscsit.c1014 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, in it_tpg_create() argument
1021 if (!cfg || !tpg || !tpg_name || !portal_ip_port) { in it_tpg_create()
1025 *tpg = NULL; in it_tpg_create()
1058 *tpg = ptr; in it_tpg_create()
1085 it_tpg_delete(it_config_t *cfg, it_tpg_t *tpg, boolean_t force) in it_tpg_delete() argument
1093 if (!cfg || !tpg) { in it_tpg_delete()
1099 if (strcmp(ptr->tpg_name, tpg->tpg_name) == 0) { in it_tpg_delete()
1120 if (strcmp(tpgt->tpgt_tpg_name, tpg->tpg_name) in it_tpg_delete()
1155 it_tpg_free(it_tpg_t *tpg) in it_tpg_free() argument
1157 it_tpg_free_cmn(tpg); in it_tpg_free()
[all …]
/titanic_41/usr/src/cmd/itadm/
H A Ditadm.c213 create_tpg(char *tpg, int addrc, char **addrs);
216 list_tpg(char *tpg, boolean_t verbose, boolean_t script);
219 delete_tpg(char *tpg, boolean_t force);
651 it_tpg_t *tpg = NULL; in create_target() local
727 tpg = cfg->config_tpg_list; in create_target()
728 while (tpg != NULL) { in create_target()
729 if (strcmp(tags[i], tpg->tpg_name) == 0) { in create_target()
733 tpg = tpg->tpg_next; in create_target()
735 if (tpg == NULL) { in create_target()
1068 it_tpg_t *tpg = NULL; in modify_target() local
[all …]
/titanic_41/usr/src/common/iscsit/
H A Discsit_common.c783 it_tpg_to_nv(it_tpg_t *tpg, nvlist_t **nvl) in it_tpg_to_nv() argument
794 if (!tpg) { in it_tpg_to_nv()
804 ret = nvlist_add_uint64(*nvl, "generation", tpg->tpg_generation); in it_tpg_to_nv()
806 if ((ret == 0) && tpg->tpg_portal_list) { in it_tpg_to_nv()
808 portalArray = iscsit_zalloc(tpg->tpg_portal_count * in it_tpg_to_nv()
817 ptr = tpg->tpg_portal_list; in it_tpg_to_nv()
819 while (ptr && (i < tpg->tpg_portal_count)) { in it_tpg_to_nv()
844 tpg->tpg_portal_count * sizeof (it_portal_t)); in it_tpg_to_nv()
857 it_nv_to_tpg(nvlist_t *nvl, char *name, it_tpg_t **tpg) in it_nv_to_tpg() argument
864 if (!name || !tpg) { in it_nv_to_tpg()
[all …]
/titanic_41/usr/src/lib/mpapi/libmpscsi_vhci/common/
H A DMP_GetMPLuOidListFromTPG.c61 int tpg = 0; in checkTPGList() local
90 for (tpg = 0; tpg < ppList->oidCount; tpg++) { in checkTPGList()
92 mpStatus = getTargetPortGroupProperties(ppList->oids[tpg], in checkTPGList()
/titanic_41/usr/src/uts/common/sys/iscsit/
H A Discsit_common.h385 it_tpg_to_nv(it_tpg_t *tpg, nvlist_t **nvl);
388 it_nv_to_tpg(nvlist_t *nvl, char *name, it_tpg_t **tpg);
483 it_tpg_free_cmn(it_tpg_t *tpg);
/titanic_41/usr/src/cmd/mpathadm/
H A Dmpathadm.c747 int opListCount = 0, i = 0, lu = 0, tpg = 0, opoffset = 0, j = 0, in listLogicalUnit() local
954 for (tpg = 0; in listLogicalUnit()
956 (tpg < pTpgOidListArray->oidCount) && in listLogicalUnit()
957 (B_FALSE == bListIt); tpg++) { in listLogicalUnit()
959 MP_GetTargetPortOidList(pTpgOidListArray->oids[tpg], in listLogicalUnit()
1287 int pa, tpg, tport; in showIndividualLogicalUnit() local
1424 for (tpg = 0; tpg < pTPGOidListArray->oidCount; tpg++) { in showIndividualLogicalUnit()
1428 pTPGOidListArray->oids[tpg], &tpgProps); in showIndividualLogicalUnit()
1434 if (tpg > 0) { in showIndividualLogicalUnit()
1469 pTPGOidListArray->oids[tpg], in showIndividualLogicalUnit()
[all …]
/titanic_41/usr/src/uts/sun4u/starcat/io/
H A Ddman.c6497 man_pg_t *tpg; in man_pg_unassign() local
6531 tpg = tppg = *plpp; in man_pg_unassign()
6532 if (tpg == mpg) { in man_pg_unassign()
6533 *plpp = tpg->mpg_next; in man_pg_unassign()
6537 for (tpg = tpg->mpg_next; tpg != NULL; tpg = tpg->mpg_next) { in man_pg_unassign()
6538 if (tpg == mpg) in man_pg_unassign()
6540 tppg = tpg; in man_pg_unassign()
6543 ASSERT(tpg != NULL); in man_pg_unassign()
6545 tppg->mpg_next = tpg->mpg_next; in man_pg_unassign()
6546 tpg->mpg_next = NULL; in man_pg_unassign()
[all …]
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dmpapi_impl.c2728 mpapi_tpg_data_t *tpg; in vhci_mpapi_create_item() local
2733 tpg = kmem_zalloc( in vhci_mpapi_create_item()
2737 tpg->resp = tpg_res; in vhci_mpapi_create_item()
2738 tpg->valid = 1; in vhci_mpapi_create_item()
2739 tpg->prop.id = item->oid.raw_oid; in vhci_mpapi_create_item()
2743 tpg->prop.tpgId = in vhci_mpapi_create_item()
2745 tpg->tport_list = vhci_mpapi_create_list_head(); in vhci_mpapi_create_item()
2746 tpg->lu_list = vhci_mpapi_create_list_head(); in vhci_mpapi_create_item()
2747 item->idata = (void *)tpg; in vhci_mpapi_create_item()
/titanic_41/usr/src/cmd/mdb/common/modules/idm/
H A Didm.c1207 iscsit_tpg_t tpg; in iscsi_tpgt_impl() local
1224 if (mdb_vread(&tpg, sizeof (iscsit_tpg_t), tpg_addr) != in iscsi_tpgt_impl()
1248 tpg.tpg_name, tpgt.tpgt_tag); in iscsi_tpgt_impl()
1285 iscsit_tpg_t tpg; in iscsi_tpg_impl() local
1294 if (mdb_vread(&tpg, sizeof (iscsit_tpg_t), addr) != in iscsi_tpg_impl()
1314 mdb_printf("%?p %-18s\n", addr, tpg.tpg_name); in iscsi_tpg_impl()
/titanic_41/usr/src/lib/libscf/common/
H A Dlowlevel.c5160 char *s, *e, *te, *tpg; in scf_parse_svc_fmri() local
5228 tpg = strstr(s, SCF_FMRI_PROPERTYGRP_PREFIX); in scf_parse_svc_fmri()
5230 if (te != NULL && (tpg == NULL || te < tpg)) { in scf_parse_svc_fmri()
5239 te = tpg; in scf_parse_svc_fmri()
/titanic_41/usr/src/data/zoneinfo/
H A Dasia749 # http://subtpg.tpg.gov.tw/og/image2.asp?f=03502F0AKM1AF
750 # http://subtpg.tpg.gov.tw/og/image2.asp?f=0350300AKM1B0 (cont.)
755 # http://subtpg.tpg.gov.tw/og/image2.asp?f=0360310AKZ431