Lines Matching refs:hndl
117 static tnfctl_errcode_t check_trace_error(tnfctl_handle_t *hndl);
120 static tnfctl_errcode_t set_tracefile(tnfctl_handle_t *hndl);
121 static tnfctl_errcode_t set_probe_discovery_callback(tnfctl_handle_t *hndl);
122 static void * perprobe(tnfctl_handle_t *hndl, tnfctl_probe_t *probe_p);
123 static tnfctl_errcode_t perprobe2(tnfctl_handle_t *hndl,
346 check_trace_error(tnfctl_handle_t *hndl) in check_trace_error() argument
351 err = tnfctl_trace_attrs_get(hndl, &trace_attrs); in check_trace_error()
386 tnfctl_handle_t *hndl; member
394 tnfctl_handle_t *hndl = args_p->hndl; in percmd() local
417 err = tnfctl_probe_enable(hndl, probe_p, NULL); in percmd()
420 err = tnfctl_probe_disable(hndl, probe_p, NULL); in percmd()
423 err = tnfctl_probe_trace(hndl, probe_p, NULL); in percmd()
426 err = tnfctl_probe_untrace(hndl, probe_p, NULL); in percmd()
429 err = tnfctl_probe_connect(hndl, probe_p, NULL, in percmd()
433 err = tnfctl_probe_disconnect_all(hndl, probe_p, NULL); in percmd()
452 perprobe(tnfctl_handle_t *hndl, tnfctl_probe_t *probe_p) in perprobe() argument
458 args.hndl = hndl; in perprobe()
469 set_probe_discovery_callback(tnfctl_handle_t *hndl) in set_probe_discovery_callback() argument
473 err = tnfctl_register_funcs(hndl, perprobe, NULL); in set_probe_discovery_callback()
481 perprobe2(tnfctl_handle_t *hndl, tnfctl_probe_t *probe_p, void *cd) in perprobe2() argument
488 args.hndl = hndl; in perprobe2()
499 process_cmd(tnfctl_handle_t *hndl, cmd_t *cmd) in process_cmd() argument
505 (void) tnfctl_probe_apply(hndl, perprobe2, cmd); in process_cmd()
718 set_tracefile(tnfctl_handle_t *hndl) in set_tracefile() argument
729 err = tnfctl_trace_attrs_get(hndl, &attrs); in set_tracefile()
784 err = tnfctl_buffer_alloc(hndl, outfile_name, g_outsize); in set_tracefile()