Lines Matching refs:wait
583 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_disc()
586 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_disc()
589 READ_ONCE(sk->sk_state) == TCP_CLOSE, &wait)) in llc_ui_wait_for_disc()
599 remove_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_disc()
605 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_conn()
607 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_conn()
610 READ_ONCE(sk->sk_state) != TCP_SYN_SENT, &wait)) in llc_ui_wait_for_conn()
615 remove_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_conn()
621 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_busy_core()
625 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_busy_core()
632 !llc->p_flag), &wait)) in llc_ui_wait_for_busy_core()
641 remove_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_busy_core()