Lines Matching refs:tpgt
826 * target tpgt list (tgt_tpgt_list) in the it_tgt_t structure. The new
835 * tpgt Pointer to a target portal group tag structure
851 it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t **tpgt,
859 if (!cfg || !tgt || !tpgt || !tpg_name) {
927 *tpgt = ptr;
935 * Delete the target portal group tag represented by 'tpgt', where
936 * 'tpgt' is an existing is_tpgt_t structure within the target 'tgt'.
945 * tpgt Pointer to a target portal group tag structure
948 it_tpgt_delete(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t *tpgt)
953 if (!cfg || !tgt || !tpgt) {
959 if (ptr->tpgt_tag == tpgt->tpgt_tag) {
986 * Deallocates resources of an it_tpgt_t structure. If tpgt->next
990 it_tpgt_free(it_tpgt_t *tpgt)
992 it_tpgt_free_cmn(tpgt);
1099 it_tpgt_t *tpgt;
1125 tpgt = tgt->tgt_tpgt_list;
1126 while (tpgt) {
1127 ntpgt = tpgt->tpgt_next;
1129 if (strcmp(tpgt->tpgt_tpg_name, tpg->tpg_name)
1134 it_tpgt_delete(cfg, tgt, tpgt);
1137 tpgt = ntpgt;