Home
last modified time | relevance | path

Searched refs:drd_tid (Results 1 – 8 of 8) sorted by relevance

/external/valgrind/drd/
Ddrd_clientreq.c81 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in handle_client_request() local
84 tl_assert(DRD_(VgThreadIdToDrdThreadId)(vg_tid) == drd_tid in handle_client_request()
150 result = drd_tid; in handle_client_request()
154 DRD_(thread_set_name)(drd_tid, (const HChar*)arg[1]); in handle_client_request()
170 DRD_(hb_happens_before)(drd_tid, arg[1]); in handle_client_request()
174 DRD_(hb_happens_after)(drd_tid, arg[1]); in handle_client_request()
241 DRD_(semaphore_post_wait)(drd_tid, arg[1], True /* waited */); in handle_client_request()
245 DRD_(semaphore_pre_post)(drd_tid, arg[1]); in handle_client_request()
266 DRD_(thread_set_record_loads)(drd_tid, arg[1]); in handle_client_request()
270 DRD_(thread_set_record_stores)(drd_tid, arg[1]); in handle_client_request()
[all …]
Ddrd_main.c577 DrdThreadId drd_tid; in drd_pre_deliver_signal() local
579 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_pre_deliver_signal()
580 DRD_(thread_set_on_alt_stack)(drd_tid, alt_stack); in drd_pre_deliver_signal()
600 DrdThreadId drd_tid; in drd_post_deliver_signal() local
602 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_post_deliver_signal()
603 DRD_(thread_set_on_alt_stack)(drd_tid, False); in drd_post_deliver_signal()
685 DrdThreadId drd_tid; in drd_thread_finished() local
694 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in drd_thread_finished()
695 tl_assert(drd_tid != DRD_INVALID_THREADID); in drd_thread_finished()
698 DRD_(trace_msg)("drd_thread_finished tid = %u%s", drd_tid, in drd_thread_finished()
[all …]
Ddrd_rwlock.c401 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
406 DRD_(trace_msg)("[%u] post_rwlock_rdlock 0x%lx", drd_tid, rwlock); in DRD_()
415 q = DRD_(lookup_or_insert_node)(p->thread_info, drd_tid); in DRD_()
418 DRD_(thread_new_segment)(drd_tid); in DRD_()
420 DRD_(rwlock_combine_other_vc)(p, drd_tid, False); in DRD_()
467 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
474 DRD_(trace_msg)("[%u] post_rwlock_wrlock 0x%lx", drd_tid, rwlock); in DRD_()
484 DRD_(thread_new_segment)(drd_tid); in DRD_()
486 DRD_(rwlock_combine_other_vc)(p, drd_tid, True); in DRD_()
503 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
[all …]
Ddrd_mutex.c305 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
312 drd_tid, in DRD_()
324 if (p->owner != drd_tid && p->owner != DRD_INVALID_THREADID) { in DRD_()
327 DRD_(thread_new_segment_and_combine_vc)(drd_tid, in DRD_()
330 DRD_(thread_new_segment)(drd_tid); in DRD_()
336 p->owner = drd_tid; in DRD_()
340 } else if (p->owner != drd_tid) { in DRD_()
350 p->owner = drd_tid; in DRD_()
368 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in DRD_() local
378 drd_tid, p ? DRD_(mutex_get_typename)(p) : "(?)", in DRD_()
[all …]
Ddrd_hb.c160 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in DRD_() local
188 DRD_(thread_new_segment)(drd_tid); in DRD_()
Ddrd_cond.c305 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid); in cond_signal() local
312 && ! DRD_(mutex_is_locked_by)(cond_p->mutex, drd_tid)) in cond_signal()
Ddrd_thread.c766 const DrdThreadId drd_tid) in DRD_()
769 tl_assert(drd_tid != DRD_INVALID_THREADID); in DRD_()
779 DRD_(g_drd_running_tid), drd_tid, in DRD_()
783 DRD_(g_drd_running_tid) = drd_tid; in DRD_()
784 thread_compute_conflict_set(&DRD_(g_conflict_set), drd_tid); in DRD_()
Ddrd_thread.h181 const DrdThreadId drd_tid);