Home
last modified time | relevance | path

Searched refs:ptpg (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/common/iscsit/
H A Discsit_common.c860 it_tpg_t *ptpg; in it_nv_to_tpg() local
870 ptpg = iscsit_zalloc(sizeof (it_tpg_t)); in it_nv_to_tpg()
871 if (ptpg == NULL) { in it_nv_to_tpg()
875 (void) strlcpy(ptpg->tpg_name, name, sizeof (ptpg->tpg_name)); in it_nv_to_tpg()
878 &(ptpg->tpg_generation)); in it_nv_to_tpg()
888 ISCSI_LISTEN_PORT, &ptpg->tpg_portal_list, in it_nv_to_tpg()
889 &ptpg->tpg_portal_count); in it_nv_to_tpg()
895 *tpg = ptpg; in it_nv_to_tpg()
897 it_tpg_free_cmn(ptpg); in it_nv_to_tpg()
/illumos-gate/usr/src/cmd/itadm/
H A Ditadm.c1532 it_tpg_t *ptpg = NULL; in delete_tpg() local
1550 ptpg = cfg->config_tpg_list; in delete_tpg()
1551 for (; ptpg != NULL; ptpg = ptpg->tpg_next) { in delete_tpg()
1552 if (strcmp(tpg, ptpg->tpg_name) == 0) { in delete_tpg()
1557 if (!ptpg) { in delete_tpg()
1564 ret = it_tpg_delete(cfg, ptpg, force); in delete_tpg()