Lines Matching refs:issvc
448 entity_get_pg(void *ent, int issvc, const char *name, in entity_get_pg() argument
451 if (issvc) in entity_get_pg()
458 entity_destroy(void *ent, int issvc) in entity_destroy() argument
460 if (issvc) in entity_destroy()
578 entity_get_running_pg(void *ent, int issvc, const char *name, in entity_get_running_pg() argument
584 if (issvc) { in entity_get_running_pg()
697 r = get_snaplevel(snap, issvc, snpl); in entity_get_running_pg()
1742 int issvc; in private_refresh() local
1753 issvc = 0; in private_refresh()
1757 issvc = 1; in private_refresh()
1776 r = refresh_entity(issvc, ent, fmribuf, pinst, piter, NULL); in private_refresh()
1806 if (issvc) { in private_refresh()
1864 int issvc = lcb->sc_service; in find_current_prop_type() local
1884 issvc = (pg->sc_parent->sc_etype == SVCCFG_SERVICE_OBJECT); in find_current_prop_type()
1935 if (issvc == 0) { in find_current_prop_type()
1939 issvc = 1; in find_current_prop_type()
2028 if (issvc == 0) { in find_current_prop_type()
2032 issvc = 1; in find_current_prop_type()
2141 int issvc = (si->sc_etype == SVCCFG_SERVICE_OBJECT); in find_current_pg_type() local
2209 if (!issvc) { in find_current_pg_type()
2212 issvc = (si->sc_etype == SVCCFG_SERVICE_OBJECT); in find_current_pg_type()
2230 cb.sc_service = issvc; in find_current_pg_type()
2436 int issvc = lcbdata->sc_service; in entity_pgroup_import() local
2445 entity_get_pg(ent, issvc, p->sc_pgroup_name, imp_pg) == 0) { in entity_pgroup_import()
2451 if (!issvc && (lcbdata->sc_flags & SCI_GENERALLAST) && in entity_pgroup_import()
2458 if (issvc) in entity_pgroup_import()
2496 if (entity_get_pg(ent, issvc, p->sc_pgroup_name, imp_pg) != 0) { in entity_pgroup_import()
3486 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT); in upgrade_dependents() local
3494 if (entity_get_pg(ent, issvc, dependents, ud_cur_depts_pg) != 0) { in upgrade_dependents()
3519 r = entity_get_pg(ent, issvc, dependents, ud_run_dpts_pg); in upgrade_dependents()
3688 cbdata.sc_service = issvc; in upgrade_dependents()
3696 if (issvc) in upgrade_dependents()
3917 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT); in upgrade_manifestfiles() local
3931 r = entity_get_pg(ent, issvc, SCF_PG_MANIFESTFILES, in upgrade_manifestfiles()
3956 cbdata.sc_service = issvc; in upgrade_manifestfiles()
4033 cbdata.sc_service = issvc; in upgrade_manifestfiles()
5405 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT); in process_old_pg() local
5477 if (entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) { in process_old_pg()
5619 r = entity_get_pg(ent, issvc, imp_str, imp_pg2); in process_old_pg()
5708 entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) { in process_old_pg()
5757 cbdata.sc_service = issvc; in process_old_pg()
5784 entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) { in process_old_pg()
5804 cbdata.sc_service = issvc; in process_old_pg()
5906 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT); in upgrade_props() local
6040 r = entity_get_pg(ent, issvc, pg->sc_pgroup_name, in upgrade_props()
6075 cbdata.sc_service = issvc; in upgrade_props()
7931 int issvc; in imp_refresh_fmri() local
7938 serr = fmri_to_entity(g_hndl, fmri, &ent, &issvc); in imp_refresh_fmri()
7966 r = refresh_entity(issvc, ent, fmri, imp_inst, imp_iter, imp_str); in imp_refresh_fmri()
8028 if (issvc) in imp_refresh_fmri()
8536 const int issvc = (ent->sc_etype == SVCCFG_SERVICE_OBJECT); in lscf_dependent_apply() local
8538 if (issvc) in lscf_dependent_apply()
8543 if (entity_get_running_pg(sc_ent, issvc, dependents, imp_pg, in lscf_dependent_apply()