Searched refs:scf_inst (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dconfig.c637 scf_instance_t *scf_inst = NULL; local
649 if (((scf_inst = scf_instance_create(rep_handle)) != NULL) &&
651 scf_inst, NULL, NULL, SCF_DECODE_FMRI_EXACT) == 0))
654 scf_instance_destroy(scf_inst);
658 (void) scf_instance_destroy(scf_inst);
659 scf_inst = NULL;
667 RESTARTER_METHOD_CONTEXT_VERSION, scf_inst, NULL, method, path,
674 scf_instance_destroy(scf_inst);
H A Dinetd.c298 scf_instance_t *scf_inst; local
305 if ((scf_inst = scf_instance_create(h)) == NULL)
312 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, scf_inst,
315 *scf_instp = scf_inst;
326 scf_instance_destroy(scf_inst);
343 scf_instance_t *scf_inst = NULL; local
363 if (fmri_to_instance(inst->fmri, &scf_inst) == 0) {
372 if (restarter_inst_ractions_from_tty(scf_inst) == 0)
380 scf_inst) == 0) {
381 if (restarter_inst_set_aux_fmri(scf_inst))
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Drestarter.c250 scf_instance_t *scf_inst)
267 r = restarter_remove_contract(scf_inst, *ctidp, primary ?
320 scf_instance_t *scf_inst; local
368 scf_inst = safe_scf_instance_create(h);
387 if (scf_handle_decode_fmri(h, name, NULL, scf_svc, scf_inst, NULL,
406 snap = libscf_get_running_snapshot(scf_inst);
409 (scf_instance_get_name(scf_inst, inst_name, max_scf_name_size) <
444 r = scf_instance_get_pg(scf_inst, SCF_PG_RESTARTER, pg);
507 switch (libscf_get_startd_properties(scf_inst, snap, &inst->ri_flags,
535 r = libscf_get_template_values(scf_inst, sna
249 check_contract(restarter_inst_t *inst, boolean_t primary, scf_instance_t *scf_inst) argument
1596 scf_instance_t *scf_inst = NULL; local
[all...]
H A Dlibscf.c2861 scf_instance_t *scf_inst = NULL; local
2871 scf_inst = safe_scf_instance_create(h);
2895 if (scf_handle_decode_fmri(h, inst->ri_i.i_fmri, NULL, NULL, scf_inst,
2904 if (scf_instance_get_pg_composed(scf_inst, snap, name, pg) == -1) {
2928 error = expand_method_tokens(method, scf_inst, snap, type, &ret);
2964 if (scf_instance_get_pg_composed(scf_inst, snap, SCF_PG_STARTD,
3094 scf_instance_destroy(scf_inst);
H A Dgraph.c1853 scf_instance_t *scf_inst = safe_scf_instance_create(h); local
1860 if (scf_inst == NULL)
1867 if (scf_handle_decode_fmri(h, v->gv_name, NULL, NULL, scf_inst, NULL,
1876 scf_instance_destroy(scf_inst);
1885 r = scf_instance_get_pg(scf_inst, SCF_PG_RESTARTER, pg);
1895 scf_instance_destroy(scf_inst);
1911 scf_instance_destroy(scf_inst);
1919 scf_instance_destroy(scf_inst);
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dexplain.c1684 scf_instance_t *scf_inst = scf_instance_create(h); local
1685 if (scf_inst == NULL)
1688 if (scf_handle_decode_fmri(h, fmri, NULL, NULL, scf_inst,
1690 print_logs(scf_inst);
1692 scf_instance_destroy(scf_inst);

Completed in 89 milliseconds