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

/external/valgrind/main/drd/
H A Ddrd_clientreq.c55 static Bool handle_client_request(ThreadId vg_tid, UWord* arg, UWord* ret);
73 static Bool handle_client_request(ThreadId vg_tid, UWord* arg, UWord* ret) argument
78 tl_assert(vg_tid == VG_(get_running_tid()));
79 tl_assert(DRD_(VgThreadIdToDrdThreadId)(vg_tid) == drd_tid);
89 VG_(maybe_record_error)(vg_tid,
91 VG_(get_IP)(vg_tid),
97 DRD_(malloclike_block)(vg_tid, arg[1]/*addr*/, arg[2]/*size*/);
101 if (!DRD_(freelike_block)(vg_tid, arg[1]/*addr*/, False))
107 VG_(maybe_record_error)(vg_tid,
109 VG_(get_IP)(vg_tid),
[all...]
H A Ddrd_mutex.c197 const ThreadId vg_tid = VG_(get_running_tid)(); local
200 VG_(maybe_record_error)(vg_tid,
202 VG_(get_IP)(vg_tid),
323 const ThreadId vg_tid = VG_(get_running_tid)(); local
326 VG_(maybe_record_error)(vg_tid,
328 VG_(get_IP)(vg_tid),
351 const ThreadId vg_tid = VG_(get_running_tid)(); local
374 VG_(maybe_record_error)(vg_tid,
376 VG_(get_IP)(vg_tid),
386 VG_(maybe_record_error)(vg_tid, MutexEr
[all...]
H A Ddrd_semaphore.c184 const ThreadId vg_tid = VG_(get_running_tid)(); local
186 VG_(maybe_record_error)(vg_tid,
188 VG_(get_IP)(vg_tid),
200 const ThreadId vg_tid = VG_(get_running_tid)(); local
202 VG_(maybe_record_error)(vg_tid,
204 VG_(get_IP)(vg_tid),
268 const ThreadId vg_tid = VG_(get_running_tid)(); local
270 VG_(maybe_record_error)(vg_tid,
272 VG_(get_IP)(vg_tid),
H A Ddrd_cond.c250 const ThreadId vg_tid = VG_(get_running_tid)(); local
253 VG_(maybe_record_error)(vg_tid,
255 VG_(get_IP)(vg_tid),
305 const ThreadId vg_tid = VG_(get_running_tid)(); local
306 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid);
323 VG_(maybe_record_error)(vg_tid,
325 VG_(get_IP)(vg_tid),
H A Ddrd_main.c480 ThreadId vg_tid; local
484 vg_tid = VG_(get_running_tid)();
485 alt_min = VG_(thread_get_altstack_min)(vg_tid);
486 alt_size = VG_(thread_get_altstack_size)(vg_tid);
508 void drd_pre_deliver_signal(const ThreadId vg_tid, const Int sigNo, argument
513 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid);
532 void drd_post_deliver_signal(const ThreadId vg_tid, const Int sigNo) argument
536 drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid);
608 static void drd_thread_finished(ThreadId vg_tid) argument
612 tl_assert(VG_(get_running_tid)() == vg_tid);
[all...]
H A Ddrd_rwlock.c333 const ThreadId vg_tid = VG_(get_running_tid)(); local
335 VG_(maybe_record_error)(vg_tid,
337 VG_(get_IP)(vg_tid),
511 const ThreadId vg_tid = VG_(get_running_tid)(); local
538 VG_(maybe_record_error)(vg_tid,
540 VG_(get_IP)(vg_tid),
558 VG_(maybe_record_error)(vg_tid,
560 VG_(get_IP)(vg_tid),
589 VG_(maybe_record_error)(vg_tid,
591 VG_(get_IP)(vg_tid),
[all...]
H A Ddrd_hb.c160 const ThreadId vg_tid = VG_(get_running_tid)(); local
161 const DrdThreadId drd_tid = DRD_(VgThreadIdToDrdThreadId)(vg_tid);
H A Ddrd_thread.c662 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid) argument
664 tl_assert(vg_tid != VG_INVALID_THREADID);
666 if (vg_tid != s_vg_running_tid)
668 DRD_(thread_set_running_tid)(vg_tid,
669 DRD_(VgThreadIdToDrdThreadId)(vg_tid));
680 void DRD_(thread_set_running_tid)(const ThreadId vg_tid, argument
683 tl_assert(vg_tid != VG_INVALID_THREADID);
686 if (vg_tid != s_vg_running_tid)
697 s_vg_running_tid = vg_tid;
1254 const ThreadId vg_tid local
[all...]
H A Ddrd_thread.h163 void DRD_(thread_set_vg_running_tid)(const ThreadId vg_tid);
164 void DRD_(thread_set_running_tid)(const ThreadId vg_tid,
/external/valgrind/tsan/
H A Dts_valgrind.cc159 static inline uintptr_t GetVgPc(ThreadId vg_tid) { argument
160 Addr pc = VG_(threads)[vg_tid].arch.vex.VG_INSTR_PTR;
161 DCHECK(pc == VG_(get_IP)(vg_tid));
163 //return (uintptr_t)VG_(get_IP)(vg_tid);
166 static inline uintptr_t GetVgSp(ThreadId vg_tid) { argument
167 Addr sp = VG_(threads)[vg_tid].arch.vex.VG_STACK_PTR;
168 DCHECK(sp == VG_(get_SP)(vg_tid));
173 static inline uintptr_t GetVgLr(ThreadId vg_tid) { argument
174 return (uintptr_t)VG_(threads)[vg_tid].arch.vex.guest_R14;
254 static int32_t VgTidToTsTid(ThreadId vg_tid) { argument
348 OnStartClientCode(ThreadId vg_tid, ULong nDisp) argument
491 ThreadId vg_tid = GetVgTid(); local
533 evh__pre_workq_task_start(ThreadId vg_tid, Addr workitem) argument
541 evh__pre_thread_first_insn(const ThreadId vg_tid) argument
563 ignoring_sync(ThreadId vg_tid, uintptr_t addr) argument
571 ts_handle_client_request(ThreadId vg_tid, UWord* args, UWord* ret) argument
789 SignalIn(ThreadId vg_tid, Int sigNo, Bool alt_stack) argument
796 SignalOut(ThreadId vg_tid, Int sigNo) argument
835 ThreadId vg_tid = GetVgTid(); local
897 ThreadId vg_tid = GetVgTid(); local
[all...]

Completed in 95 milliseconds