Lines Matching refs:prexstat

64 	tnfctl_errcode_t prexstat;  in tnfctl_register_funcs()  local
72 prexstat = _tnfctl_probes_traverse(hndl, in tnfctl_register_funcs()
74 if (prexstat) in tnfctl_register_funcs()
75 return (prexstat); in tnfctl_register_funcs()
84 prexstat = _tnfctl_probes_traverse(hndl, in tnfctl_register_funcs()
86 if (prexstat) in tnfctl_register_funcs()
87 return (prexstat); in tnfctl_register_funcs()
119 tnfctl_errcode_t prexstat; in tnfctl_probe_apply() local
123 prexstat = _tnfctl_probes_traverse(hndl, apply_func, &pr_args); in tnfctl_probe_apply()
124 return (prexstat); in tnfctl_probe_apply()
136 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; in tnfctl_probe_apply_ids() local
140 LOCK_SYNC(hndl, prexstat, release_lock); in tnfctl_probe_apply_ids()
155 prexstat = TNFCTL_ERR_INVALIDPROBE; in tnfctl_probe_apply_ids()
160 prexstat = func_p(hndl, probe->probe_handle, calldata); in tnfctl_probe_apply_ids()
161 if (prexstat) in tnfctl_probe_apply_ids()
168 return (prexstat); in tnfctl_probe_apply_ids()
177 tnfctl_errcode_t prexstat = TNFCTL_ERR_NONE; in tnfctl_probe_state_get() local
182 prexstat = _tnfctl_refresh_kernel(hndl); in tnfctl_probe_state_get()
183 if (prexstat) in tnfctl_probe_state_get()
184 return (prexstat); in tnfctl_probe_state_get()
188 LOCK_SYNC(hndl, prexstat, release_lock); in tnfctl_probe_state_get()
191 prexstat = TNFCTL_ERR_INVALIDPROBE; in tnfctl_probe_state_get()
214 prexstat = _tnfctl_comb_decode(hndl, (uintptr_t) prbctl_p->probe_func, in tnfctl_probe_state_get()
216 if (prexstat) in tnfctl_probe_state_get()
231 return (prexstat); in tnfctl_probe_state_get()
237 tnfctl_errcode_t prexstat; in check_operation() local
240 prexstat = _tnfctl_refresh_kernel(hndl); in check_operation()
241 if (prexstat) in check_operation()
242 return (prexstat); in check_operation()
263 tnfctl_errcode_t prexstat; in tnfctl_probe_enable() local
266 LOCK_SYNC(hndl, prexstat, release_lock); in tnfctl_probe_enable()
268 prexstat = check_operation(hndl, probe_hndl); in tnfctl_probe_enable()
269 if (prexstat) in tnfctl_probe_enable()
274 prexstat = _tnfctl_flush_a_probe(hndl, probe_hndl->probe_p, in tnfctl_probe_enable()
280 return (prexstat); in tnfctl_probe_enable()
289 tnfctl_errcode_t prexstat; in tnfctl_probe_disable() local
292 LOCK_SYNC(hndl, prexstat, release_lock); in tnfctl_probe_disable()
294 prexstat = check_operation(hndl, probe_hndl); in tnfctl_probe_disable()
295 if (prexstat) in tnfctl_probe_disable()
300 prexstat = _tnfctl_flush_a_probe(hndl, probe_hndl->probe_p, in tnfctl_probe_disable()
306 return (prexstat); in tnfctl_probe_disable()
314 tnfctl_errcode_t prexstat; in tnfctl_probe_trace() local
317 LOCK_SYNC(hndl, prexstat, release_lock); in tnfctl_probe_trace()
319 prexstat = check_operation(hndl, probe_hndl); in tnfctl_probe_trace()
320 if (prexstat) in tnfctl_probe_trace()
325 prexstat = _tnfctl_flush_a_probe(hndl, probe_hndl->probe_p, in tnfctl_probe_trace()
332 return (prexstat); in tnfctl_probe_trace()
341 tnfctl_errcode_t prexstat; in tnfctl_probe_untrace() local
344 LOCK_SYNC(hndl, prexstat, release_lock); in tnfctl_probe_untrace()
346 prexstat = check_operation(hndl, probe_hndl); in tnfctl_probe_untrace()
347 if (prexstat) in tnfctl_probe_untrace()
352 prexstat = _tnfctl_flush_a_probe(hndl, probe_hndl->probe_p, in tnfctl_probe_untrace()
359 return (prexstat); in tnfctl_probe_untrace()
368 tnfctl_errcode_t prexstat; in tnfctl_probe_connect() local
376 LOCK_SYNC(hndl, prexstat, release_lock); in tnfctl_probe_connect()
378 prexstat = check_operation(hndl, probe_hndl); in tnfctl_probe_connect()
379 if (prexstat) in tnfctl_probe_connect()
383 prexstat = TNFCTL_ERR_NONE; in tnfctl_probe_connect()
388 prexstat = _tnfctl_sym_obj_find(hndl, lib_base_name, func, in tnfctl_probe_connect()
391 prexstat = _tnfctl_sym_find(hndl, func, &func_addr); in tnfctl_probe_connect()
394 if (prexstat) in tnfctl_probe_connect()
398 prexstat = _tnfctl_comb_build(hndl, PRB_COMB_CHAIN, in tnfctl_probe_connect()
401 if (prexstat) in tnfctl_probe_connect()
404 prexstat = _tnfctl_flush_a_probe(hndl, probe_hndl->probe_p, in tnfctl_probe_connect()
411 return (prexstat); in tnfctl_probe_connect()
420 tnfctl_errcode_t prexstat; in tnfctl_probe_disconnect_all() local
426 LOCK_SYNC(hndl, prexstat, release_lock); in tnfctl_probe_disconnect_all()
428 prexstat = check_operation(hndl, probe_hndl); in tnfctl_probe_disconnect_all()
429 if (prexstat) in tnfctl_probe_disconnect_all()
434 prexstat = _tnfctl_flush_a_probe(hndl, probe_hndl->probe_p, in tnfctl_probe_disconnect_all()
441 return (prexstat); in tnfctl_probe_disconnect_all()
452 tnfctl_errcode_t prexstat; in apply_func() local
455 prexstat = (*(args->func_p))(hndl, probe->probe_handle, args->calldata); in apply_func()
456 return (prexstat); in apply_func()