Lines Matching defs:tgtp
452 it_tgt_t *tgtp = tgtlist;
474 while (tgtp) {
475 ret = it_tgt_to_nv(tgtp, &tnv);
481 ret = nvlist_add_nvlist(*nvl, tgtp->tgt_name, tnv);
489 tgtp = tgtp->tgt_next;
1481 it_tgt_t *tgtp = tgt;
1488 while (tgtp) {
1489 next = tgtp->tgt_next;
1491 if (tgtp->tgt_tpgt_list) {
1492 it_tpgt_free_cmn(tgtp->tgt_tpgt_list);
1495 if (tgtp->tgt_properties) {
1496 nvlist_free(tgtp->tgt_properties);
1499 iscsit_free(tgtp, sizeof (it_tgt_t));
1501 tgtp = next;