/illumos-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);
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_tgt.c | 119 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); 1323 * received from the ioctl -- a missing tpg. 1353 iscsit_tpg_t *tpg; local 1357 tpg = iscsit_tpg_lookup_locked(cfg_tpgt->tpgt_tpg_name); 1358 if (tpg == NULL) 1363 result->tpgt_tpg = tpg; 1508 iscsit_tpg_t *tpg, *next_tpg; local 1563 iscsit_tpg_t *tpg, *next_tpg; local 1608 iscsit_tpg_t *tpg; local 1627 iscsit_tpg_modify(iscsit_tpg_t *tpg, it_tpg_t *cfg_tpg) argument 1668 iscsit_tpg_destroy(iscsit_tpg_t *tpg) argument 1689 iscsit_tpg_hold(iscsit_tpg_t *tpg) argument 1695 iscsit_tpg_rele(iscsit_tpg_t *tpg) argument 1703 iscsit_tpg_t *tpg; local 1723 iscsit_tpg_destroydefault(iscsit_tpg_t *tpg) argument 1760 iscsit_tpg_online(iscsit_tpg_t *tpg) argument 1794 iscsit_tpg_offline(iscsit_tpg_t *tpg) argument 1811 iscsit_tpg_portal_lookup(iscsit_tpg_t *tpg, struct sockaddr_storage *sa) argument 1823 iscsit_tpg_portal_lookup_locked(iscsit_tpg_t *tpg, struct sockaddr_storage *sa) argument 1840 iscsit_portal_create(iscsit_tpg_t *tpg, struct sockaddr_storage *sa) argument [all...] |
H A D | iscsit.h | 52 #define ISCSIT_DEFAULT_TPG "iscsit-default-tpg" 818 iscsit_tpg_hold(iscsit_tpg_t *tpg); 821 iscsit_tpg_rele(iscsit_tpg_t *tpg); 827 iscsit_tpg_destroydefault(iscsit_tpg_t *tpg); 830 iscsit_tpg_online(iscsit_tpg_t *tpg); 833 iscsit_tpg_offline(iscsit_tpg_t *tpg); 836 iscsit_tpg_portal_lookup(iscsit_tpg_t *tpg, struct sockaddr_storage *sa);
|
H A D | iscsit_text.c | 238 iscsit_tpg_t *tpg; local 245 tpg = tpg_list->tpgt_tpg; 247 for (portal = avl_first(&tpg->tpg_portal_list); 251 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);
|
/illumos-gate/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.h | 316 * tpg list (cfg_tgt_list) in the it_config_t structure. The new target 323 * tpg Pointer to the it_tpg_t structure representing 339 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, 345 * Delete target portal group represented by 'tpg', where 'tpg' is an 353 * tpg Pointer to the it_tpg_t structure representing 364 it_tpg_delete(it_config_t *cfg, it_tpg_t *tpg, boolean_t force); 377 * tpg Pointer to the it_tpg_t structure representing the 391 it_portal_create(it_config_t *cfg, it_tpg_t *tpg, it_portal_t **portal, 404 * tpg Pointe [all...] |
H A D | libiscsit.c | 1000 * tpg list (cfg_tgt_list) in the it_config_t structure. The new target 1007 * tpg Pointer to the it_tpg_t structure representing 1023 it_tpg_create(it_config_t *cfg, it_tpg_t **tpg, char *tpg_name, argument 1030 if (!cfg || !tpg || !tpg_name || !portal_ip_port) { 1034 *tpg = NULL; 1067 *tpg = ptr; 1075 * Delete target portal group represented by 'tpg', where 'tpg' is an 1083 * tpg Pointer to the it_tpg_t structure representing 1094 it_tpg_delete(it_config_t *cfg, it_tpg_t *tpg, boolean_ argument 1164 it_tpg_free(it_tpg_t *tpg) argument 1194 it_portal_create(it_config_t *cfg, it_tpg_t *tpg, it_portal_t **portal, char *portal_ip_port) argument 1264 it_portal_delete(it_config_t *cfg, it_tpg_t *tpg, it_portal_t *portal) argument [all...] |
/illumos-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 92 {"tpg-tag", required_argument, NULL, 't'}, 102 " [-t <tpg-name>[,<tpg-name>]...]"; 108 " [-t <tpg-name>[,<tpg-name>]...] <target-node-name>"; 117 " create-tpg <tpg-name> <IP-address>[:<port>]..."; 120 " list-tpg [-pv] [<tpg-name>]"; 123 " delete-tpg [ 651 it_tpg_t *tpg = NULL; local 1068 it_tpg_t *tpg = NULL; local 1304 create_tpg(char *tpg, int addrc, char **addrs) argument 1425 list_tpg(char *tpg, boolean_t verbose, boolean_t script) argument 1528 delete_tpg(char *tpg, boolean_t force) argument [all...] |
/illumos-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 783 it_tpg_to_nv(it_tpg_t *tpg, nvlist_t **nvl) argument 794 if (!tpg) { 804 ret = nvlist_add_uint64(*nvl, "generation", tpg->tpg_generation); 806 if ((ret == 0) && tpg->tpg_portal_list) { 808 portalArray = iscsit_zalloc(tpg->tpg_portal_count * 817 ptr = tpg->tpg_portal_list; 819 while (ptr && (i < tpg->tpg_portal_count)) { 844 tpg->tpg_portal_count * sizeof (it_portal_t)); 857 it_nv_to_tpg(nvlist_t *nvl, char *name, it_tpg_t **tpg) argument 864 if (!name || !tpg) { 1019 it_portal_lookup(it_tpg_t *tpg, struct sockaddr_storage *sa) argument 1052 it_tpg_t *tpg; local 1532 it_tpg_free_cmn(it_tpg_t *tpg) argument [all...] |
/illumos-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],
|
/illumos-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);
|
/illumos-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...] |
/illumos-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...] |
/illumos-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);
|
/illumos-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...] |
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 5160 char *s, *e, *te, *tpg; local 5228 tpg = strstr(s, SCF_FMRI_PROPERTYGRP_PREFIX); 5230 if (te != NULL && (tpg == NULL || te < tpg)) { 5239 te = tpg;
|