Lines Matching refs:te
2985 tmpl_errors_destroy(tmpl_errors_t *te) in tmpl_errors_destroy() argument
2991 if (te == NULL) in tmpl_errors_destroy()
2993 if (te->te_list) { in tmpl_errors_destroy()
2994 while ((ite = uu_list_teardown(te->te_list, &marker)) != NULL) { in tmpl_errors_destroy()
2999 uu_list_destroy(te->te_list); in tmpl_errors_destroy()
3001 if (te->te_scf) { in tmpl_errors_destroy()
3003 while ((ste = uu_list_teardown(te->te_scf, &marker)) != NULL) { in tmpl_errors_destroy()
3006 uu_list_destroy(te->te_scf); in tmpl_errors_destroy()
3008 uu_free(te); in tmpl_errors_destroy()
3022 tmpl_errors_t *te; in tmpl_errors_create() local
3024 te = uu_zalloc(sizeof (*te)); in tmpl_errors_create()
3025 if (te == NULL) in tmpl_errors_create()
3027 te->te_list = uu_list_create(inmem_errors_pool, NULL, TMPL_DEBUG_LIST); in tmpl_errors_create()
3028 if (te->te_list == NULL) { in tmpl_errors_create()
3029 uu_free(te); in tmpl_errors_create()
3032 te->te_scf = uu_list_create(tv_errors_pool, NULL, TMPL_DEBUG_LIST); in tmpl_errors_create()
3033 if (te->te_scf == NULL) { in tmpl_errors_create()
3034 tmpl_errors_destroy(te); in tmpl_errors_create()
3038 return (te); in tmpl_errors_create()