Lines Matching defs:pt_svc
91 scf_service_t *pt_svc;
183 assert(t->pt_svc != NULL || t->pt_inst != NULL);
184 assert(t->pt_svc == NULL || t->pt_inst == NULL);
194 r = scf_service_to_fmri(t->pt_svc, buf, sz);
1875 pg_tmpl->pt_svc = p->pw_svc;
2034 pg_tmpl->pt_svc = p->pw_svc;
2064 assert(t->pt_svc != NULL || t->pt_inst != NULL);
2065 assert(t->pt_svc == NULL || t->pt_inst == NULL);
2077 if (t->pt_svc != NULL)
2078 ret = scf_iter_service_pgs_typed(iter, t->pt_svc,
2123 * Before we drop any references to pt_inst or pt_svc we must
2133 if (t->pt_svc != t->pt_orig_svc)
2134 scf_service_destroy(t->pt_svc);
2135 t->pt_svc = t->pt_orig_svc;
2152 if (t->pt_svc != t->pt_orig_svc)
2153 scf_service_destroy(t->pt_svc);
2154 t->pt_svc = NULL;
2162 if (t->pt_svc != t->pt_orig_svc)
2163 scf_service_destroy(t->pt_svc);
2164 t->pt_svc = NULL;
2175 } while (t->pt_inst == NULL && t->pt_svc == NULL);
2532 if (t->pt_svc != t->pt_orig_svc)
2533 scf_service_destroy(t->pt_svc);
2554 if (t->pt_svc != t->pt_orig_svc)
2555 scf_service_destroy(t->pt_svc);
2557 t->pt_svc = NULL;
2614 if (_get_pg(t->pt_svc, t->pt_inst, t->pt_snap,
2729 assert(t->pt_inst == NULL || t->pt_svc == NULL);
2730 assert(t->pt_inst != NULL || t->pt_svc != NULL);
2749 else if (t->pt_svc != NULL)
2750 err = scf_iter_service_pgs_typed(iter, t->pt_svc,