Lines Matching defs:hndl

229 tnfctl_errcode_t _tnfctl_lmap_update(tnfctl_handle_t *hndl, boolean_t *lmap_ok,
236 tnfctl_errcode_t _tnfctl_set_state(tnfctl_handle_t *hndl);
237 tnfctl_errcode_t _tnfctl_create_tracefile(tnfctl_handle_t *hndl,
241 tnfctl_errcode_t _tnfctl_find_all_probes(tnfctl_handle_t *hndl);
242 tnfctl_errcode_t _tnfctl_probes_traverse(tnfctl_handle_t *hndl,
244 tnfctl_errcode_t _tnfctl_flush_a_probe(tnfctl_handle_t *hndl,
248 tnfctl_errcode_t _tnfctl_comb_build(tnfctl_handle_t *hndl, comb_op_t op,
250 tnfctl_errcode_t _tnfctl_comb_decode(tnfctl_handle_t *hndl, uintptr_t addr,
254 tnfctl_errcode_t _tnfctl_targmem_alloc(tnfctl_handle_t *hndl, size_t size,
265 tnfctl_errcode_t _tnfctl_readstr_targ(tnfctl_handle_t *hndl, uintptr_t addr,
271 tnfctl_errcode_t _tnfctl_sym_obj_find(tnfctl_handle_t *hndl,
273 tnfctl_errcode_t _tnfctl_sym_find(tnfctl_handle_t *hndl, const char *symname,
275 tnfctl_errcode_t _tnfctl_sym_findname(tnfctl_handle_t *hndl, uintptr_t symaddr,
277 tnfctl_errcode_t _tnfctl_elf_dbgent(tnfctl_handle_t *hndl,
284 tnfctl_errcode_t _tnfctl_lock_libs(tnfctl_handle_t *hndl,
286 void _tnfctl_unlock_libs(tnfctl_handle_t *hndl, boolean_t release_lock);
287 tnfctl_errcode_t _tnfctl_sync_lib_list(tnfctl_handle_t *hndl);
301 tnfctl_errcode_t _tnfctl_external_getlock(tnfctl_handle_t *hndl);
303 tnfctl_errcode_t _tnfctl_external_releaselock(tnfctl_handle_t *hndl);
324 #define LOCK(hndl, stat, release) (void) _tnfctl_lock_libs(hndl, &release)
326 #define LOCK_SYNC(hndl, stat, release) \
327 (void) _tnfctl_lock_libs(hndl, &release); \
328 (void) _tnfctl_sync_lib_list(hndl)
330 #define UNLOCK(hndl, release) _tnfctl_unlock_libs(hndl, release)
334 #define LOCK(hndl, stat, release) \
335 if (hndl->mode == INTERNAL_MODE) { \
336 stat = _tnfctl_lock_libs(hndl, &release); \
342 #define LOCK_SYNC(hndl, stat, release) \
343 if (hndl->mode == INTERNAL_MODE) { \
344 stat = _tnfctl_lock_libs(hndl, &release); \
347 stat = _tnfctl_sync_lib_list(hndl); \
349 _tnfctl_unlock_libs(hndl, release); \
355 #define UNLOCK(hndl, release) \
356 if (hndl->mode == INTERNAL_MODE) \
357 _tnfctl_unlock_libs(hndl, release_lock); \