Home
last modified time | relevance | path

Searched refs:svc_iter (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/lib/fm/topo/libtopo/common/
H A Dsvc.c243 scf_iter_t *svc_iter = NULL; in svc_enum() local
260 (svc_iter = scf_iter_create(hdl)) == NULL || in svc_enum()
267 if (scf_iter_scope_services(svc_iter, sc) != 0) in svc_enum()
270 while (scf_iter_next_service(svc_iter, svc) == 1) { in svc_enum()
319 scf_iter_destroy(svc_iter); in svc_enum()
/titanic_41/usr/src/lib/libscf/common/
H A Dmidlevel.c1571 scf_iter_t *svc_iter = NULL, *inst_iter = NULL; in scf_simple_walk_instances() local
1583 ((svc_iter = scf_iter_create(h)) == NULL) || in scf_simple_walk_instances()
1593 (scf_iter_scope_services(svc_iter, scope) != SCF_SUCCESS)) in scf_simple_walk_instances()
1596 while ((svc_iter_ret = scf_iter_next_service(svc_iter, svc)) > 0) { in scf_simple_walk_instances()
1641 scf_iter_destroy(svc_iter); in scf_simple_walk_instances()
/titanic_41/usr/src/cmd/svc/startd/
H A Dlibscf.c2799 scf_iter_t *svc_iter; in libscf_populate_graph() local
2805 svc_iter = safe_scf_iter_create(h); in libscf_populate_graph()
2817 if (scf_iter_scope_services(svc_iter, scope) == -1) in libscf_populate_graph()
2820 while (scf_iter_next_service(svc_iter, svc) > 0) { in libscf_populate_graph()
2843 scf_iter_destroy(svc_iter); in libscf_populate_graph()