Searched defs:svc_iter (Results 1 - 3 of 3) sorted by relevance

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

Completed in 221 milliseconds