Lines Matching refs:hbthr
168 static Thread* mk_Thread ( Thr* hbthr ) { in mk_Thread() argument
174 thread->hbthr = hbthr; in mk_Thread()
974 Thr* hbthr = thr->hbthr; in shadow_mem_scopy_range() local
975 tl_assert(hbthr); in shadow_mem_scopy_range()
976 libhb_copy_shadow_state( hbthr, src, dst, len ); in shadow_mem_scopy_range()
981 Thr* hbthr = thr->hbthr; in shadow_mem_cread_range() local
982 tl_assert(hbthr); in shadow_mem_cread_range()
983 LIBHB_CREAD_N(hbthr, a, len); in shadow_mem_cread_range()
987 Thr* hbthr = thr->hbthr; in shadow_mem_cwrite_range() local
988 tl_assert(hbthr); in shadow_mem_cwrite_range()
989 LIBHB_CWRITE_N(hbthr, a, len); in shadow_mem_cwrite_range()
994 libhb_srange_new( thr->hbthr, a, len ); in shadow_mem_make_New()
1002 libhb_srange_noaccess_NoFX( thr->hbthr, aIN, len ); in shadow_mem_make_NoAccess_NoFX()
1010 libhb_srange_noaccess_AHAE( thr->hbthr, aIN, len ); in shadow_mem_make_NoAccess_AHAE()
1017 libhb_srange_untrack( thr->hbthr, aIN, len ); in shadow_mem_make_Untracked()
1079 tl_assert(thr->hbthr); in evhH__post_thread_w_acquires_lock()
1087 libhb_so_recv( thr->hbthr, lk->hbso, True/*strong_recv*/ ); in evhH__post_thread_w_acquires_lock()
1130 libhb_so_recv( thr->hbthr, lk->hbso, True/*strong_recv*/ ); in evhH__post_thread_w_acquires_lock()
1178 tl_assert(thr->hbthr); in evhH__post_thread_r_acquires_lock()
1186 libhb_so_recv( thr->hbthr, lk->hbso, False/*!strong_recv*/ ); in evhH__post_thread_r_acquires_lock()
1205 libhb_so_recv( thr->hbthr, lk->hbso, False/*!strong_recv*/ ); in evhH__post_thread_r_acquires_lock()
1351 tl_assert(thr->hbthr); in evhH__pre_thread_releases_lock()
1355 libhb_so_send( thr->hbthr, lock->hbso, was_heldW ); in evhH__pre_thread_releases_lock()
1393 libhb_Thr_resumes( current_Thread->hbthr ); in evh__start_client_code()
1549 hbthr_p = thr_p->hbthr; in evh__pre_thread_ll_create()
1634 tl_assert(thr_q->hbthr); in evh__pre_thread_ll_exit()
1635 libhb_async_exit(thr_q->hbthr); in evh__pre_thread_ll_exit()
1665 tl_assert(thr->hbthr); in evh__atfork_child()
1666 libhb_async_exit(thr->hbthr); in evh__atfork_child()
1724 hbthr_s = thr_s->hbthr; in evh__HG_PTHREAD_JOIN_POST()
1725 hbthr_q = thr_q->hbthr; in evh__HG_PTHREAD_JOIN_POST()
1847 Thr* hbthr = thr->hbthr; in evh__mem_help_cread_1() local
1848 LIBHB_CREAD_1(hbthr, a); in evh__mem_help_cread_1()
1854 Thr* hbthr = thr->hbthr; in evh__mem_help_cread_2() local
1855 LIBHB_CREAD_2(hbthr, a); in evh__mem_help_cread_2()
1861 Thr* hbthr = thr->hbthr; in evh__mem_help_cread_4() local
1862 LIBHB_CREAD_4(hbthr, a); in evh__mem_help_cread_4()
1868 Thr* hbthr = thr->hbthr; in evh__mem_help_cread_8() local
1869 LIBHB_CREAD_8(hbthr, a); in evh__mem_help_cread_8()
1875 Thr* hbthr = thr->hbthr; in evh__mem_help_cread_N() local
1876 LIBHB_CREAD_N(hbthr, a, size); in evh__mem_help_cread_N()
1882 Thr* hbthr = thr->hbthr; in evh__mem_help_cwrite_1() local
1883 LIBHB_CWRITE_1(hbthr, a); in evh__mem_help_cwrite_1()
1889 Thr* hbthr = thr->hbthr; in evh__mem_help_cwrite_2() local
1890 LIBHB_CWRITE_2(hbthr, a); in evh__mem_help_cwrite_2()
1896 Thr* hbthr = thr->hbthr; in evh__mem_help_cwrite_4() local
1897 LIBHB_CWRITE_4(hbthr, a); in evh__mem_help_cwrite_4()
1903 Thr* hbthr = thr->hbthr; in evh__mem_help_cwrite_8() local
1904 LIBHB_CWRITE_8(hbthr, a); in evh__mem_help_cwrite_8()
1910 Thr* hbthr = thr->hbthr; in evh__mem_help_cwrite_N() local
1911 LIBHB_CWRITE_N(hbthr, a, size); in evh__mem_help_cwrite_N()
2338 libhb_so_send( thr->hbthr, cvi->so, True/*strong_send*/ ); in evh__HG_PTHREAD_COND_SIGNAL_PRE()
2455 libhb_so_recv( thr->hbthr, cvi->so, True/*strong_recv*/ ); in evh__HG_PTHREAD_COND_WAIT_POST()
2779 Thr* hbthr = thr->hbthr; in evh__HG_POSIX_SEM_INIT_POST() local
2780 tl_assert(hbthr); in evh__HG_POSIX_SEM_INIT_POST()
2783 libhb_so_send( hbthr, so, True/*strong send*/ ); in evh__HG_POSIX_SEM_INIT_POST()
2800 Thr* hbthr; in evh__HG_POSIX_SEM_POST_PRE() local
2811 hbthr = thr->hbthr; in evh__HG_POSIX_SEM_POST_PRE()
2812 tl_assert(hbthr); in evh__HG_POSIX_SEM_POST_PRE()
2815 libhb_so_send( hbthr, so, True/*strong send*/ ); in evh__HG_POSIX_SEM_POST_PRE()
2828 Thr* hbthr; in evh__HG_POSIX_SEM_WAIT_POST() local
2842 hbthr = thr->hbthr; in evh__HG_POSIX_SEM_WAIT_POST()
2843 tl_assert(hbthr); in evh__HG_POSIX_SEM_WAIT_POST()
2845 libhb_so_recv( hbthr, so, True/*strong recv*/ ); in evh__HG_POSIX_SEM_WAIT_POST()
3039 Thr* hbthr = t->hbthr; in do_barrier_cross_sync_and_empty() local
3040 libhb_so_send( hbthr, so, False/*weak send*/ ); in do_barrier_cross_sync_and_empty()
3045 Thr* hbthr = t->hbthr; in do_barrier_cross_sync_and_empty() local
3046 libhb_so_recv( hbthr, so, True/*strong recv*/ ); in do_barrier_cross_sync_and_empty()
3277 libhb_so_send( thr->hbthr, so, False/*!strong_send*/ ); in evh__HG_USERSO_SEND_PRE()
3305 libhb_so_recv( thr->hbthr, so, True/*strong_recv*/ ); in evh__HG_USERSO_RECV_POST()
5070 dmml->hg_dependent->hbthr, stayer->hbthr); in hg_handle_client_request()
5071 tl_assert(dmml->hg_dependent->hbthr != stayer->hbthr); in hg_handle_client_request()
5072 generate_quitter_stayer_dependence (dmml->hg_dependent->hbthr, in hg_handle_client_request()
5073 stayer->hbthr); in hg_handle_client_request()