Lines Matching refs:tpgt
814 * target tpgt list (tgt_tpgt_list) in the it_tgt_t structure. The new
823 * tpgt Pointer to a target portal group tag structure
839 it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t **tpgt,
847 if (!cfg || !tgt || !tpgt || !tpg_name) {
915 *tpgt = ptr;
923 * Delete the target portal group tag represented by 'tpgt', where
924 * 'tpgt' is an existing is_tpgt_t structure within the target 'tgt'.
933 * tpgt Pointer to a target portal group tag structure
936 it_tpgt_delete(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_t *tpgt)
941 if (!cfg || !tgt || !tpgt) {
947 if (ptr->tpgt_tag == tpgt->tpgt_tag) {
974 * Deallocates resources of an it_tpgt_t structure. If tpgt->next
978 it_tpgt_free(it_tpgt_t *tpgt)
980 it_tpgt_free_cmn(tpgt);
1087 it_tpgt_t *tpgt;
1113 tpgt = tgt->tgt_tpgt_list;
1114 while (tpgt) {
1115 ntpgt = tpgt->tpgt_next;
1117 if (strcmp(tpgt->tpgt_tpg_name, tpg->tpg_name)
1122 it_tpgt_delete(cfg, tgt, tpgt);
1125 tpgt = ntpgt;