Lines Matching refs:issvc

448 entity_get_pg(void *ent, int issvc, const char *name,
451 if (issvc)
458 entity_destroy(void *ent, int issvc)
460 if (issvc)
557 * If issvc is 0, take ent to be a pointer to an scf_instance_t. If it has
562 * If issvc is nonzero, take ent to be a pointer to an scf_service_t, and walk
578 entity_get_running_pg(void *ent, int issvc, const char *name,
584 if (issvc) {
697 r = get_snaplevel(snap, issvc, snpl);
1742 int issvc;
1753 issvc = 0;
1757 issvc = 1;
1776 r = refresh_entity(issvc, ent, fmribuf, pinst, piter, NULL);
1806 if (issvc) {
1864 int issvc = lcb->sc_service;
1884 issvc = (pg->sc_parent->sc_etype == SVCCFG_SERVICE_OBJECT);
1935 if (issvc == 0) {
1939 issvc = 1;
2028 if (issvc == 0) {
2032 issvc = 1;
2141 int issvc = (si->sc_etype == SVCCFG_SERVICE_OBJECT);
2209 if (!issvc) {
2212 issvc = (si->sc_etype == SVCCFG_SERVICE_OBJECT);
2230 cb.sc_service = issvc;
2436 int issvc = lcbdata->sc_service;
2445 entity_get_pg(ent, issvc, p->sc_pgroup_name, imp_pg) == 0) {
2451 if (!issvc && (lcbdata->sc_flags & SCI_GENERALLAST) &&
2458 if (issvc)
2496 if (entity_get_pg(ent, issvc, p->sc_pgroup_name, imp_pg) != 0) {
3486 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT);
3494 if (entity_get_pg(ent, issvc, dependents, ud_cur_depts_pg) != 0) {
3519 r = entity_get_pg(ent, issvc, dependents, ud_run_dpts_pg);
3688 cbdata.sc_service = issvc;
3696 if (issvc)
3917 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT);
3931 r = entity_get_pg(ent, issvc, SCF_PG_MANIFESTFILES,
3956 cbdata.sc_service = issvc;
4033 cbdata.sc_service = issvc;
5405 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT);
5477 if (entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) {
5619 r = entity_get_pg(ent, issvc, imp_str, imp_pg2);
5708 entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) {
5757 cbdata.sc_service = issvc;
5784 entity_get_pg(ent, issvc, imp_str, imp_pg2) != 0) {
5804 cbdata.sc_service = issvc;
5906 const int issvc = (ient->sc_etype == SVCCFG_SERVICE_OBJECT);
6040 r = entity_get_pg(ent, issvc, pg->sc_pgroup_name,
6075 cbdata.sc_service = issvc;
7931 int issvc;
7938 serr = fmri_to_entity(g_hndl, fmri, &ent, &issvc);
7966 r = refresh_entity(issvc, ent, fmri, imp_inst, imp_iter, imp_str);
8028 if (issvc)
8536 const int issvc = (ent->sc_etype == SVCCFG_SERVICE_OBJECT);
8538 if (issvc)
8543 if (entity_get_running_pg(sc_ent, issvc, dependents, imp_pg,