Searched defs:ptpg (Results 1 - 2 of 2) sorted by relevance

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

Completed in 49 milliseconds