Lines Matching defs:handle_iter

191 get_props_kva_all(asi_scfhandle_t *handle, asi_scfhandle_iter_t *handle_iter,
204 while (scf_iter_next_property(handle_iter->prop, handle->prop) == 1) {
222 handle_iter->prop_val) != 0 &&
234 if (scf_value_get_boolean(handle_iter->prop_val,
255 if (scf_value_get_as_string(handle_iter->prop_val,
277 if (scf_value_get_count(handle_iter->prop_val,
318 get_plugin_kva(asi_scfhandle_t *handle, asi_scfhandle_iter_t *handle_iter,
329 if (scf_iter_instance_pgs_typed(handle_iter->pgrp, handle->inst,
335 while (scf_iter_next_pg(handle_iter->pgrp, handle->pgrp) == 1) {
366 if (scf_iter_pg_properties(handle_iter->prop,
373 if (!get_props_kva_all(handle, handle_iter,
466 scf_free_iter(asi_scfhandle_iter_t *handle_iter)
468 if (handle_iter == NULL) {
472 if (handle_iter->pgrp != NULL) {
473 scf_iter_destroy(handle_iter->pgrp);
475 if (handle_iter->prop != NULL) {
476 scf_iter_destroy(handle_iter->prop);
478 if (handle_iter->prop_val != NULL) {
479 scf_value_destroy(handle_iter->prop_val);
487 scf_init_iter(asi_scfhandle_iter_t *handle_iter,
490 bzero(handle_iter, sizeof (asi_scfhandle_iter_t));
492 if ((handle_iter->pgrp = scf_iter_create(handle->hndl)) == NULL) {
495 if ((handle_iter->prop = scf_iter_create(handle->hndl)) == NULL) {
498 if ((handle_iter->prop_val = scf_value_create(handle->hndl)) == NULL) {
506 scf_free_iter(handle_iter);
1027 asi_scfhandle_iter_t handle_iter;
1061 if (!scf_init_iter(&handle_iter, &handle)) {
1070 rv = get_plugin_kva(&handle, &handle_iter, plugin_kva_ll, NULL);
1072 rv = get_plugin_kva(&handle, &handle_iter, plugin_kva_ll,
1077 scf_free_iter(&handle_iter);