Lines Matching refs:HG_
145 WordSetU* HG_(get_univ_lsets) ( void ) { return univ_lsets; } in HG_() function
149 Lock* HG_(get_admin_locks) ( void ) { return admin_locks; } in HG_() function
166 Thread* thread = HG_(zalloc)( "hg.mk_Thread.1", sizeof(Thread) ); in mk_Thread()
167 thread->locksetA = HG_(emptyWS)( univ_lsets ); in mk_Thread()
168 thread->locksetW = HG_(emptyWS)( univ_lsets ); in mk_Thread()
184 Lock* lock = HG_(zalloc)( "hg.mk_Lock.1", sizeof(Lock) ); in mk_LockN()
201 tl_assert(HG_(is_sane_LockN)(lock)); in mk_LockN()
209 tl_assert(HG_(is_sane_LockN)(lk)); in del_LockN()
229 HG_(free)(lk); in del_LockN()
237 tl_assert(HG_(is_sane_LockN)(lk)); in lockN_acquire_writer()
238 tl_assert(HG_(is_sane_Thread)(thr)); in lockN_acquire_writer()
262 lk->heldBy = VG_(newBag)( HG_(zalloc), "hg.lNaw.1", HG_(free) ); in lockN_acquire_writer()
283 tl_assert(HG_(is_sane_LockN)(lk)); in lockN_acquire_writer()
288 tl_assert(HG_(is_sane_LockN)(lk)); in lockN_acquire_reader()
289 tl_assert(HG_(is_sane_Thread)(thr)); in lockN_acquire_reader()
316 lk->heldBy = VG_(newBag)( HG_(zalloc), "hg.lNar.1", HG_(free) ); in lockN_acquire_reader()
320 tl_assert(HG_(is_sane_LockN)(lk)); in lockN_acquire_reader()
330 tl_assert(HG_(is_sane_LockN)(lk)); in lockN_release()
331 tl_assert(HG_(is_sane_Thread)(thr)); in lockN_release()
347 tl_assert(HG_(is_sane_LockN)(lk)); in lockN_release()
360 tl_assert(HG_(is_sane_Thread)(thr)); in remove_Lock_from_locksets_of_all_owning_Threads()
361 tl_assert(HG_(elemWS)( univ_lsets, in remove_Lock_from_locksets_of_all_owning_Threads()
364 = HG_(delFromWS)( univ_lsets, thr->locksetA, (Word)lk ); in remove_Lock_from_locksets_of_all_owning_Threads()
367 tl_assert(HG_(elemWS)( univ_lsets, in remove_Lock_from_locksets_of_all_owning_Threads()
370 = HG_(delFromWS)( univ_lsets, thr->locksetW, (Word)lk ); in remove_Lock_from_locksets_of_all_owning_Threads()
561 map_threads = HG_(zalloc)( "hg.ids.1", VG_N_THREADS * sizeof(Thread*) ); in initialise_data_structures()
566 map_locks = VG_(newFM)( HG_(zalloc), "hg.ids.2", HG_(free), in initialise_data_structures()
571 univ_lsets = HG_(newWordSetU)( HG_(zalloc), "hg.ids.4", HG_(free), in initialise_data_structures()
577 wsid = HG_(emptyWS)(univ_lsets); in initialise_data_structures()
581 if (HG_(clo_track_lockorders)) { in initialise_data_structures()
582 univ_laog = HG_(newWordSetU)( HG_(zalloc), "hg.ids.5 (univ_laog)", in initialise_data_structures()
583 HG_(free), 24/*cacheSize*/ ); in initialise_data_structures()
598 tl_assert(HG_(is_sane_ThreadId)(thr->coretid)); in initialise_data_structures()
617 tl_assert( HG_(is_sane_ThreadId)(coretid) ); in map_threads_maybe_lookup()
626 tl_assert( HG_(is_sane_ThreadId)(coretid) ); in map_threads_lookup()
637 tl_assert(HG_(is_sane_Thread)(thr)); in map_threads_maybe_reverse_lookup_SLOW()
642 tl_assert(HG_(is_sane_ThreadId)(tid)); in map_threads_maybe_reverse_lookup_SLOW()
661 tl_assert( HG_(is_sane_ThreadId)(coretid) ); in map_threads_delete()
680 tl_assert(HG_(is_sane_ThreadId)(tid)); in map_locks_lookup_or_create()
686 tl_assert(HG_(is_sane_LockN)(lock)); in map_locks_lookup_or_create()
692 tl_assert(HG_(is_sane_LockN)(oldlock)); in map_locks_lookup_or_create()
821 if (!HG_(is_sane_Thread)(thr)) BAD("1"); in threads__sanity_check()
825 if (!HG_(isSubsetOf)( univ_lsets, wsW, wsA )) BAD("7"); in threads__sanity_check()
826 HG_(getPayloadWS)( &ls_words, &ls_size, univ_lsets, wsA ); in threads__sanity_check()
830 if (!HG_(is_sane_LockN)(lk)) BAD("2"); in threads__sanity_check()
869 if (!HG_(is_sane_LockN)(lk)) BAD("3"); in locks__sanity_check()
882 tl_assert(HG_(is_sane_Thread)(thr)); in locks__sanity_check()
883 if (!HG_(elemWS)(univ_lsets, thr->locksetA, (Word)lk)) in locks__sanity_check()
887 && !HG_(elemWS)(univ_lsets, thr->locksetW, (Word)lk)) in locks__sanity_check()
890 && HG_(elemWS)(univ_lsets, thr->locksetW, (Word)lk)) in locks__sanity_check()
914 if (HG_(clo_track_lockorders)) in all_except_Locks__sanity_check()
1037 tl_assert(HG_(is_sane_Thread)(thr)); in evhH__post_thread_w_acquires_lock()
1042 tl_assert( HG_(is_sane_LockN)(lk) ); in evhH__post_thread_w_acquires_lock()
1061 HG_(record_error_Misc)( in evhH__post_thread_w_acquires_lock()
1072 HG_(record_error_Misc)( in evhH__post_thread_w_acquires_lock()
1085 HG_(record_error_Misc)( in evhH__post_thread_w_acquires_lock()
1100 if (HG_(clo_track_lockorders)) { in evhH__post_thread_w_acquires_lock()
1106 thr->locksetA = HG_(addToWS)( univ_lsets, thr->locksetA, (Word)lk ); in evhH__post_thread_w_acquires_lock()
1107 thr->locksetW = HG_(addToWS)( univ_lsets, thr->locksetW, (Word)lk ); in evhH__post_thread_w_acquires_lock()
1111 tl_assert(HG_(is_sane_LockN)(lk)); in evhH__post_thread_w_acquires_lock()
1134 tl_assert(HG_(is_sane_Thread)(thr)); in evhH__post_thread_r_acquires_lock()
1141 tl_assert( HG_(is_sane_LockN)(lk) ); in evhH__post_thread_r_acquires_lock()
1160 HG_(record_error_Misc)( thr, "Bug in libpthread: read lock " in evhH__post_thread_r_acquires_lock()
1175 if (HG_(clo_track_lockorders)) { in evhH__post_thread_r_acquires_lock()
1181 thr->locksetA = HG_(addToWS)( univ_lsets, thr->locksetA, (Word)lk ); in evhH__post_thread_r_acquires_lock()
1186 tl_assert(HG_(is_sane_LockN)(lk)); in evhH__post_thread_r_acquires_lock()
1209 tl_assert(HG_(is_sane_Thread)(thr)); in evhH__pre_thread_releases_lock()
1216 HG_(record_error_UnlockBogus)( thr, lock_ga ); in evhH__pre_thread_releases_lock()
1221 tl_assert(HG_(is_sane_LockN)(lock)); in evhH__pre_thread_releases_lock()
1224 HG_(record_error_Misc)( thr, "pthread_rwlock_unlock with a " in evhH__pre_thread_releases_lock()
1228 HG_(record_error_Misc)( thr, "pthread_mutex_unlock with a " in evhH__pre_thread_releases_lock()
1236 HG_(record_error_UnlockUnlocked)( thr, lock ); in evhH__pre_thread_releases_lock()
1237 tl_assert(!HG_(elemWS)( univ_lsets, thr->locksetA, (Word)lock )); in evhH__pre_thread_releases_lock()
1238 tl_assert(!HG_(elemWS)( univ_lsets, thr->locksetW, (Word)lock )); in evhH__pre_thread_releases_lock()
1256 tl_assert(HG_(is_sane_Thread)(realOwner)); in evhH__pre_thread_releases_lock()
1258 tl_assert(!HG_(elemWS)( univ_lsets, thr->locksetA, (Word)lock )); in evhH__pre_thread_releases_lock()
1259 tl_assert(!HG_(elemWS)( univ_lsets, thr->locksetW, (Word)lock )); in evhH__pre_thread_releases_lock()
1260 HG_(record_error_UnlockForeign)( thr, realOwner, lock ); in evhH__pre_thread_releases_lock()
1279 tl_assert(HG_(elemWS)( univ_lsets, thr->locksetA, (Word)lock )); in evhH__pre_thread_releases_lock()
1281 tl_assert(HG_(elemWS)( univ_lsets, thr->locksetW, (Word)lock )); in evhH__pre_thread_releases_lock()
1283 tl_assert(!HG_(elemWS)( univ_lsets, thr->locksetW, (Word)lock )); in evhH__pre_thread_releases_lock()
1313 = HG_(delFromWS)( univ_lsets, thr->locksetA, (Word)lock ); in evhH__pre_thread_releases_lock()
1315 = HG_(delFromWS)( univ_lsets, thr->locksetW, (Word)lock ); in evhH__pre_thread_releases_lock()
1326 tl_assert(HG_(is_sane_LockN)(lock)); in evhH__pre_thread_releases_lock()
1395 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__new_mem()
1405 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__new_mem_stack()
1414 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__new_mem_w_tid()
1426 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__new_mem_w_perms()
1444 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__set_perms()
1454 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__die_mem()
1479 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__untrack_mem()
1488 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__copy_mem()
1505 tl_assert(HG_(is_sane_ThreadId)(parent)); in evh__pre_thread_ll_create()
1506 tl_assert(HG_(is_sane_ThreadId)(child)); in evh__pre_thread_ll_create()
1551 if (HG_(clo_sanity_flags) & SCE_THREADS) in evh__pre_thread_ll_create()
1578 tl_assert(HG_(is_sane_ThreadId)(quit_tid)); in evh__pre_thread_ll_exit()
1583 nHeld = HG_(cardinalityWS)( univ_lsets, thr_q->locksetA ); in evh__pre_thread_ll_exit()
1589 HG_(record_error_Misc)( thr_q, buf ); in evh__pre_thread_ll_exit()
1604 if (HG_(clo_sanity_flags) & SCE_THREADS) in evh__pre_thread_ll_exit()
1651 tl_assert(HG_(is_sane_ThreadId)(stay_tid)); in evh__HG_PTHREAD_JOIN_POST()
1701 if (HG_(clo_sanity_flags) & SCE_THREADS) in evh__HG_PTHREAD_JOIN_POST()
1713 if (size >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__pre_mem_read()
1732 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__pre_mem_read_asciiz()
1743 if (size >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__pre_mem_write()
1758 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__new_mem_heap()
1769 if (HG_(clo_free_is_write)) { in evh__die_mem_heap()
1778 if (len >= SCE_BIGRANGE_T && (HG_(clo_sanity_flags) & SCE_BIGRANGE)) in evh__die_mem_heap()
1873 if (HG_(clo_sanity_flags) & SCE_LOCKS) in evh__HG_PTHREAD_MUTEX_INIT_POST()
1888 tl_assert( HG_(is_sane_Thread)(thr) ); in evh__HG_PTHREAD_MUTEX_DESTROY_PRE()
1893 HG_(record_error_Misc)( in evh__HG_PTHREAD_MUTEX_DESTROY_PRE()
1898 tl_assert( HG_(is_sane_LockN)(lk) ); in evh__HG_PTHREAD_MUTEX_DESTROY_PRE()
1902 HG_(record_error_Misc)( in evh__HG_PTHREAD_MUTEX_DESTROY_PRE()
1912 tl_assert( HG_(is_sane_LockN)(lk) ); in evh__HG_PTHREAD_MUTEX_DESTROY_PRE()
1914 if (HG_(clo_track_lockorders)) in evh__HG_PTHREAD_MUTEX_DESTROY_PRE()
1920 if (HG_(clo_sanity_flags) & SCE_LOCKS) in evh__HG_PTHREAD_MUTEX_DESTROY_PRE()
1942 HG_(record_error_Misc)( thr, "pthread_mutex_lock with a " in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
1960 HG_(record_error_Misc_w_aux)( thr, errstr, auxstr, lk->acquired_at ); in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
1962 HG_(record_error_Misc)( thr, errstr ); in evh__HG_PTHREAD_MUTEX_LOCK_PRE()
2036 tl_assert( HG_(is_sane_Thread)(thr) ); in evh__HG_PTHREAD_SPIN_INIT_OR_UNLOCK_PRE()
2120 map_cond_to_CVInfo = VG_(newFM)( HG_(zalloc), in map_cond_to_CVInfo_INIT()
2121 "hg.mctCI.1", HG_(free), NULL ); in map_cond_to_CVInfo_INIT()
2134 CVInfo* cvi = HG_(zalloc)("hg.mctCloa.1", sizeof(CVInfo)); in map_cond_to_CVInfo_lookup_or_alloc()
2152 HG_(free)(cvi); in map_cond_to_CVInfo_delete()
2207 HG_(record_error_Misc)(thr, in evh__HG_PTHREAD_COND_SIGNAL_PRE()
2211 HG_(record_error_Misc)(thr, in evh__HG_PTHREAD_COND_SIGNAL_PRE()
2216 HG_(record_error_Misc)(thr, in evh__HG_PTHREAD_COND_SIGNAL_PRE()
2260 HG_(record_error_Misc)( in evh__HG_PTHREAD_COND_WAIT_PRE()
2264 tl_assert( HG_(is_sane_LockN)(lk) ); in evh__HG_PTHREAD_COND_WAIT_PRE()
2267 HG_(record_error_Misc)( in evh__HG_PTHREAD_COND_WAIT_PRE()
2273 HG_(record_error_Misc)( in evh__HG_PTHREAD_COND_WAIT_PRE()
2279 HG_(record_error_Misc)( in evh__HG_PTHREAD_COND_WAIT_PRE()
2295 HG_(record_error_Misc)( in evh__HG_PTHREAD_COND_WAIT_PRE()
2332 HG_(record_error_Misc)( thr, "Bug in libpthread: pthread_cond_wait " in evh__HG_PTHREAD_COND_WAIT_POST()
2370 if (HG_(clo_sanity_flags) & SCE_LOCKS) in evh__HG_PTHREAD_RWLOCK_INIT_POST()
2385 tl_assert( HG_(is_sane_Thread)(thr) ); in evh__HG_PTHREAD_RWLOCK_DESTROY_PRE()
2390 HG_(record_error_Misc)( in evh__HG_PTHREAD_RWLOCK_DESTROY_PRE()
2395 tl_assert( HG_(is_sane_LockN)(lk) ); in evh__HG_PTHREAD_RWLOCK_DESTROY_PRE()
2399 HG_(record_error_Misc)( in evh__HG_PTHREAD_RWLOCK_DESTROY_PRE()
2409 tl_assert( HG_(is_sane_LockN)(lk) ); in evh__HG_PTHREAD_RWLOCK_DESTROY_PRE()
2411 if (HG_(clo_track_lockorders)) in evh__HG_PTHREAD_RWLOCK_DESTROY_PRE()
2417 if (HG_(clo_sanity_flags) & SCE_LOCKS) in evh__HG_PTHREAD_RWLOCK_DESTROY_PRE()
2443 HG_(record_error_Misc)( in evh__HG_PTHREAD_RWLOCK_LOCK_PRE()
2540 map_sem_to_SO_stack = VG_(newFM)( HG_(zalloc), "hg.mstSs.1", in map_sem_to_SO_stack_INIT()
2541 HG_(free), NULL ); in map_sem_to_SO_stack_INIT()
2557 xa = VG_(newXA)( HG_(zalloc), "hg.pSfs.1", HG_(free), sizeof(SO*) ); in push_SO_for_sem()
2639 HG_(record_error_Misc)( in evh__HG_POSIX_SEM_INIT_POST()
2719 HG_(record_error_Misc)( in evh__HG_POSIX_SEM_WAIT_POST()
2740 Bar* bar = HG_(zalloc)( "hg.nB.1 (new_Bar)", sizeof(Bar) ); in new_Bar()
2751 HG_(free)(bar); in delete_Bar()
2761 map_barrier_to_Bar = VG_(newFM)( HG_(zalloc), in map_barrier_to_Bar_INIT()
2762 "hg.mbtBI.1", HG_(free), NULL ); in map_barrier_to_Bar_INIT()
2808 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_INIT_PRE()
2814 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_INIT_PRE()
2823 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_INIT_PRE()
2830 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_INIT_PRE()
2836 bar->waiting = VG_(newXA)( HG_(zalloc), "hg.eHPBIP.1", HG_(free), in evh__HG_PTHREAD_BARRIER_INIT_PRE()
2869 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_DESTROY_PRE()
2875 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_DESTROY_PRE()
2988 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_WAIT_PRE()
3031 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_RESIZE_PRE()
3038 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_RESIZE_PRE()
3045 HG_(record_error_Misc)( in evh__HG_PTHREAD_BARRIER_RESIZE_PRE()
3093 map_usertag_to_SO = VG_(newFM)( HG_(zalloc), in map_usertag_to_SO_INIT()
3094 "hg.mutS.1", HG_(free), NULL ); in map_usertag_to_SO_INIT()
3268 tl_assert(HG_(clo_track_lockorders)); in laog__init()
3270 laog = VG_(newFM)( HG_(zalloc), "hg.laog__init.1", in laog__init()
3271 HG_(free), NULL/*unboxedcmp*/ ); in laog__init()
3273 laog_exposition = VG_(newFM)( HG_(zalloc), "hg.laog__init.2", HG_(free), in laog__init()
3293 HG_(getPayloadWS)( &ws_words, &ws_size, univ_laog, links->inns ); in laog__show()
3296 HG_(getPayloadWS)( &ws_words, &ws_size, univ_laog, links->outs ); in laog__show()
3311 const UWord univ_laog_cardinality = HG_(cardinalityWSU)( univ_laog); in univ_laog_do_GC()
3313 Bool *univ_laog_seen = HG_(zalloc) ( "hg.gc_univ_laog.1", in univ_laog_do_GC()
3339 HG_(dieWS) ( univ_laog, (WordSet)i ); in univ_laog_do_GC()
3342 HG_(free) (univ_laog_seen); in univ_laog_do_GC()
3409 outs_new = HG_(addToWS)( univ_laog, links->outs, (Word)dst ); in laog__add_edge()
3413 links = HG_(zalloc)("hg.lae.1", sizeof(LAOGLinks)); in laog__add_edge()
3414 links->inns = HG_(emptyWS)( univ_laog ); in laog__add_edge()
3415 links->outs = HG_(singletonWS)( univ_laog, (Word)dst ); in laog__add_edge()
3425 inns_new = HG_(addToWS)( univ_laog, links->inns, (Word)src ); in laog__add_edge()
3429 links = HG_(zalloc)("hg.lae.2", sizeof(LAOGLinks)); in laog__add_edge()
3430 links->inns = HG_(singletonWS)( univ_laog, (Word)src ); in laog__add_edge()
3431 links->outs = HG_(emptyWS)( univ_laog ); in laog__add_edge()
3454 LAOGLinkExposition* expo2 = HG_(zalloc)("hg.lae.3", in laog__add_edge()
3464 if (HG_(cardinalityWSU) (univ_laog) >= next_gc_univ_laog) in laog__add_edge()
3479 links->outs = HG_(delFromWS)( univ_laog, links->outs, (Word)dst ); in laog__del_edge()
3487 links->inns = HG_(delFromWS)( univ_laog, links->inns, (Word)src ); in laog__del_edge()
3502 HG_(free) (fm_expo); in laog__del_edge()
3507 if (HG_(cardinalityWSU) (univ_laog) >= next_gc_univ_laog) in laog__del_edge()
3523 return HG_(emptyWS)( univ_laog ); in laog__succs()
3538 return HG_(emptyWS)( univ_laog ); in laog__preds()
3556 HG_(getPayloadWS)( &ws_words, &ws_size, univ_laog, links->inns ); in laog__sanity_check()
3558 if ( ! HG_(elemWS)( univ_laog, in laog__sanity_check()
3563 HG_(getPayloadWS)( &ws_words, &ws_size, univ_laog, links->outs ); in laog__sanity_check()
3565 if ( ! HG_(elemWS)( univ_laog, in laog__sanity_check()
3602 if (HG_(isEmptyWS)( univ_lsets, dsts )) in laog__do_dfs_from_to()
3606 stack = VG_(newXA)( HG_(zalloc), "hg.lddft.1", HG_(free), sizeof(Lock*) ); in laog__do_dfs_from_to()
3607 visited = VG_(newFM)( HG_(zalloc), "hg.lddft.2", HG_(free), NULL/*unboxedcmp*/ ); in laog__do_dfs_from_to()
3620 if (HG_(elemWS)( univ_lsets, dsts, (Word)here )) { ret = here; break; } in laog__do_dfs_from_to()
3628 HG_(getPayloadWS)( &succs_words, &succs_size, univ_laog, succs ); in laog__do_dfs_from_to()
3656 if (HG_(elemWS)( univ_lsets, thr->locksetA, (Word)lk )) in laog__pre_thread_acquires_lock()
3687 HG_(record_error_LockOrder)( in laog__pre_thread_acquires_lock()
3692 HG_(record_error_LockOrder)( in laog__pre_thread_acquires_lock()
3704 HG_(getPayloadWS)( &ls_words, &ls_size, univ_lsets, thr->locksetA ); in laog__pre_thread_acquires_lock()
3716 if (HG_(clo_sanity_flags) & SCE_LAOG) in laog__pre_thread_acquires_lock()
3728 UWord *dup = HG_(zalloc) ("hg.dup.1", (SizeT) words_size * sizeof(UWord)); in UWordV_dup()
3750 HG_(getPayloadWS)( &preds_words, &preds_size, univ_laog, preds ); in laog__handle_one_lock_deletion()
3753 HG_(getPayloadWS)( &succs_words, &succs_size, univ_laog, succs ); in laog__handle_one_lock_deletion()
3774 HG_(free) (preds_words); in laog__handle_one_lock_deletion()
3776 HG_(free) (succs_words); in laog__handle_one_lock_deletion()
3786 HG_(free) (links); in laog__handle_one_lock_deletion()
3831 MallocMeta* md = HG_(zalloc)( "hg.new_MallocMeta.1", sizeof(MallocMeta) ); in new_MallocMeta()
3836 HG_(free)(md); in delete_MallocMeta()
4050 Bool HG_(mm_find_containing_block)( /*OUT*/ExeContext** where, in HG_() function
4200 if (! HG_(clo_check_stack_refs)) { in instrument_mem_access()
4520 map_pthread_t_to_Thread = VG_(newFM)( HG_(zalloc), "hg.mpttT.1", in map_pthread_t_to_Thread_INIT()
4521 HG_(free), NULL ); in map_pthread_t_to_Thread_INIT()
4562 if (HG_(mm_find_containing_block)(NULL, &payload, &pszB, args[1])) { in hg_handle_client_request()
4625 HG_(record_error_PthAPIerror)( in hg_handle_client_request()
4816 HG_(record_error_Misc)( thr, buf ); in hg_handle_client_request()
4854 HG_(clo_track_lockorders)) {} in hg_process_cmd_line_option()
4856 HG_(clo_cmp_race_err_addrs)) {} in hg_process_cmd_line_option()
4859 HG_(clo_history_level), 0); in hg_process_cmd_line_option()
4861 HG_(clo_history_level), 1); in hg_process_cmd_line_option()
4863 HG_(clo_history_level), 2); in hg_process_cmd_line_option()
4868 HG_(clo_conflict_cache_size), 10*1000, 30*1000*1000) {} in hg_process_cmd_line_option()
4881 else if ('1' == tmp_str[j]) HG_(clo_sanity_flags) |= (1 << (6-1-j)); in hg_process_cmd_line_option()
4888 if (0) VG_(printf)("XXX sanity flags: 0x%lx\n", HG_(clo_sanity_flags)); in hg_process_cmd_line_option()
4892 HG_(clo_free_is_write)) {} in hg_process_cmd_line_option()
4895 HG_(clo_vts_pruning), 0); in hg_process_cmd_line_option()
4897 HG_(clo_vts_pruning), 1); in hg_process_cmd_line_option()
4899 HG_(clo_vts_pruning), 2); in hg_process_cmd_line_option()
4902 HG_(clo_check_stack_refs)) {} in hg_process_cmd_line_option()
4956 && HG_(clo_history_level) >= 2) { in hg_fini()
4965 if (HG_(clo_sanity_flags)) in hg_fini()
4972 HG_(ppWSUstats)( univ_lsets, "univ_lsets" ); in hg_fini()
4973 if (HG_(clo_track_lockorders)) { in hg_fini()
4975 HG_(ppWSUstats)( univ_laog, "univ_laog" ); in hg_fini()
4993 (Int)HG_(cardinalityWSU)( univ_lsets )); in hg_fini()
4994 if (HG_(clo_track_lockorders)) { in hg_fini()
4996 (Int)HG_(cardinalityWSU)( univ_laog )); in hg_fini()
5004 HG_(stats__LockN_to_P_queries), in hg_fini()
5005 HG_(stats__LockN_to_P_get_map_size)() ); in hg_fini()
5008 HG_(stats__string_table_queries), in hg_fini()
5009 HG_(stats__string_table_get_map_size)() ); in hg_fini()
5010 if (HG_(clo_track_lockorders)) { in hg_fini()
5074 if (HG_(clo_track_lockorders)) in hg_post_clo_init()
5095 VG_(needs_tool_errors) (HG_(eq_Error), in hg_pre_clo_init()
5096 HG_(before_pp_Error), in hg_pre_clo_init()
5097 HG_(pp_Error), in hg_pre_clo_init()
5099 HG_(update_extra), in hg_pre_clo_init()
5100 HG_(recognised_suppression), in hg_pre_clo_init()
5101 HG_(read_extra_suppression_info), in hg_pre_clo_init()
5102 HG_(error_matches_suppression), in hg_pre_clo_init()
5103 HG_(get_error_name), in hg_pre_clo_init()
5104 HG_(get_extra_suppression_info)); in hg_pre_clo_init()