Lines Matching defs:tpentp
468 tsol_tpent_t *tpentp;
478 while (tpentp = tsol_fgettpent(fp, &error)) {
488 if (tnrhtp(TNDB_LOAD, tpentp) != 0) {
495 "cache failed: %2$s\n"), tpentp->name,
500 tsol_freetpent(tpentp);
519 tsol_tpent_t *tpentp;
527 tpentp = tpstr_to_ent(&tpstr, &err, &errstr);
528 if (tpentp == NULL) {
534 tpentp = &tpent;
535 (void) strlcpy(tpentp->name, template, sizeof (tpentp->name));
536 } else if ((tpentp = tsol_gettpbyname(template)) == NULL) {
546 if (tnrhtp(delete_mode ? TNDB_DELETE : TNDB_LOAD, tpentp) != 0) {
555 tpentp->name);
561 tpentp->name, strerror(errno));
564 if (tpentp != &tpent)
565 tsol_freetpent(tpentp);