Searched refs:g_hndl (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_libscf.c | 202 scf_handle_t *g_hndl = NULL; /* only valid after lscf_prep_hndl() */ variable 869 if (g_hndl != NULL) in lscf_prep_hndl() 872 g_hndl = scf_handle_create(SCF_VERSION); in lscf_prep_hndl() 873 if (g_hndl == NULL) in lscf_prep_hndl() 883 repo_value = scf_value_create(g_hndl); in lscf_prep_hndl() 890 if (scf_handle_decorate(g_hndl, "door_path", repo_value) != in lscf_prep_hndl() 898 if ((zone = scf_value_create(g_hndl)) == NULL) in lscf_prep_hndl() 904 if (scf_handle_decorate(g_hndl, "zone", zone) != SCF_SUCCESS) { in lscf_prep_hndl() 912 if (scf_handle_bind(g_hndl) != 0) in lscf_prep_hndl() 916 cur_scope = scf_scope_create(g_hndl); in lscf_prep_hndl() [all …]
|
H A D | svccfg_internal.c | 778 if ((load_prop = scf_property_create(g_hndl)) == NULL || in load_init() 779 (load_val = scf_value_create(g_hndl)) == NULL || in load_init() 780 (load_pgroup = scf_pg_create(g_hndl)) == NULL || in load_init() 781 (load_pgiter = scf_iter_create(g_hndl)) == NULL || in load_init() 782 (load_propiter = scf_iter_create(g_hndl)) == NULL || in load_init() 783 (load_valiter = scf_iter_create(g_hndl)) == NULL) { in load_init() 1190 if ((inst = scf_instance_create(g_hndl)) == NULL) { in load_instance() 1200 if (scf_handle_decode_fmri(g_hndl, fmri, NULL, NULL, inst, NULL, NULL, in load_instance()
|
H A D | svccfg_engine.c | 578 if (mhash_store_entry(g_hndl, info->mi_prop, file, in import_manifest_file() 728 if ((count = find_manifests(g_hndl, file, &manifests, in engine_import() 850 if (scf_walk_fmri(g_hndl, 0, NULL, SCF_WALK_SERVICE|SCF_WALK_NOINSTANCE, in engine_cleanup() 890 if (mhash_store_entry(g_hndl, info->mi_prop, info->mi_path, in apply_profile() 940 if ((profile_count = find_manifests(g_hndl, file, &profiles, in engine_apply()
|
H A D | svccfg.h | 368 extern scf_handle_t *g_hndl; /* global repcached connection handle */
|