/opensolaris-onvv-gate/usr/src/uts/common/disp/ |
H A D | cmt_policy.c | 125 pg_cmt_t *pg, *pg_tmp, *tpg = NULL; local 181 tpg = pg_tmp; 189 if (!tpg) 196 if (cmt_should_migrate(pg, tpg, pg->cmt_policy, self)) 198 tpg = NULL; 208 if (tpg) { 209 uint_t tgt_size = GROUP_SIZE(&tpg->cmt_cpus_actv); 217 newcp = GROUP_ACCESS(&tpg->cmt_cpus_actv, cpu);
|
/opensolaris-onvv-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_tgt.c | 118 iscsit_tpg_portal_lookup_locked(iscsit_tpg_t *tpg, 144 iscsit_tpg_create(it_tpg_t *tpg); 147 iscsit_tpg_modify(iscsit_tpg_t *tpg, it_tpg_t *cfg_tpg); 150 iscsit_tpg_destroy(iscsit_tpg_t *tpg); 153 iscsit_portal_create(iscsit_tpg_t *tpg, struct sockaddr_storage *sa); 1306 * received from the ioctl -- a missing tpg. 1336 iscsit_tpg_t *tpg; local 1340 tpg = iscsit_tpg_lookup_locked(cfg_tpgt->tpgt_tpg_name); 1341 if (tpg == NULL) 1346 result->tpgt_tpg = tpg; 1491 iscsit_tpg_t *tpg, *next_tpg; local 1546 iscsit_tpg_t *tpg, *next_tpg; local 1591 iscsit_tpg_t *tpg; local 1610 iscsit_tpg_modify(iscsit_tpg_t *tpg, it_tpg_t *cfg_tpg) argument 1651 iscsit_tpg_destroy(iscsit_tpg_t *tpg) argument 1672 iscsit_tpg_hold(iscsit_tpg_t *tpg) argument 1678 iscsit_tpg_rele(iscsit_tpg_t *tpg) argument 1686 iscsit_tpg_t *tpg; local 1706 iscsit_tpg_destroydefault(iscsit_tpg_t *tpg) argument 1743 iscsit_tpg_online(iscsit_tpg_t *tpg) argument 1777 iscsit_tpg_offline(iscsit_tpg_t *tpg) argument 1794 iscsit_tpg_portal_lookup(iscsit_tpg_t *tpg, struct sockaddr_storage *sa) argument 1806 iscsit_tpg_portal_lookup_locked(iscsit_tpg_t *tpg, struct sockaddr_storage *sa) argument 1823 iscsit_portal_create(iscsit_tpg_t *tpg, struct sockaddr_storage *sa) argument [all...] |
H A D | iscsit.h | 49 #define ISCSIT_DEFAULT_TPG "iscsit-default-tpg" 811 iscsit_tpg_hold(iscsit_tpg_t *tpg); 814 iscsit_tpg_rele(iscsit_tpg_t *tpg); 820 iscsit_tpg_destroydefault(iscsit_tpg_t *tpg); 823 iscsit_tpg_online(iscsit_tpg_t *tpg); 826 iscsit_tpg_offline(iscsit_tpg_t *tpg); 829 iscsit_tpg_portal_lookup(iscsit_tpg_t *tpg, struct sockaddr_storage *sa);
|
H A D | iscsit_text.c | 255 iscsit_tpg_t *tpg; local 262 tpg = tpg_list->tpgt_tpg; 264 for (portal = avl_first(&tpg->tpg_portal_list); 268 next_portal = AVL_NEXT(&tpg->tpg_portal_list, portal);
|
H A D | iscsit_isns.c | 668 iscsit_tpg_t *tpg; local 702 tpg = tpgt->tpgt_tpg; 704 mutex_enter(&tpg->tpg_mutex); 706 tp = avl_first(&tpg->tpg_portal_list); 714 tp = AVL_NEXT(&tpg->tpg_portal_list, tp); 716 mutex_exit(&tpg->tpg_mutex);
|
/opensolaris-onvv-gate/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.h | 306 * tpg list (cfg_tgt_list) in the it_config_t structure. The new target 313 * tpg Pointer to the it_tpg_t structure representing 329 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, 335 * Delete target portal group represented by 'tpg', where 'tpg' is an 343 * tpg Pointer to the it_tpg_t structure representing 354 it_tpg_delete(it_config_t *cfg, it_tpg_t *tpg, boolean_t force); 367 * tpg Pointer to the it_tpg_t structure representing the 381 it_portal_create(it_config_t *cfg, it_tpg_t *tpg, it_portal_t **portal, 394 * tpg Pointe [all...] |
H A D | libiscsit.c | 988 * tpg list (cfg_tgt_list) in the it_config_t structure. The new target 995 * tpg Pointer to the it_tpg_t structure representing 1011 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, argument 1018 if (!cfg || !tpg || !tpg_name || !portal_ip_port) { 1022 *tpg = NULL; 1055 *tpg = ptr; 1063 * Delete target portal group represented by 'tpg', where 'tpg' is an 1071 * tpg Pointer to the it_tpg_t structure representing 1082 it_tpg_delete(it_config_t *cfg, it_tpg_t *tpg, boolean_ argument 1152 it_tpg_free(it_tpg_t *tpg) argument 1182 it_portal_create(it_config_t *cfg, it_tpg_t *tpg, it_portal_t **portal, char *portal_ip_port) argument 1252 it_portal_delete(it_config_t *cfg, it_tpg_t *tpg, it_portal_t *portal) argument [all...] |
/opensolaris-onvv-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 89 {"tpg-tag", required_argument, NULL, 't'}, 97 [-l alias] [-t tpg-name[,tpg-name,...]]"; 101 [-l alias] [-t tpg-name[,tpg-name,...]] target-node-name"; 107 static char c_tpg[] = "itadm create-tpg tpg-name IP-address[:port] \ 110 static char l_tpg[] = "itadm list-tpg [-v] [tpg-name]"; 112 static char d_tpg[] = "itadm delete-tpg [ 629 it_tpg_t *tpg = NULL; local 1046 it_tpg_t *tpg = NULL; local 1282 create_tpg(char *tpg, int addrc, char **addrs) argument 1403 list_tpg(char *tpg, boolean_t verbose, boolean_t script) argument 1506 delete_tpg(char *tpg, boolean_t force) argument [all...] |
/opensolaris-onvv-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 788 it_tpg_to_nv(it_tpg_t *tpg, nvlist_t **nvl) argument 799 if (!tpg) { 809 ret = nvlist_add_uint64(*nvl, "generation", tpg->tpg_generation); 811 if ((ret == 0) && tpg->tpg_portal_list) { 813 portalArray = iscsit_zalloc(tpg->tpg_portal_count * 822 ptr = tpg->tpg_portal_list; 824 while (ptr && (i < tpg->tpg_portal_count)) { 849 tpg->tpg_portal_count * sizeof (it_portal_t)); 862 it_nv_to_tpg(nvlist_t *nvl, char *name, it_tpg_t **tpg) argument 869 if (!name || !tpg) { 1024 it_portal_lookup(it_tpg_t *tpg, struct sockaddr_storage *sa) argument 1057 it_tpg_t *tpg; local 1537 it_tpg_free_cmn(it_tpg_t *tpg) argument [all...] |
/opensolaris-onvv-gate/usr/src/lib/mpapi/libmpscsi_vhci/common/ |
H A D | MP_GetMPLuOidListFromTPG.c | 61 int tpg = 0; local 90 for (tpg = 0; tpg < ppList->oidCount; tpg++) { 92 mpStatus = getTargetPortGroupProperties(ppList->oids[tpg],
|
/opensolaris-onvv-gate/usr/src/uts/common/sys/iscsit/ |
H A D | iscsit_common.h | 385 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); 480 * If tpg->next is not NULL, frees all members of the list. 483 it_tpg_free_cmn(it_tpg_t *tpg);
|
/opensolaris-onvv-gate/usr/src/cmd/mpathadm/ |
H A D | mpathadm.c | 747 int opListCount = 0, i = 0, lu = 0, tpg = 0, opoffset = 0, j = 0, local 954 for (tpg = 0; 956 (tpg < pTpgOidListArray->oidCount) && 957 (B_FALSE == bListIt); tpg++) { 959 MP_GetTargetPortOidList(pTpgOidListArray->oids[tpg], 993 } /* for each tpg */ 1287 int pa, tpg, tport; local 1412 /* get tpg info */ 1419 /* display tpg info only if is assymetric */ 1424 for (tpg 1645 int tpg; local [all...] |
/opensolaris-onvv-gate/usr/src/uts/sun4u/starcat/io/ |
H A D | dman.c | 6497 man_pg_t *tpg; local 6531 tpg = tppg = *plpp; 6532 if (tpg == mpg) { 6533 *plpp = tpg->mpg_next; 6537 for (tpg = tpg->mpg_next; tpg != NULL; tpg = tpg->mpg_next) { 6538 if (tpg 6713 man_pg_t *tpg; local [all...] |
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/idm/ |
H A D | idm.c | 615 /* get and print the global default tpg */ 631 mdb_warn("list walk failed for global tpg tree"); 1207 iscsit_tpg_t tpg; local 1224 if (mdb_vread(&tpg, sizeof (iscsit_tpg_t), tpg_addr) != 1248 tpg.tpg_name, tpgt.tpgt_tag); 1285 iscsit_tpg_t tpg; local 1294 if (mdb_vread(&tpg, sizeof (iscsit_tpg_t), addr) != 1308 /* Print tpg data */ 1314 mdb_printf("%?p %-18s\n", addr, tpg.tpg_name);
|
/opensolaris-onvv-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | mpapi_impl.c | 740 "tpg: OID NOT FOUND - TPG IS INVALID")); 1479 "tpg: OID NOT FOUND")); 1493 "tpg: Unknown Error")); 1520 "tpg: ddi_copyout() FAILED")); 2728 mpapi_tpg_data_t *tpg; local 2733 tpg = kmem_zalloc( 2737 tpg->resp = tpg_res; 2738 tpg->valid = 1; 2739 tpg->prop.id = item->oid.raw_oid; 2743 tpg [all...] |
/opensolaris-onvv-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 5096 char *s, *e, *te, *tpg; local 5164 tpg = strstr(s, SCF_FMRI_PROPERTYGRP_PREFIX); 5166 if (te != NULL && (tpg == NULL || te < tpg)) { 5175 te = tpg;
|