Lines Matching refs:wait
553 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_disc()
556 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_disc()
558 if (sk_wait_event(sk, &timeout, sk->sk_state == TCP_CLOSE, &wait)) in llc_ui_wait_for_disc()
568 remove_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_disc()
574 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_conn()
576 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_conn()
578 if (sk_wait_event(sk, &timeout, sk->sk_state != TCP_SYN_SENT, &wait)) in llc_ui_wait_for_conn()
583 remove_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_conn()
589 DEFINE_WAIT_FUNC(wait, woken_wake_function); in llc_ui_wait_for_busy_core()
593 add_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_busy_core()
600 !llc->p_flag), &wait)) in llc_ui_wait_for_busy_core()
609 remove_wait_queue(sk_sleep(sk), &wait); in llc_ui_wait_for_busy_core()