/external/valgrind/main/drd/ |
D | drd_clientreq.c | 54 static Bool handle_client_request(ThreadId vg_tid, UWord* arg, UWord* ret); 78 static Bool handle_client_request(ThreadId vg_tid, UWord* arg, UWord* ret) in handle_client_request() argument 83 tl_assert(vg_tid == VG_(get_running_tid())); in handle_client_request() 84 tl_assert(DRD_(VgThreadIdToDrdThreadId)(vg_tid) == drd_tid); in handle_client_request() 94 VG_(maybe_record_error)(vg_tid, in handle_client_request() 96 VG_(get_IP)(vg_tid), in handle_client_request() 102 DRD_(malloclike_block)(vg_tid, arg[1]/*addr*/, arg[2]/*size*/); in handle_client_request() 106 if (!DRD_(freelike_block)(vg_tid, arg[1]/*addr*/, False)) in handle_client_request() 112 VG_(maybe_record_error)(vg_tid, in handle_client_request() 114 VG_(get_IP)(vg_tid), in handle_client_request() [all …]
|
D | drd_mutex.c | 196 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 199 VG_(maybe_record_error)(vg_tid, in DRD_() 201 VG_(get_IP)(vg_tid), in DRD_() 322 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 325 VG_(maybe_record_error)(vg_tid, in DRD_() 327 VG_(get_IP)(vg_tid), in DRD_() 350 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 373 VG_(maybe_record_error)(vg_tid, in DRD_() 375 VG_(get_IP)(vg_tid), in DRD_() 385 VG_(maybe_record_error)(vg_tid, MutexErr, VG_(get_IP)(vg_tid), in DRD_() [all …]
|
D | drd_semaphore.c | 183 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 185 VG_(maybe_record_error)(vg_tid, in DRD_() 187 VG_(get_IP)(vg_tid), in DRD_() 199 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 201 VG_(maybe_record_error)(vg_tid, in DRD_() 203 VG_(get_IP)(vg_tid), in DRD_() 267 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 269 VG_(maybe_record_error)(vg_tid, in DRD_() 271 VG_(get_IP)(vg_tid), in DRD_()
|
D | drd_cond.c | 249 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 252 VG_(maybe_record_error)(vg_tid, in DRD_() 254 VG_(get_IP)(vg_tid), in DRD_() 304 const ThreadId vg_tid = VG_(get_running_tid)(); in cond_signal() local 305 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in cond_signal() 322 VG_(maybe_record_error)(vg_tid, in cond_signal() 324 VG_(get_IP)(vg_tid), in cond_signal()
|
D | drd_main.c | 516 ThreadId vg_tid; in on_alt_stack() local 520 vg_tid = VG_(get_running_tid)(); in on_alt_stack() 521 alt_min = VG_(thread_get_altstack_min)(vg_tid); in on_alt_stack() 522 alt_size = VG_(thread_get_altstack_size)(vg_tid); in on_alt_stack() 544 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, in drd_pre_deliver_signal() argument 549 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_pre_deliver_signal() 568 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) in drd_post_deliver_signal() argument 572 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_post_deliver_signal() 651 static void drd_thread_finished(ThreadId vg_tid) in drd_thread_finished() argument 659 if (VG_(get_running_tid)() != vg_tid) in drd_thread_finished() [all …]
|
D | drd_rwlock.c | 326 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 328 VG_(maybe_record_error)(vg_tid, in DRD_() 330 VG_(get_IP)(vg_tid), in DRD_() 504 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 531 VG_(maybe_record_error)(vg_tid, in DRD_() 533 VG_(get_IP)(vg_tid), in DRD_() 551 VG_(maybe_record_error)(vg_tid, in DRD_() 553 VG_(get_IP)(vg_tid), in DRD_() 582 VG_(maybe_record_error)(vg_tid, in DRD_() 584 VG_(get_IP)(vg_tid), in DRD_()
|
D | drd_load_store.c | 142 ThreadId vg_tid; in drd_report_race() local 144 vg_tid = VG_(get_running_tid)(); in drd_report_race() 152 VG_(maybe_record_error)(vg_tid, GenericErr, VG_(get_IP)(vg_tid), in drd_report_race() 164 VG_(maybe_record_error)(vg_tid, DataRaceErr, VG_(get_IP)(vg_tid), in drd_report_race()
|
D | drd_thread.c | 670 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid) in DRD_() 672 tl_assert(vg_tid != VG_INVALID_THREADID); in DRD_() 674 if (vg_tid != s_vg_running_tid) in DRD_() 676 DRD_(thread_set_running_tid)(vg_tid, in DRD_() 677 DRD_(VgThreadIdToDrdThreadId)(vg_tid)); in DRD_() 688 void DRD_(thread_set_running_tid)(const ThreadId vg_tid, in DRD_() 691 tl_assert(vg_tid != VG_INVALID_THREADID); in DRD_() 694 if (vg_tid != s_vg_running_tid) in DRD_() 705 s_vg_running_tid = vg_tid; in DRD_() 1256 const ThreadId vg_tid = DRD_(DrdThreadIdToVgThreadId)(tid); in show_call_stack() local [all …]
|
D | drd_hb.c | 159 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local 160 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in DRD_()
|
D | drd_thread.h | 163 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid); 164 void DRD_(thread_set_running_tid)(const ThreadId vg_tid,
|