Lines Matching defs:imp_inst

252 static scf_instance_t *imp_inst = NULL, *imp_tinst = NULL;
6352 if (scf_service_get_instance(rsvc, inst->sc_name, imp_inst) == 0) {
6353 if (scf_instance_get_snapshot(imp_inst, snap_lastimport,
6416 if (scf_instance_get_snapshot(imp_inst, snap_running,
6470 r = upgrade_props(imp_inst, running, imp_snpl, inst);
6522 imp_inst) != 0) {
6565 if (_scf_snapshot_take_new(imp_inst, snap_lastimport,
6610 r = lscf_import_instance_pgs(imp_inst, inst->sc_fmri, inst,
6643 ctx.sc_parent = imp_inst;
6664 r = take_snap(imp_inst, snap_initial, imp_snap);
6835 if ((ret = scf_service_get_instance(imp_svc, inst->sc_name, imp_inst))
6865 while ((ret = scf_instance_get_pg(imp_inst, SCF_PG_RESTARTER, imp_pg))
6928 ret = scf_instance_get_pg(imp_inst, SCF_PG_RESTARTER, imp_pg);
7337 r = scf_iter_next_instance(imp_iter, imp_inst);
7361 if (scf_instance_get_name(imp_inst, imp_str, imp_str_sz) < 0) {
7381 r = take_snap(imp_inst, snap_previous, imp_snap);
7430 imp_inst) != 0) {
7475 r = take_snap(imp_inst, snap_previous, imp_snap);
7533 r = scf_iter_next_instance(imp_iter, imp_inst);
7643 if (scf_instance_get_snapshot(imp_inst, snap_lastimport,
7672 if (scf_instance_get_pg(imp_inst, SCF_PG_GENERAL,
7727 if (scf_instance_get_name(imp_inst, imp_str,
7739 if (scf_instance_get_snapshot(imp_inst, snap_running,
7774 if (scf_instance_get_name(imp_inst, imp_str,
7789 if (scf_instance_get_name(imp_inst, imp_str,
7811 if (scf_instance_get_name(imp_inst, imp_str,
7966 r = refresh_entity(issvc, ent, fmri, imp_inst, imp_iter, imp_str);
8051 (imp_inst = scf_instance_create(g_hndl)) == NULL ||
8175 scf_instance_destroy(imp_inst);
8177 imp_inst = imp_tinst = NULL;
8519 * The global imp_svc and imp_inst should be set by the caller in the
8541 sc_ent = imp_inst;
8771 inst->sc_name, imp_inst) != 0)
8834 imp_inst) != 0) {
8860 if (scf_instance_get_snapshot(imp_inst, snap_lastimport,
8862 if (scf_instance_get_pg(imp_inst,
8876 r = lscf_import_instance_pgs(imp_inst, inst->sc_fmri,
8897 (void) refresh_entity(0, imp_inst,
8905 imp_inst, imp_iter, name_buf);