Lines Matching refs:rep_handle
66 static scf_handle_t *rep_handle = NULL; variable
77 if ((rep_handle = scf_handle_create(SCF_VERSION)) == NULL) { in config_init()
82 } else if (make_handle_bound(rep_handle) == -1) { in config_init()
101 if (rep_handle == NULL) in config_fini()
109 (void) scf_handle_unbind(rep_handle); in config_fini()
110 scf_handle_destroy(rep_handle); in config_fini()
111 rep_handle = NULL; in config_fini()
410 *err = read_prop(rep_handle, &ret[i], i, inst, in read_method_props()
466 if ((*bprops = read_instance_props(rep_handle, (char *)fmri, &nprops, in read_inst_props()
587 if (make_handle_bound(rep_handle) == -1) { in read_instance_cfg()
596 (void) scf_handle_unbind(rep_handle); in read_instance_cfg()
646 if (make_handle_bound(rep_handle) == -1) in read_method_context()
649 if (((scf_inst = scf_instance_create(rep_handle)) != NULL) && in read_method_context()
650 (scf_handle_decode_fmri(rep_handle, inst_fmri, NULL, NULL, in read_method_context()
661 (void) scf_handle_unbind(rep_handle); in read_method_context()
705 if ((sp = scf_simple_prop_get(rep_handle, fmri, pg, in read_enable_prop()
732 if (make_handle_bound(rep_handle) == -1) in read_enable_merged()
767 (void) scf_handle_unbind(rep_handle); in read_enable_merged()
787 if ((sprop = scf_simple_prop_get(rep_handle, INETD_INSTANCE_FMRI, in refresh_debug_flag()