Searched refs:rep_handle (Results 1 – 2 of 2) sorted by relevance
66 static scf_handle_t *rep_handle = NULL; variable123 if ((rep_handle = scf_handle_create(SCF_VERSION)) == NULL) { in repval_init()128 } else if (make_handle_bound(rep_handle) == -1) { in repval_init()130 } else if (((pg = scf_pg_create(rep_handle)) == NULL) || in repval_init()131 ((inst = scf_instance_create(rep_handle)) == NULL) || in repval_init()132 ((trans = scf_transaction_create(rep_handle)) == NULL) || in repval_init()133 ((entry = scf_entry_create(rep_handle)) == NULL) || in repval_init()134 ((prop = scf_property_create(rep_handle)) == NULL)) { in repval_init()150 if (rep_handle != NULL) { in repval_fini()155 (void) scf_handle_unbind(rep_handle); in repval_fini()[all …]
66 static scf_handle_t *rep_handle = NULL; variable77 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()[all …]