/external/valgrind/main/helgrind/ |
libhb.h | 37 /* typedef struct _Thr Thr; */ /* now in hg_lock_n_thread.h */ 42 /* Initialise library; returns Thr* for root thread. 'shadow_alloc' 45 Thr* libhb_init ( 46 void (*get_stacktrace)( Thr*, Addr*, UWord ), 47 ExeContext* (*get_EC)( Thr* ) 54 /* Thread creation: returns Thr* for new thread */ 55 Thr* libhb_create ( Thr* parent ); 58 void libhb_async_exit ( Thr* exitter ); 59 void libhb_joinedwith_done ( Thr* exitter ) [all...] |
hg_lock_n_thread.h | 57 /* Thr, libhb's private thread record, exported abstractly. Thr's are 59 is a small integer which uniquely identifies a Thr and which is 60 used in ScalarTS because it is smaller than a Thr*. There is a 1-1 61 mapping between Thr's and ThrIDs. */ 62 typedef struct _Thr Thr; 86 Thr* hbthr; /* which in turn points back here .. */ 165 Bool HG_(is_sane_Thread) ( Thread* thr );
|
libhb_core.c | 142 a pair, (Thr*, ULong), but that takes 16 bytes on a 64-bit target. 143 We pack it into 64 bits by representing the Thr* using a ThrID, a 168 NB3: this probably also relies on the fact that Thr's are never 170 Thr's to thrid values (set up in Thr__new) persists forever. 257 // data decls: Thr, ULong_n_EC // 301 /* A small integer giving a unique identity to this Thr. See 311 1-1 mapping between Thread and Thr structures -- each Thr points 312 at its corresponding Thread, and vice versa. Really, Thr and 357 static void (*main_get_stacktrace)( Thr*, Addr*, UWord ) = NULL 3659 Thr* thr = *(Thr**)VG_(indexXA)( thrid_to_thr_map, thrid - 1024 ); local 3666 Thr* thr = HG_(zalloc)( "libhb.Thr__new.1", sizeof(Thr) ); local 6072 Thr* thr; local [all...] |
hg_main.c | 160 ThreadId map_threads_maybe_reverse_lookup_SLOW ( Thread* thr ); /*fwds*/ 164 static Thread* mk_Thread ( Thr* hbthr ) { 232 /* Update 'lk' to reflect that 'thr' now has a write-acquisition of 235 static void lockN_acquire_writer ( Lock* lk, Thread* thr ) 238 tl_assert(HG_(is_sane_Thread)(thr)); 248 tid = map_threads_maybe_reverse_lookup_SLOW(thr); 263 VG_(addToBag)( lk->heldBy, (Word)thr ); 272 /* assert: .. and that thread is 'thr'. */ 273 tl_assert(VG_(elemBag)(lk->heldBy, (Word)thr) 275 VG_(addToBag)(lk->heldBy, (Word)thr); 352 Thread* thr; local 472 Thread* thr; local 551 Thread* thr; local 616 Thread* thr; local 625 Thread* thr; local 659 Thread* thr; local 815 Thread* thr; local 875 Thread* thr; local 1374 Thread* thr; local 1616 Thread* thr; local 1764 Thread* thr; local 1786 Thread* thr = get_current_Thread_in_C_C(); local 1793 Thread* thr = get_current_Thread_in_C_C(); local 1800 Thread* thr = get_current_Thread_in_C_C(); local 1807 Thread* thr = get_current_Thread_in_C_C(); local 1814 Thread* thr = get_current_Thread_in_C_C(); local 1821 Thread* thr = get_current_Thread_in_C_C(); local 1828 Thread* thr = get_current_Thread_in_C_C(); local 1835 Thread* thr = get_current_Thread_in_C_C(); local 1842 Thread* thr = get_current_Thread_in_C_C(); local 1849 Thread* thr = get_current_Thread_in_C_C(); local 1880 Thread* thr; local 1929 Thread* thr; local 1970 Thread* thr; local 1988 Thread* thr; local 2002 Thread* thr; local 2023 Thread* thr; local 2154 Thread* thr; local 2188 Thread* thr; local 2264 Thread* thr; local 2334 Thread* thr; local 2411 Thread* thr; local 2462 Thread* thr; local 2487 Thread* thr; local 2507 Thread* thr; local 2521 Thread* thr; local 2653 Thread* thr; local 2700 Thread* thr; local 2728 Thread* thr; local 2830 Thread* thr; local 2885 Thread* thr; local 3006 Thread* thr; local 3049 Thread* thr; local 3170 Thread* thr; local 3195 Thread* thr; local 3855 Thread* thr; \/* allocating thread *\/ member in struct:__anon17066 4845 Thread* thr = map_threads_maybe_lookup( tid ); local 5069 Thread* thr; local 5086 Thread* thr; local [all...] |
hg_errors.c | 295 Thread* thr; member in struct:__anon17051::__anon17052::__anon17053 316 Thread* thr; /* doing the unlocking */ member in struct:__anon17051::__anon17052::__anon17054 320 Thread* thr; /* doing the unlocking */ member in struct:__anon17051::__anon17052::__anon17055 325 Thread* thr; /* doing the unlocking */ member in struct:__anon17051::__anon17052::__anon17056 329 Thread* thr; member in struct:__anon17051::__anon17052::__anon17057 335 Thread* thr; member in struct:__anon17051::__anon17052::__anon17058 351 Thread* thr; member in struct:__anon17051::__anon17052::__anon17059 396 tl_assert(xe->XE.Race.thr); 400 xe->XE.Race.thr->locksetW, 465 Thr* thrp = NULL [all...] |