Home
last modified time | relevance | path

Searched refs:g_hndl (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/tnf/prex/
H A Dprbk.c43 extern tnfctl_handle_t *g_hndl;
65 err = tnfctl_trace_attrs_get(g_hndl, attrs_p); in check_kernelmode()
125 err = tnfctl_buffer_alloc(g_hndl, NULL, size); in prbk_buffer_alloc()
152 err = tnfctl_buffer_dealloc(g_hndl); in prbk_buffer_dealloc()
218 err = tnfctl_filter_list_add(g_hndl, ppl->pid); in prbk_pfilter_add()
247 err = tnfctl_filter_list_delete(g_hndl, tmp->pid); in prbk_pfilter_drop()
282 err = tnfctl_filter_state_set(g_hndl, onoff); in prbk_set_pfilter_mode()
307 err = tnfctl_filter_list_get(g_hndl, &pids_p, &pid_count); in prbk_show_pfilter_mode()
341 err = tnfctl_filter_list_get(g_hndl, &pids_p, &pid_count); in prbk_warn_pfilter_empty()
367 err = tnfctl_trace_state_set(g_hndl, onoff); in prbk_set_tracing()
H A Dprexgram.y90 extern tnfctl_handle_t *g_hndl;
193 process_cmd(g_hndl, cmd_p);
200 process_cmd(g_hndl, cmd_p);
209 process_cmd(g_hndl, cmd_p);
216 process_cmd(g_hndl, cmd_p);
225 process_cmd(g_hndl, cmd_p);
232 process_cmd(g_hndl, cmd_p);
241 process_cmd(g_hndl, cmd_p);
248 process_cmd(g_hndl, cmd_p);
257 process_cmd(g_hndl, cmd_p);
[all …]
H A Dmain.c84 tnfctl_handle_t *g_hndl; /* handle on target or kernel */ variable
196 err = tnfctl_kernel_open(&g_hndl); in main()
208 err = tnfctl_pid_open(g_targetpid, &g_hndl); in main()
225 g_preload, NULL, &g_hndl); in main()
227 err = tnfctl_trace_attrs_get(g_hndl, in main()
250 err = set_tracefile(g_hndl); in main()
257 err = check_trace_error(g_hndl); in main()
273 err = set_probe_discovery_callback(g_hndl); in main()
293 err = tnfctl_continue(g_hndl, &event, NULL); in main()
301 err = check_trace_error(g_hndl); in main()
[all …]
H A Dlist.c109 extern tnfctl_handle_t *g_hndl;
129 err = tnfctl_probe_apply(g_hndl, listprobe, &args); in list_set()
149 err = tnfctl_probe_apply(g_hndl, listprobe, &args); in list_expr()
172 err = tnfctl_probe_apply(g_hndl, probescan, &args); in list_values()
234 err = tnfctl_probe_state_get(g_hndl, probe_p, &p_state); in list_getattrs()
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_libscf.c199 scf_handle_t *g_hndl = NULL; /* only valid after lscf_prep_hndl() */ variable
866 if (g_hndl != NULL) in lscf_prep_hndl()
869 g_hndl = scf_handle_create(SCF_VERSION); in lscf_prep_hndl()
870 if (g_hndl == NULL) in lscf_prep_hndl()
880 repo_value = scf_value_create(g_hndl); in lscf_prep_hndl()
887 if (scf_handle_decorate(g_hndl, "door_path", repo_value) != in lscf_prep_hndl()
894 if (scf_handle_bind(g_hndl) != 0) in lscf_prep_hndl()
898 cur_scope = scf_scope_create(g_hndl); in lscf_prep_hndl()
902 if (scf_handle_get_local_scope(g_hndl, cur_scope) != 0) in lscf_prep_hndl()
909 if (g_hndl != NULL) { in repository_teardown()
[all …]
H A Dsvccfg_internal.c778 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 Dsvccfg_engine.c578 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()
846 if (scf_walk_fmri(g_hndl, 0, NULL, SCF_WALK_SERVICE|SCF_WALK_NOINSTANCE, in engine_cleanup()
883 if (mhash_store_entry(g_hndl, info->mi_prop, info->mi_path, in apply_profile()
933 if ((profile_count = find_manifests(g_hndl, file, &profiles, in engine_apply()
H A Dsvccfg.h374 extern scf_handle_t *g_hndl; /* global repcached connection handle */