Lines Matching refs:issvc
451 entity_get_pg(void *ent, int issvc, const char *name, in entity_get_pg() argument
454 if (issvc) in entity_get_pg()
461 entity_destroy(void *ent, int issvc) in entity_destroy() argument
463 if (issvc) in entity_destroy()
581 entity_get_running_pg(void *ent, int issvc, const char *name, in entity_get_running_pg() argument
587 if (issvc) { in entity_get_running_pg()
700 r = get_snaplevel(snap, issvc, snpl); in entity_get_running_pg()
1760 int issvc; in private_refresh() local
1771 issvc = 0; in private_refresh()
1775 issvc = 1; in private_refresh()
1794 r = refresh_entity(issvc, ent, fmribuf, pinst, piter, NULL); in private_refresh()
1824 if (issvc) { in private_refresh()
1882 int issvc = lcb->sc_service; in find_current_prop_type() local
1902 issvc = (pg->sc_parent->sc_etype == SVCCFG_SERVICE_OBJECT); in find_current_prop_type()
1953 if (issvc == 0) { in find_current_prop_type()
1957 issvc = 1; in find_current_prop_type()
2046 if (issvc == 0) { in find_current_prop_type()
2050 issvc = 1; in find_current_prop_type()
2159 int issvc = (si->sc_etype == SVCCFG_SERVICE_OBJECT); in find_current_pg_type() local
2227 if (!issvc) { in find_current_pg_type()
2230 issvc = (si->sc_etype == SVCCFG_SERVICE_OBJECT); in find_current_pg_type()
2248 cb.sc_service = issvc; in find_current_pg_type()
2454 int issvc = lcbdata->sc_service; in entity_pgroup_import() local
2463 entity_get_pg(ent, issvc, p->sc_pgroup_name, imp_pg) == 0) { in entity_pgroup_import()
2469 if (!issvc && (lcbdata->sc_flags & SCI_GENERALLAST) && in entity_pgroup_import()
2476 if (issvc) in entity_pgroup_import()
2514 if (entity_get_pg(ent, issvc, p->sc_pgroup_name, imp_pg) != 0) { in entity_pgroup_import()
3504 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT); in upgrade_dependents() local
3512 if (entity_get_pg(ent, issvc, dependents, ud_cur_depts_pg) != 0) { in upgrade_dependents()
3537 r = entity_get_pg(ent, issvc, dependents, ud_run_dpts_pg); in upgrade_dependents()
3706 cbdata.sc_service = issvc; in upgrade_dependents()
3714 if (issvc) in upgrade_dependents()
3935 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT); in upgrade_manifestfiles() local
3949 r = entity_get_pg(ent, issvc, SCF_PG_MANIFESTFILES, in upgrade_manifestfiles()
3974 cbdata.sc_service = issvc; in upgrade_manifestfiles()
4047 cbdata.sc_service = issvc; in upgrade_manifestfiles()
5419 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT); in process_old_pg() local
5491 if (entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) { in process_old_pg()
5633 r = entity_get_pg(ent, issvc, imp_str, imp_pg2); in process_old_pg()
5722 entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) { in process_old_pg()
5771 cbdata.sc_service = issvc; in process_old_pg()
5798 entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) { in process_old_pg()
5818 cbdata.sc_service = issvc; in process_old_pg()
5920 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT); in upgrade_props() local
6054 r = entity_get_pg(ent, issvc, pg->sc_pgroup_name, in upgrade_props()
6089 cbdata.sc_service = issvc; in upgrade_props()
7945 int issvc; in imp_refresh_fmri() local
7952 serr = fmri_to_entity(g_hndl, fmri, &ent, &issvc); in imp_refresh_fmri()
7980 r = refresh_entity(issvc, ent, fmri, imp_inst, imp_iter, imp_str); in imp_refresh_fmri()
8042 if (issvc) in imp_refresh_fmri()
8550 const int issvc = (ent->sc_etype == SVCCFG_SERVICE_OBJECT); in lscf_dependent_apply() local
8552 if (issvc) in lscf_dependent_apply()
8557 if (entity_get_running_pg(sc_ent, issvc, dependents, imp_pg, in lscf_dependent_apply()