Lines Matching refs:synch

1171 	int synch;  member
1494 wake_threads(&info->synch); in thread_inheritor_like_mutex()
1495 wait_threads(&info->synch, info->synch_value); in thread_inheritor_like_mutex()
1549 wait_threads(&info->synch, info->synch_value - 1); in thread_just_inheritor_do_work()
1556 os_atomic_store(&info->synch, 0, relaxed); in thread_just_inheritor_do_work()
1560 wake_threads(&info->synch); in thread_just_inheritor_do_work()
1590 wait_threads(&info->synch, info->synch_value - 2); in thread_steal_work()
1607 wait_threads(&info->synch, info->synch_value - 2); in thread_steal_work()
1620 wake_threads(&info->synch); in thread_steal_work()
1682 wait_threads(&info->synch, info->synch_value - 1); in thread_mtx_work()
1687 os_atomic_store(&info->synch, 0, relaxed); in thread_mtx_work()
1699 wake_threads(&info->synch); in thread_mtx_work()
1716 wake_threads(&info->synch); in thread_mtx_work()
1717 wait_threads(&info->synch, info->synch_value); in thread_mtx_work()
1786 wait_threads(&info->synch, info->synch_value - 1); in thread_rw_work()
1793 os_atomic_store(&info->synch, 0, relaxed); in thread_rw_work()
1809 wake_threads(&info->synch); in thread_rw_work()
2167 wake_threads(&info->synch); in thread_use_cache()
2168 wait_threads(&info->synch, info->synch_value); in thread_use_cache()
2202 wake_threads(&info->synch); in thread_refcount_reflock()
2203 wait_threads(&info->synch, info->synch_value); in thread_refcount_reflock()
2262 wake_threads(&info->synch); in thread_force_reflock()
2263 wait_threads(&info->synch, info->synch_value); in thread_force_reflock()
2304 wake_threads(&info->synch); in thread_lock_reflock()
2305 wait_threads(&info->synch, info->synch_value); in thread_lock_reflock()
2330 info->synch = 0; in test_cache_reflock()
2351 info->synch = 0; in test_refcount_reflock()
2367 info->synch = 0; in test_force_reflock()
2381 info->synch = 0; in test_lock_reflock()
2396 info->synch = 0; in test_sleep_with_wake_all()
2410 info->synch = 0; in test_sleep_with_wake_one()
2430 info->synch = 0; in test_change_sleep_inheritor()
2441 info->synch = 0; in test_no_inheritor()
2456 info->synch = 0; in test_rw_lock()
2468 info->synch = 0; in test_mtx_lock()
2595 wait_threads(&info->synch, info->synch_value - 2); in thread_gate_aggressive()
2611 wait_threads(&info->synch, info->synch_value - 2); in thread_gate_aggressive()
2623 wake_threads(&info->synch); in thread_gate_aggressive()
2652 wait_threads(&info->synch, info->synch_value - 1); in thread_gate_free()
2660 wake_threads(&info->synch); in thread_gate_free()
2688 wake_threads(&info->synch); in thread_gate_like_mutex()
2689 wait_threads(&info->synch, info->synch_value); in thread_gate_like_mutex()
2739 wait_threads(&info->synch, info->synch_value - 1); in thread_just_one_do_work()
2743 os_atomic_store(&info->synch, 0, relaxed); in thread_just_one_do_work()
2750 wake_threads(&info->synch); in thread_just_one_do_work()
2770 info->synch = 0; in test_gate_push()
2787 info->synch = 0; in test_gate_handoff()
2809 info->synch = 0; in test_gate_steal()
2830 info->synch = 0; in test_gate_alloc_free()
2912 int synch; member
2957 wait_threads(&info->synch, info->synch_value - 1); in thread_sleep_gate_chain_work()
2979 wake_threads(&info->synch); in thread_sleep_gate_chain_work()
3049 wait_threads(&info->synch, info->synch_value - 1); in thread_gate_chain_work()
3060 wake_threads(&info->synch); in thread_gate_chain_work()
3102 wait_threads(&info->synch, info->synch_value - 1); in thread_sleep_chain_work()
3129 wake_threads(&info->synch); in thread_sleep_chain_work()
3157 info->synch = 0; in test_sleep_chain()
3167 info->synch = 0; in test_gate_chain()
3178 info->synch = 0; in test_sleep_gate_chain()