Home
last modified time | relevance | path

Searched refs:vg_tid (Results 1 – 10 of 10) sorted by relevance

/external/valgrind/drd/
Ddrd_clientreq.c53 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()
86 && vg_tid == VG_INVALID_THREADID)); in handle_client_request()
103 VG_(maybe_record_error)(vg_tid, in handle_client_request()
105 VG_(get_IP)(vg_tid), in handle_client_request()
111 DRD_(malloclike_block)(vg_tid, arg[1]/*addr*/, arg[2]/*size*/); in handle_client_request()
115 if (!DRD_(freelike_block)(vg_tid, arg[1]/*addr*/, False)) in handle_client_request()
121 VG_(maybe_record_error)(vg_tid, in handle_client_request()
[all …]
Ddrd_mutex.c214 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local
217 VG_(maybe_record_error)(vg_tid, in DRD_()
219 VG_(get_IP)(vg_tid), in DRD_()
341 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local
344 VG_(maybe_record_error)(vg_tid, in DRD_()
346 VG_(get_IP)(vg_tid), in DRD_()
369 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local
392 VG_(maybe_record_error)(vg_tid, in DRD_()
394 VG_(get_IP)(vg_tid), in DRD_()
404 VG_(maybe_record_error)(vg_tid, MutexErr, VG_(get_IP)(vg_tid), in DRD_()
[all …]
Ddrd_semaphore.c183 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_()
Ddrd_cond.c249 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()
Ddrd_rwlock.c326 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_()
Ddrd_main.c546 ThreadId vg_tid; in on_alt_stack() local
550 vg_tid = VG_(get_running_tid)(); in on_alt_stack()
551 alt_min = VG_(thread_get_altstack_min)(vg_tid); in on_alt_stack()
552 alt_size = VG_(thread_get_altstack_size)(vg_tid); in on_alt_stack()
574 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, in drd_pre_deliver_signal() argument
579 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_pre_deliver_signal()
598 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) in drd_post_deliver_signal() argument
602 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_post_deliver_signal()
683 static void drd_thread_finished(ThreadId vg_tid) in drd_thread_finished() argument
691 if (VG_(get_running_tid)() != vg_tid) in drd_thread_finished()
[all …]
Ddrd_load_store.c148 ThreadId vg_tid; in drd_report_race() local
150 vg_tid = VG_(get_running_tid)(); in drd_report_race()
158 VG_(maybe_record_error)(vg_tid, GenericErr, VG_(get_IP)(vg_tid), in drd_report_race()
170 VG_(maybe_record_error)(vg_tid, DataRaceErr, VG_(get_IP)(vg_tid), in drd_report_race()
Ddrd_thread.c747 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid) in DRD_()
749 tl_assert(vg_tid != VG_INVALID_THREADID); in DRD_()
751 if (vg_tid != s_vg_running_tid) in DRD_()
753 DRD_(thread_set_running_tid)(vg_tid, in DRD_()
754 DRD_(VgThreadIdToDrdThreadId)(vg_tid)); in DRD_()
765 void DRD_(thread_set_running_tid)(const ThreadId vg_tid, in DRD_()
768 tl_assert(vg_tid != VG_INVALID_THREADID); in DRD_()
771 if (vg_tid != s_vg_running_tid) in DRD_()
782 s_vg_running_tid = vg_tid; in DRD_()
1333 const ThreadId vg_tid = DRD_(DrdThreadIdToVgThreadId)(tid); in show_call_stack() local
[all …]
Ddrd_hb.c159 const ThreadId vg_tid = VG_(get_running_tid)(); in DRD_() local
160 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in DRD_()
Ddrd_thread.h179 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid);
180 void DRD_(thread_set_running_tid)(const ThreadId vg_tid,