Lines Matching defs:cur_scope
207 static scf_scope_t *cur_scope;
898 cur_scope = scf_scope_create(g_hndl);
899 if (cur_scope == NULL)
902 if (scf_handle_get_local_scope(g_hndl, cur_scope) != 0)
914 scf_scope_destroy(cur_scope);
918 cur_scope = NULL;
11240 * cur_scope, and cur_svc and cur_inst are NULL. When a service is selected,
11279 assert(cur_scope != NULL);
11285 if (scf_scope_get_service(cur_scope, name, svc) == SCF_SUCCESS) {
11330 assert(cur_scope != NULL);
11331 scf_scope_destroy(cur_scope);
11335 cur_scope = scope;
11680 assert(cur_scope != NULL);
11700 assert(cur_scope != NULL);
11718 assert(cur_scope != NULL);
11719 fmrilen = scf_scope_to_fmri(cur_scope, buf, bufsz);
11822 assert(cur_scope != NULL);
11828 if (scf_iter_scope_services(iter, cur_scope) != SCF_SUCCESS)
11890 assert(cur_scope != NULL);
11892 if (scf_scope_add_service(cur_scope, name, NULL) !=
12655 assert(cur_scope != NULL);
12661 if (scf_scope_get_service(cur_scope, fmri, svc) ==
17577 assert(cur_scope != NULL);
17583 if (scf_iter_scope_services(iter, cur_scope) != 0)