/illumos-gate/usr/src/cmd/svc/svcs/ |
H A D | svcs.c | 700 * the appropriate filename using wip->fmri and stores that in the 712 * during the generation of the wip->fmri based filename 779 ctids_by_restarter(scf_walkinfo_t *wip, uint64_t *cp, int print_flag, argument 796 rest_ret = common_by_restarter(wip->inst, wip->fmri, restarter_specp); 827 wip->fmri); 1009 sprint_ctid(char **buf, scf_walkinfo_t *wip) argument 1019 * Only check for non-legacy services (wip->pg == 0). 1021 if (wip->pg != NULL) { 1022 r = pg_get_single_val(wip 1051 sortkey_ctid(char *buf, int reverse, scf_walkinfo_t *wip) argument 1094 sprint_desc(char **buf, scf_walkinfo_t *wip) argument 1138 sortkey_desc(char *buf, int reverse, scf_walkinfo_t *wip) argument 1186 sortkey_states(const char *pname, char *buf, int reverse, scf_walkinfo_t *wip) argument 1220 sprint_state(char **buf, scf_walkinfo_t *wip) argument 1254 sortkey_state(char *buf, int reverse, scf_walkinfo_t *wip) argument 1260 sprint_nstate(char **buf, scf_walkinfo_t *wip) argument 1293 sortkey_nstate(char *buf, int reverse, scf_walkinfo_t *wip) argument 1299 sprint_s(char **buf, scf_walkinfo_t *wip) argument 1328 sprint_n(char **buf, scf_walkinfo_t *wip) argument 1354 sprint_sn(char **buf, scf_walkinfo_t *wip) argument 1388 sortkey_sn(char *buf, int reverse, scf_walkinfo_t *wip) argument 1416 sprint_sta(char **buf, scf_walkinfo_t *wip) argument 1441 sprint_nsta(char **buf, scf_walkinfo_t *wip) argument 1467 sprint_fmri(char **buf, scf_walkinfo_t *wip) argument 1501 sortkey_fmri(char *buf, int reverse, scf_walkinfo_t *wip) argument 1515 sprint_scope(char **buf, scf_walkinfo_t *wip) argument 1535 sortkey_scope(char *buf, int reverse, scf_walkinfo_t *wip) argument 1547 sprint_service(char **buf, scf_walkinfo_t *wip) argument 1579 sortkey_service(char *buf, int reverse, scf_walkinfo_t *wip) argument 1592 sprint_instance(char **buf, scf_walkinfo_t *wip) argument 1616 sortkey_instance(char *buf, int reverse, scf_walkinfo_t *wip) argument 1639 sprint_stime(char **buf, scf_walkinfo_t *wip) argument 1696 sortkey_stime(char *buf, int reverse, scf_walkinfo_t *wip) argument 1732 sprint_zone(char **buf, scf_walkinfo_t *wip) argument 1761 sortkey_zone(char *buf, int reverse, scf_walkinfo_t *wip) argument 2038 detailed_list_processes(scf_walkinfo_t *wip) argument 2210 print_application_properties(scf_walkinfo_t *wip, scf_snapshot_t *snap) argument 2418 print_detailed(void *unused, scf_walkinfo_t *wip) argument 2647 print_log(void *unused, scf_walkinfo_t *wip) argument 2886 print_notify(void *unused, scf_walkinfo_t *wip) argument 2902 add_processes(scf_walkinfo_t *wip, char *line, scf_propertygroup_t *lpg) argument 2971 list_instance(void *unused, scf_walkinfo_t *wip) argument 3058 list_if_enabled(void *unused, scf_walkinfo_t *wip) argument 3076 list_svc_or_inst_fmri(void *complain, scf_walkinfo_t *wip) argument 3179 walk_dependencies(scf_walkinfo_t *wip, scf_walk_callback callback, void *data) argument 3265 list_dependencies(void *data, scf_walkinfo_t *wip) argument 3285 check_against_provider(void *arg, scf_walkinfo_t *wip) argument 3320 list_if_dependent(void *unused, scf_walkinfo_t *wip) argument 3335 list_dependents(void *unused, scf_walkinfo_t *wip) argument [all...] |
H A D | explain.c | 2081 print_service_cb(void *verbose, scf_walkinfo_t *wip) argument 2086 assert(wip->pg == NULL); 2088 r = get_fmri(wip->fmri, NULL, &ip);
|
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | ctfmerge.h | 45 typedef struct wip { struct
|
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 1686 set_fmri_enabled(void *data, scf_walkinfo_t *wip) argument 1690 assert(wip->inst != NULL); 1691 assert(wip->pg == NULL); 1696 if (inst_get_state(wip->inst, state, wip->fmri, NULL) != 0) 1712 assert(strlen(wip->fmri) <= max_scf_fmri_sz); 1713 (void) strlcpy(fmri_buf, wip->fmri, max_scf_fmri_sz); 1730 set_inst_enabled(wip->fmri, wip->inst, 1739 wait_fmri_enabled(void *data, scf_walkinfo_t *wip) argument 1809 wait_fmri_disabled(void *data, scf_walkinfo_t *wip) argument 1868 clear_instance(void *data, scf_walkinfo_t *wip) argument 1897 set_fmri_action(void *action, scf_walkinfo_t *wip) argument 1922 force_degraded(void *data, scf_walkinfo_t *wip) argument 1948 force_maintenance(void *data, scf_walkinfo_t *wip) argument [all...] |
/illumos-gate/usr/src/cmd/svc/svcprop/ |
H A D | svcprop.c | 686 process_fmri(void *unused, scf_walkinfo_t *wip) argument 691 if (wip->count > 1) 694 if (wip->prop != NULL) { 695 process_prop(wip->pg, wip->prop); 696 } else if (wip->pg != NULL) { 697 process_pg(wip->pg); 698 } else if (wip->inst != NULL) { 699 SCF_ENTITY_SET_TO_INSTANCE(ent, wip->inst); 703 assert(wip 772 do_wait(void *unused, scf_walkinfo_t *wip) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | svcctl_scm.c | 276 char **buf, scf_walkinfo_t *wip) 286 if (wip->pg == NULL) { 287 svcctl_scm_get_restarter_string_prop(mgr_ctx, wip->inst, 296 if (svcctl_scm_svc_transitioning(mgr_ctx, wip->inst)) 315 char **buf, scf_walkinfo_t *wip) 326 if (wip->pg != NULL) 328 else if (svcctl_scm_inst_get_val(mgr_ctx, wip->inst, 360 char **buf, scf_walkinfo_t *wip) 371 if (wip->pg == NULL) { 372 if (scf_instance_to_fmri(wip 275 svcctl_scm_get_svcstate(svcctl_manager_context_t *mgr_ctx, char **buf, scf_walkinfo_t *wip) argument 314 svcctl_scm_get_svcdesc(svcctl_manager_context_t *mgr_ctx, char **buf, scf_walkinfo_t *wip) argument 359 svcctl_scm_get_svcfmri(svcctl_manager_context_t *mgr_ctx, char **buf, scf_walkinfo_t *wip) argument 438 svcctl_scm_cb_list_svcinst(void *context, scf_walkinfo_t *wip) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/ |
H A D | routeadm.c | 895 ra_upgrade_legacy_daemons_cb(void *data, scf_walkinfo_t *wip) argument 897 const char *inst_fmri = wip->fmri; 898 scf_instance_t *inst = wip->inst; 1295 ra_set_current_opt_cb(void *data, scf_walkinfo_t *wip) argument 1297 return (ra_get_set_opt_common_cb(data, wip, B_FALSE, B_FALSE)); 1305 ra_set_persistent_opt_cb(void *data, scf_walkinfo_t *wip) argument 1307 return (ra_get_set_opt_common_cb(data, wip, B_TRUE, B_FALSE)); 1311 ra_get_current_opt_cb(void *data, scf_walkinfo_t *wip) argument 1313 return (ra_get_set_opt_common_cb(data, wip, B_FALSE, B_TRUE)); 1317 ra_get_persistent_opt_cb(void *data, scf_walkinfo_t *wip) argument 1323 ra_routing_opt_set_cb(void *data, scf_walkinfo_t *wip) argument 1329 ra_routing_opt_unset_cb(void *data, scf_walkinfo_t *wip) argument 1341 ra_routing_opt_set_unset_cb(raopt_t *raopt, scf_walkinfo_t *wip, boolean_t set) argument 1367 ra_get_set_opt_common_cb(raopt_t *raopt, scf_walkinfo_t *wip, boolean_t persistent, boolean_t get) argument 1572 ra_set_default_opt_cb(void *data, scf_walkinfo_t *wip) argument 1583 ra_get_default_opt_cb(void *data, scf_walkinfo_t *wip) argument 1601 ra_get_persistent_var_cb(void *data, scf_walkinfo_t *wip) argument 1612 ra_set_persistent_var_cb(void *data, scf_walkinfo_t *wip) argument 1624 ra_get_default_var_cb(void *data, scf_walkinfo_t *wip) argument 1643 ra_mark_routing_svcs_cb(void *data, scf_walkinfo_t *wip) argument 1675 ra_list_props_cb(void *data, scf_walkinfo_t *wip) argument 1814 ra_modify_props_cb(void *data, scf_walkinfo_t *wip) argument 1854 ra_print_state_cb(void *data, scf_walkinfo_t *wip) argument [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg_delete.c | 84 count_inst_cb(void *arg, scf_walkinfo_t *wip) argument 88 if (wip->inst != NULL)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetadm/ |
H A D | inetadm.c | 567 list_props_cb(void *data, scf_walkinfo_t *wip) argument 570 const char *instname = wip->fmri; 672 set_svc_enable_cb(void *data, scf_walkinfo_t *wip) argument 675 const char *instname = wip->fmri; 750 modify_inst_props_cb(void *data, scf_walkinfo_t *wip) argument 754 const char *fmri = wip->fmri; 755 scf_instance_t *inst = wip->inst;
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 8562 * Found the dependents/<wip dep> so check to 8565 * delete the wip dependency from the service 10818 export_callback(void *data, scf_walkinfo_t *wip) argument 10868 (void) xmlAddChild(sb, export_service(wip->svc, argsp->flags)); 11300 select_callback(void *unused, scf_walkinfo_t *wip) argument 11306 if (wip->inst != NULL) { 11312 if (scf_handle_decode_fmri(g_hndl, wip->fmri, scope, svc, 11316 assert(wip->svc != NULL); 11322 if (scf_handle_decode_fmri(g_hndl, wip->fmri, scope, svc, 11343 validate_callback(void *fmri_p, scf_walkinfo_t *wip) argument 12597 delete_callback(void *data, scf_walkinfo_t *wip) argument 16943 lscf_service_cleanup(void *act, scf_walkinfo_t *wip) argument [all...] |