Home
last modified time | relevance | path

Searched refs:scf_instance_t (Results 1 – 25 of 59) sorted by relevance

123

/titanic_41/usr/src/cmd/svc/startd/
H A Dstartd.h348 int32_t libscf_get_stn_tset(scf_instance_t *);
453 scf_instance_t *ri_m_inst;
592 int expand_method_tokens(const char *, scf_instance_t *,
620 int dgraph_add_instance(const char *, scf_instance_t *, boolean_t);
623 int refresh_vertex(graph_vertex_t *, scf_instance_t *);
638 int libscf_instance_get_fmri(scf_instance_t *, char **);
639 int libscf_fmri_get_instance(scf_handle_t *, const char *, scf_instance_t **);
640 int libscf_lookup_instance(const char *, scf_instance_t *);
642 scf_snapshot_t *libscf_get_or_make_running_snapshot(scf_instance_t *,
644 int libscf_inst_set_count_prop(scf_instance_t *, const char *,
[all …]
H A Dlibscf.c107 libscf_get_running_snapshot(scf_instance_t *inst) in libscf_get_running_snapshot()
132 libscf_get_or_make_running_snapshot(scf_instance_t *inst, const char *fmri, in libscf_get_or_make_running_snapshot()
192 scf_instance_t *inst = NULL; in libscf_snapshots_poststart()
335 libscf_snapshots_refresh(scf_instance_t *inst, const char *fmri) in libscf_snapshots_refresh()
426 libscf_get_stn_tset(scf_instance_t *inst) in libscf_get_stn_tset()
481 scf_instance_t *inst = scf_instance_create(h); in libscf_get_global_stn_tset()
957 libscf_instance_get_fmri(scf_instance_t *inst, char **retp) in libscf_instance_get_fmri()
994 scf_instance_t **instp) in libscf_fmri_get_instance()
996 scf_instance_t *inst; in libscf_fmri_get_instance()
1012 libscf_lookup_instance(const char *fmri, scf_instance_t *inst) in libscf_lookup_instance()
[all …]
H A Dexpand.c107 get_prop(const scf_instance_t *inst, scf_snapshot_t *snap, in get_prop()
155 get_prop_val_str(const scf_instance_t *inst, scf_snapshot_t *snap, in get_prop_val_str()
161 scf_instance_t *tmpinst = NULL; in get_prop_val_str()
357 expand_token(const char *str, scf_instance_t *inst, scf_snapshot_t *snap, in expand_token()
556 expand_method_tokens(const char *str, scf_instance_t *inst, in expand_method_tokens()
H A Dgraph.c1852 scf_instance_t *scf_inst = safe_scf_instance_create(h); in offline_vertex()
2046 static int configure_vertex(graph_vertex_t *, scf_instance_t *);
2132 scf_instance_t *inst; in graph_change_restarter()
2188 scf_instance_t *inst; in add_service()
2345 scf_instance_t *inst; in process_dependency_fmri()
2694 set_dependencies(graph_vertex_t *v, scf_instance_t *inst, int **pathp) in set_dependencies()
2917 scf_instance_t *inst; in eval_subgraph()
3013 refresh_vertex(graph_vertex_t *v, scf_instance_t *inst) in refresh_vertex()
3145 configure_vertex(graph_vertex_t *v, scf_instance_t *inst) in configure_vertex()
3907 scf_instance_t *inst; in single_user_thread()
[all …]
/titanic_41/usr/src/lib/librestart/common/
H A Dlibrestart.h260 int restarter_store_contract(scf_instance_t *, ctid_t,
262 int restarter_remove_contract(scf_instance_t *, ctid_t,
312 mc_error_t *restarter_get_method_context(uint_t, scf_instance_t *,
324 int restarter_inst_validate_ractions_aux_fmri(scf_instance_t *);
327 int restarter_inst_reset_ractions_aux_fmri(scf_instance_t *);
330 int restarter_inst_ractions_from_tty(scf_instance_t *);
333 int restarter_inst_reset_aux_fmri(scf_instance_t *);
336 int restarter_inst_dump(scf_instance_t *);
342 int restarter_inst_set_aux_fmri(scf_instance_t *);
H A Dlibrestart.c982 instance_get_or_add_pg(scf_instance_t *inst, const char *name, in instance_get_or_add_pg()
1134 scf_instance_t *s_inst = NULL; in _restarter_commit_states()
1368 restarter_remove_contract(scf_instance_t *s_inst, ctid_t contract_id, in restarter_remove_contract()
1667 restarter_store_contract(scf_instance_t *s_inst, ctid_t contract_id, in restarter_store_contract()
2789 restarter_get_method_context(uint_t version, scf_instance_t *inst, in restarter_get_method_context()
3777 restarter_inst_validate_ractions_aux_fmri(scf_instance_t *inst) in restarter_inst_validate_ractions_aux_fmri()
3826 restarter_inst_ractions_from_tty(scf_instance_t *inst) in restarter_inst_ractions_from_tty()
3865 restarter_inst_dump(scf_instance_t *inst) in restarter_inst_dump()
3910 restarter_inst_set_astring_prop(scf_instance_t *inst, const char *pgname, in restarter_inst_set_astring_prop()
3964 restarter_inst_set_aux_fmri(scf_instance_t *inst) in restarter_inst_set_aux_fmri()
[all …]
/titanic_41/usr/src/lib/libscf/inc/
H A Dlibscf.h47 typedef struct scf_instance scf_instance_t; typedef
511 int scf_iter_instance_pgs(scf_iter_t *, const scf_instance_t *);
512 int scf_iter_instance_pgs_composed(scf_iter_t *, const scf_instance_t *,
516 int scf_iter_instance_pgs_typed(scf_iter_t *, const scf_instance_t *,
518 int scf_iter_instance_pgs_typed_composed(scf_iter_t *, const scf_instance_t *,
523 int scf_iter_instance_snapshots(scf_iter_t *, const scf_instance_t *);
529 int scf_iter_next_instance(scf_iter_t *, scf_instance_t *);
559 scf_instance_t *scf_instance_create(scf_handle_t *);
560 scf_handle_t *scf_instance_handle(const scf_instance_t *);
561 void scf_instance_destroy(scf_instance_t *);
[all …]
H A Dlibscf_priv.h185 int _scf_snapshot_take_new(scf_instance_t *, const char *, scf_snapshot_t *);
186 int _scf_snapshot_take_new_named(scf_instance_t *,
188 int _scf_snapshot_take_attach(scf_instance_t *, scf_snapshot_t *);
215 int _smf_refresh_instance_i(scf_instance_t *);
220 scf_instance_t *inst;
308 scf_instance_t *inst;
534 scf_instance_delete_prop(scf_instance_t *, const char *, const char *);
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c428 static int ra_get_pg(scf_handle_t *, scf_instance_t *, const char *,
430 static int ra_get_boolean_prop(scf_handle_t *, scf_instance_t *,
432 static int ra_get_single_prop_as_string(scf_handle_t *, scf_instance_t *,
434 static int ra_get_prop_as_string(scf_handle_t *, scf_instance_t *,
438 static int ra_set_boolean_prop(scf_handle_t *, scf_instance_t *,
440 static int ra_set_prop_from_string(scf_handle_t *, scf_instance_t *,
898 scf_instance_t *inst = wip->inst; in ra_upgrade_legacy_daemons_cb()
1343 scf_instance_t *inst = wip->inst; in ra_routing_opt_set_unset_cb()
1371 scf_instance_t *inst = wip->inst; in ra_get_set_opt_common_cb()
1574 scf_instance_t *inst = wip->inst; in ra_set_default_opt_cb()
[all …]
/titanic_41/usr/src/cmd/svc/svcadm/
H A Dsynch.c55 extern int inst_get_state(scf_instance_t *, char *, const char *,
63 int has_potential(scf_instance_t *, int);
71 is_enabled(scf_instance_t *inst) in is_enabled()
246 inst_has_potential(scf_instance_t *inst, int enabled, int optional, int exclude) in inst_has_potential()
300 scf_instance_t *inst; in fmri_has_potential()
451 has_potential(scf_instance_t *inst, int restarter_only) in has_potential()
H A Dsvcadm.c119 extern int is_enabled(scf_instance_t *);
120 extern int has_potential(scf_instance_t *, int);
439 pg_get_or_add(const scf_instance_t *inst, const char *pgname, in pg_get_or_add()
502 restarter_setup(const char *fmri, const scf_instance_t *inst) in restarter_setup()
584 set_inst_enabled(const char *fmri, scf_instance_t *inst, boolean_t temp, in set_inst_enabled()
788 get_inst_mult(const char *fmri, scf_instance_t *inst) in get_inst_mult()
793 scf_instance_t *inst2; in get_inst_mult()
893 get_inst(const char *fmri, scf_instance_t *inst) in get_inst()
907 inst_get_fmri(const scf_instance_t *inst) in inst_get_fmri()
960 scf_instance_t *inst; in multiple_instances()
[all …]
/titanic_41/usr/src/lib/libscf/common/
H A Dnotify_params.c191 get_pg(scf_service_t *s, scf_instance_t *i, const char *n, in get_pg()
241 get_or_add_pg(scf_service_t *s, scf_instance_t *i, const char *n, const char *t, in get_or_add_pg()
283 del_pg(scf_service_t *s, scf_instance_t *i, const char *n, in del_pg()
835 scf_instance_t **i) in decode_fmri()
1271 scf_instance_t *i = scf_instance_create(h); in smf_notify_set_params()
1508 get_stn_pg(scf_service_t *s, scf_instance_t *i, scf_instance_t *g, in get_stn_pg()
1582 scf_instance_t *i = scf_instance_create(h); in _scf_get_svc_notify_params()
1583 scf_instance_t *g = scf_instance_create(h); in _scf_get_svc_notify_params()
1706 scf_instance_t *i = scf_instance_create(h); in _scf_get_fma_notify_params()
1883 scf_instance_t *i = scf_instance_create(h); in smf_notify_del_params()
H A Dmidlevel.c478 get_inst_enabled(const scf_instance_t *inst, const char *pgname) in get_inst_enabled()
516 set_inst_enabled(const scf_instance_t *inst, uint8_t desired, in set_inst_enabled()
649 delete_inst_enabled(const scf_instance_t *inst, const char *pgname) in delete_inst_enabled()
712 set_inst_action_inst(scf_instance_t *inst, const char *action) in set_inst_action_inst()
920 scf_instance_t *inst; in set_inst_action()
962 get_inst_state(scf_instance_t *inst, scf_handle_t *h) in get_inst_state()
1018 set_inst_enabled_atboot(scf_instance_t *inst, uint8_t desired) in set_inst_enabled_atboot()
1058 scf_instance_t *inst; in set_inst_enabled_flags()
1162 _smf_refresh_instance_i(scf_instance_t *inst) in _smf_refresh_instance_i()
1171 scf_instance_t *i = scf_instance_create(h); in _smf_refresh_all_instances()
[all …]
H A Dlowlevel.c1292 scf_instance_t *inst; in handle_unrefed()
2502 scf_iter_next_instance(scf_iter_t *iter, scf_instance_t *out) in scf_iter_next_instance()
2522 scf_iter_instance_snapshots(scf_iter_t *iter, const scf_instance_t *inst) in scf_iter_instance_snapshots()
2535 scf_iter_instance_pgs(scf_iter_t *iter, const scf_instance_t *inst) in scf_iter_instance_pgs()
2542 scf_iter_instance_pgs_typed(scf_iter_t *iter, const scf_instance_t *inst, in scf_iter_instance_pgs_typed()
2549 scf_iter_instance_pgs_composed(scf_iter_t *iter, const scf_instance_t *inst, in scf_iter_instance_pgs_composed()
2561 const scf_instance_t *inst, const scf_snapshot_t *snap, const char *type) in scf_iter_instance_pgs_typed_composed()
2737 scf_instance_delete(scf_instance_t *inst) in scf_instance_delete()
2771 scf_instance_t *instance) in scf_service_add_instance()
2786 scf_instance_t *inst) in scf_service_get_instance()
[all …]
H A Dlowlevel_impl.h96 scf_instance_t *rh_instance;
/titanic_41/usr/src/cmd/svc/svcs/
H A Dsvcs.h57 int inst_get_single_val(scf_instance_t *, const char *, const char *,
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/inetadm/
H A Dinetadm.c188 modify_prop(const scf_instance_t *inst, const char *pg, const char *prop, in modify_prop()
320 delete_prop(const scf_instance_t *inst, const char *pg, const char *prop) in delete_prop()
386 commit_props(const scf_instance_t *inst, inetd_prop_t *mod, boolean_t defaults) in commit_props()
442 list_callback(scf_handle_t *hin, scf_instance_t *inst, void *buf) in list_callback()
755 scf_instance_t *inst = wip->inst; in modify_inst_props_cb()
887 scf_instance_t *inst; in modify_defaults()
/titanic_41/usr/src/lib/libshare/common/
H A Dscfutil.h49 scf_instance_t *instance;
/titanic_41/usr/src/cmd/ipf/svc/
H A Dipfd.c97 static scf_instance_t *inst;
361 service_is_rpc(const scf_instance_t *inst) in service_is_rpc()
419 instance_has_firewall(scf_instance_t *inst) in instance_has_firewall()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dsmfcfg.h59 scf_instance_t *fs_instance;
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsvcctl_scm.c183 scf_instance_t *inst) in svcctl_scm_get_running_snapshot()
211 svcctl_scm_inst_get_val(svcctl_manager_context_t *mgr_ctx, scf_instance_t *inst, in svcctl_scm_inst_get_val()
244 scf_instance_t *inst, const char *pname, char *buf, size_t buf_sz) in svcctl_scm_get_restarter_string_prop()
258 scf_instance_t *inst) in svcctl_scm_svc_transitioning()
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Didmap_config.h57 scf_instance_t *instance;
/titanic_41/usr/src/lib/libshare/smbfs/
H A Dlibshare_smbfs.h100 scf_instance_t *scf_instance;
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_create.c63 add_property_group_to_instance(scf_handle_t *handle, scf_instance_t *instance, in add_property_group_to_instance()
176 add_pg_method(scf_handle_t *handle, scf_instance_t *instance, in add_pg_method()
307 scf_instance_t *instance; in create_instance()
/titanic_41/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_impl.h166 scf_instance_t *sr_inst;

123