Home
last modified time | relevance | path

Searched refs:inst_iter (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dsvc.c244 scf_iter_t *inst_iter = NULL; in svc_enum() local
261 (inst_iter = scf_iter_create(hdl)) == NULL) in svc_enum()
271 if (scf_iter_service_instances(inst_iter, svc) != 0) in svc_enum()
290 while (scf_iter_next_instance(inst_iter, inst) == 1) { in svc_enum()
320 scf_iter_destroy(inst_iter); in svc_enum()
/titanic_44/usr/src/lib/libscf/common/
H A Dmidlevel.c1571 scf_iter_t *svc_iter = NULL, *inst_iter = NULL; in scf_simple_walk_instances() local
1584 ((inst_iter = scf_iter_create(h)) == NULL)) in scf_simple_walk_instances()
1598 if ((scf_iter_service_instances(inst_iter, svc)) != in scf_simple_walk_instances()
1603 scf_iter_next_instance(inst_iter, inst)) > 0) { in scf_simple_walk_instances()
1631 scf_iter_reset(inst_iter); in scf_simple_walk_instances()
1642 scf_iter_destroy(inst_iter); in scf_simple_walk_instances()
/titanic_44/usr/src/cmd/svc/startd/
H A Dlibscf.c2800 scf_iter_t *inst_iter; in libscf_populate_graph() local
2806 inst_iter = safe_scf_iter_create(h); in libscf_populate_graph()
2821 if (scf_iter_service_instances(inst_iter, svc) == -1) in libscf_populate_graph()
2824 while (scf_iter_next_instance(inst_iter, inst) > 0) { in libscf_populate_graph()
2842 scf_iter_destroy(inst_iter); in libscf_populate_graph()
/titanic_44/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c16234 scf_iter_t *inst_iter; in create_instance_list() local
16239 inst_iter = scf_iter_create(g_hndl); in create_instance_list()
16241 if (inst_iter == NULL || inst == NULL) { in create_instance_list()
16249 if (scf_iter_service_instances(inst_iter, svc) != 0) { in create_instance_list()
16266 while ((r = scf_iter_next_instance(inst_iter, inst)) != 0) { in create_instance_list()
16341 scf_iter_destroy(inst_iter); in create_instance_list()