Lines Matching refs:t_pg
1859 scf_pg_tmpl_t *t_pg = NULL;
1919 if ((t_pg = scf_tmpl_pg_create(g_hndl)) == NULL) {
1928 pg->sc_pgroup_name, NULL, t_pg,
1933 scf_tmpl_pg_destroy(t_pg);
1934 t_pg = NULL;
1979 * If we get here with t_pg set to NULL then we had to have
1981 * we are looking for. So if the t_pg is not null look up
1984 * If the t_pg is null then need to attempt to get a matching
1989 if (t_pg != NULL &&
1990 scf_tmpl_get_by_prop(t_pg, prop->sc_property_name,
2010 if (t_pg == NULL && sc_pg) {
2011 if ((t_pg = scf_tmpl_pg_create(g_hndl)) == NULL) {
2019 if (scf_tmpl_get_by_pg(sc_pg, t_pg, 0) != SCF_SUCCESS) {
2020 scf_tmpl_pg_destroy(t_pg);
2021 t_pg = NULL;
2099 scf_tmpl_pg_destroy(t_pg);
2139 scf_pg_tmpl_t *t_pg = NULL;
2191 if ((t_pg == NULL) &&
2192 (t_pg = scf_tmpl_pg_create(g_hndl)) == NULL)
2196 NULL, t_pg, SCF_PG_TMPL_FLAG_EXACT) == SCF_SUCCESS &&
2197 scf_tmpl_pg_type(t_pg, &pg_type) != -1) {
2252 scf_tmpl_pg_destroy(t_pg);