• Home
  • Raw
  • Download

Lines Matching refs:DRD_

48 Bool DRD_(g_free_is_write);
62 void DRD_(clientreq_init)(void) in DRD_() function
80 const DrdThreadId drd_tid = DRD_(thread_get_running_tid)(); in handle_client_request()
83 tl_assert(DRD_(VgThreadIdToDrdThreadId)(vg_tid) == drd_tid in handle_client_request()
97 if (DRD_(g_free_is_write)) { in handle_client_request()
99 .tid = DRD_(thread_get_running_tid)(), in handle_client_request()
110 DRD_(malloclike_block)(vg_tid, arg[1]/*addr*/, arg[2]/*size*/); in handle_client_request()
114 if (!DRD_(freelike_block)(vg_tid, arg[1]/*addr*/, False)) in handle_client_request()
117 .tid = DRD_(thread_get_running_tid)(), in handle_client_request()
126 DRD_(malloclike_block)(vg_tid, arg[1]/*addr*/, arg[3]/*newSize*/); in handle_client_request()
130 if (arg[1] && ! DRD_(freelike_block)(vg_tid, arg[1]/*addr*/, False)) in handle_client_request()
133 .tid = DRD_(thread_get_running_tid)(), in handle_client_request()
153 DRD_(thread_set_name)(drd_tid, (const HChar*)arg[1]); in handle_client_request()
159 DRD_(start_suppression)(arg[1], arg[1] + arg[2], "client"); in handle_client_request()
165 DRD_(finish_suppression)(arg[1], arg[1] + arg[2]); in handle_client_request()
169 DRD_(hb_happens_before)(drd_tid, arg[1]); in handle_client_request()
173 DRD_(hb_happens_after)(drd_tid, arg[1]); in handle_client_request()
179 struct mutex_info* const mutex_p = DRD_(mutex_get)(arg[1]); in handle_client_request()
183 DRD_(rwlock_pre_init)(arg[1], user_rwlock); in handle_client_request()
189 struct mutex_info* const mutex_p = DRD_(mutex_get)(arg[1]); in handle_client_request()
193 DRD_(rwlock_post_destroy)(arg[1], user_rwlock); in handle_client_request()
199 struct mutex_info* const mutex_p = DRD_(mutex_get)(arg[1]); in handle_client_request()
206 DRD_(rwlock_pre_wrlock)(arg[1], user_rwlock); in handle_client_request()
207 DRD_(rwlock_post_wrlock)(arg[1], user_rwlock, True); in handle_client_request()
211 DRD_(rwlock_pre_rdlock)(arg[1], user_rwlock); in handle_client_request()
212 DRD_(rwlock_post_rdlock)(arg[1], user_rwlock, True); in handle_client_request()
219 struct mutex_info* const mutex_p = DRD_(mutex_get)(arg[1]); in handle_client_request()
224 DRD_(rwlock_pre_unlock)(arg[1], user_rwlock); in handle_client_request()
228 DRD_(semaphore_init)(arg[1], 0, arg[2]); in handle_client_request()
232 DRD_(semaphore_destroy)(arg[1]); in handle_client_request()
236 DRD_(semaphore_pre_wait)(arg[1]); in handle_client_request()
240 DRD_(semaphore_post_wait)(drd_tid, arg[1], True /* waited */); in handle_client_request()
244 DRD_(semaphore_pre_post)(drd_tid, arg[1]); in handle_client_request()
248 DRD_(pthread_cond_initializer) = (Addr)arg[1]; in handle_client_request()
249 DRD_(pthread_cond_initializer_size) = arg[2]; in handle_client_request()
253 DRD_(thread_new_segment)(DRD_(PtThreadIdToDrdThreadId)(arg[1])); in handle_client_request()
257 DRD_(start_tracing_address_range)(arg[1], arg[1] + arg[2], False); in handle_client_request()
261 DRD_(stop_tracing_address_range)(arg[1], arg[1] + arg[2]); in handle_client_request()
265 DRD_(thread_set_record_loads)(drd_tid, arg[1]); in handle_client_request()
269 DRD_(thread_set_record_stores)(drd_tid, arg[1]); in handle_client_request()
275 DRD_(thread_set_pthreadid)(drd_tid, arg[1]); in handle_client_request()
280 const DrdThreadId drd_joinable = DRD_(PtThreadIdToDrdThreadId)(arg[1]); in handle_client_request()
282 DRD_(thread_set_joinable)(drd_joinable, (Bool)arg[2]); in handle_client_request()
284 InvalidThreadIdInfo ITI = { DRD_(thread_get_running_tid)(), arg[1] }; in handle_client_request()
295 DRD_(thread_entering_pthread_create)(drd_tid); in handle_client_request()
299 DRD_(thread_left_pthread_create)(drd_tid); in handle_client_request()
304 const DrdThreadId thread_to_join = DRD_(PtThreadIdToDrdThreadId)(arg[1]); in handle_client_request()
307 InvalidThreadIdInfo ITI = { DRD_(thread_get_running_tid)(), arg[1] }; in handle_client_request()
316 DRD_(thread_post_join)(drd_tid, thread_to_join); in handle_client_request()
323 const DrdThreadId thread_to_cancel =DRD_(PtThreadIdToDrdThreadId)(arg[1]); in handle_client_request()
326 InvalidThreadIdInfo ITI = { DRD_(thread_get_running_tid)(), arg[1] }; in handle_client_request()
335 DRD_(thread_pre_cancel)(thread_to_cancel); in handle_client_request()
344 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
345 DRD_(mutex_init)(arg[1], arg[2]); in handle_client_request()
349 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
353 DRD_(thread_enter_synchr)(drd_tid); in handle_client_request()
357 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
358 DRD_(mutex_post_destroy)(arg[1]); in handle_client_request()
362 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
363 DRD_(mutex_pre_lock)(arg[1], arg[2], arg[3]); in handle_client_request()
367 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
368 DRD_(mutex_post_lock)(arg[1], arg[2], False/*post_cond_wait*/); in handle_client_request()
372 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
373 DRD_(mutex_unlock)(arg[1], arg[2]); in handle_client_request()
377 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
381 DRD_(mutex_ignore_ordering)(arg[1]); in handle_client_request()
385 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
386 DRD_(spinlock_init_or_unlock)(arg[1]); in handle_client_request()
390 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
394 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
395 DRD_(cond_pre_init)(arg[1]); in handle_client_request()
399 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
403 DRD_(thread_enter_synchr)(drd_tid); in handle_client_request()
407 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
408 DRD_(cond_post_destroy)(arg[1], arg[2]); in handle_client_request()
412 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
417 DRD_(mutex_unlock)(mutex, mutex_type); in handle_client_request()
418 DRD_(cond_pre_wait)(cond, mutex); in handle_client_request()
423 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
428 DRD_(cond_post_wait)(cond); in handle_client_request()
429 DRD_(mutex_post_lock)(mutex, took_lock, True); in handle_client_request()
434 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
435 DRD_(cond_pre_signal)(arg[1]); in handle_client_request()
439 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
443 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
444 DRD_(cond_pre_broadcast)(arg[1]); in handle_client_request()
448 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
452 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
453 DRD_(semaphore_init)(arg[1], arg[2], arg[3]); in handle_client_request()
457 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
461 DRD_(thread_enter_synchr)(drd_tid); in handle_client_request()
465 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
466 DRD_(semaphore_destroy)(arg[1]); in handle_client_request()
470 DRD_(thread_enter_synchr)(drd_tid); in handle_client_request()
474 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
475 DRD_(semaphore_open)(arg[1], (HChar*)arg[2], arg[3], arg[4], arg[5]); in handle_client_request()
479 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
480 DRD_(semaphore_close)(arg[1]); in handle_client_request()
484 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
488 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
489 DRD_(semaphore_pre_wait)(arg[1]); in handle_client_request()
493 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
494 DRD_(semaphore_post_wait)(drd_tid, arg[1], arg[2]); in handle_client_request()
498 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
499 DRD_(semaphore_pre_post)(drd_tid, arg[1]); in handle_client_request()
503 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
504 DRD_(semaphore_post_post)(drd_tid, arg[1], arg[2]); in handle_client_request()
508 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
509 DRD_(barrier_init)(arg[1], arg[2], arg[3], arg[4]); in handle_client_request()
513 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
517 DRD_(thread_enter_synchr)(drd_tid); in handle_client_request()
521 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
522 DRD_(barrier_destroy)(arg[1], arg[2]); in handle_client_request()
526 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
527 DRD_(barrier_pre_wait)(drd_tid, arg[1], arg[2]); in handle_client_request()
531 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
532 DRD_(barrier_post_wait)(drd_tid, arg[1], arg[2], arg[3], arg[4]); in handle_client_request()
536 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
537 DRD_(rwlock_pre_init)(arg[1], pthread_rwlock); in handle_client_request()
541 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
545 DRD_(thread_enter_synchr)(drd_tid); in handle_client_request()
549 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
550 DRD_(rwlock_post_destroy)(arg[1], pthread_rwlock); in handle_client_request()
554 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
555 DRD_(rwlock_pre_rdlock)(arg[1], pthread_rwlock); in handle_client_request()
559 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
560 DRD_(rwlock_post_rdlock)(arg[1], pthread_rwlock, arg[2]); in handle_client_request()
564 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
565 DRD_(rwlock_pre_wrlock)(arg[1], pthread_rwlock); in handle_client_request()
569 if (DRD_(thread_leave_synchr)(drd_tid) == 0) in handle_client_request()
570 DRD_(rwlock_post_wrlock)(arg[1], pthread_rwlock, arg[2]); in handle_client_request()
574 if (DRD_(thread_enter_synchr)(drd_tid) == 0) in handle_client_request()
575 DRD_(rwlock_pre_unlock)(arg[1], pthread_rwlock); in handle_client_request()
579 DRD_(thread_leave_synchr)(drd_tid); in handle_client_request()
584 DRD_(clean_memory)(arg[1], arg[2]); in handle_client_request()
593 { DRD_(thread_get_running_tid)(), (HChar*)arg[1] }; in handle_client_request()
608 { DRD_(thread_get_running_tid)(), (HChar*)arg[1] }; in handle_client_request()
619 DRD_(thread_entering_rtld_bind_guard)(drd_tid, arg[1]); in handle_client_request()
623 DRD_(thread_leaving_rtld_bind_clear)(drd_tid, arg[1]); in handle_client_request()