Searched refs:svc_iter (Results 1 – 3 of 3) sorted by relevance
243 scf_iter_t *svc_iter = NULL; in svc_enum() local260 (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()
2807 scf_iter_t *svc_iter; in libscf_populate_graph() local2813 svc_iter = safe_scf_iter_create(h); in libscf_populate_graph()2825 if (scf_iter_scope_services(svc_iter, scope) == -1) in libscf_populate_graph()2828 while (scf_iter_next_service(svc_iter, svc) > 0) { in libscf_populate_graph()2851 scf_iter_destroy(svc_iter); in libscf_populate_graph()
1631 scf_iter_t *svc_iter = NULL, *inst_iter = NULL; in scf_simple_walk_instances() local1643 ((svc_iter = scf_iter_create(h)) == NULL) || in scf_simple_walk_instances()1653 (scf_iter_scope_services(svc_iter, scope) != SCF_SUCCESS)) in scf_simple_walk_instances()1656 while ((svc_iter_ret = scf_iter_next_service(svc_iter, svc)) > 0) { in scf_simple_walk_instances()1701 scf_iter_destroy(svc_iter); in scf_simple_walk_instances()