• Home
  • Raw
  • Download

Lines Matching refs:sk_state

27 	while (sk->sk_state != state) {  in sock_wait_state()
84 if (sk->sk_state != LLCP_CLOSED) { in llcp_sock_bind()
134 sk->sk_state = LLCP_BOUND; in llcp_sock_bind()
166 if (sk->sk_state != LLCP_CLOSED) { in llcp_raw_sock_bind()
189 sk->sk_state = LLCP_BOUND; in llcp_raw_sock_bind()
209 sk->sk_state != LLCP_BOUND) { in llcp_sock_listen()
218 sk->sk_state = LLCP_LISTEN; in llcp_sock_listen()
243 if (sk->sk_state == LLCP_CONNECTED || in nfc_llcp_setsockopt()
244 sk->sk_state == LLCP_BOUND || in nfc_llcp_setsockopt()
245 sk->sk_state == LLCP_LISTEN) { in nfc_llcp_setsockopt()
265 if (sk->sk_state == LLCP_CONNECTED || in nfc_llcp_setsockopt()
266 sk->sk_state == LLCP_BOUND || in nfc_llcp_setsockopt()
267 sk->sk_state == LLCP_LISTEN) { in nfc_llcp_setsockopt()
380 pr_debug("state %d\n", sk->sk_state); in nfc_llcp_accept_unlink()
416 if (sk->sk_state == LLCP_CLOSED) { in nfc_llcp_accept_dequeue()
422 if (sk->sk_state == LLCP_CONNECTED || !newsock) { in nfc_llcp_accept_dequeue()
431 pr_debug("Returning sk state %d\n", sk->sk_state); in nfc_llcp_accept_dequeue()
456 if (sk->sk_state != LLCP_LISTEN) { in llcp_sock_accept()
543 if (sk->sk_state == LLCP_CONNECTED) in llcp_accept_poll()
560 if (sk->sk_state == LLCP_LISTEN) in llcp_sock_poll()
570 if (sk->sk_state == LLCP_CLOSED) in llcp_sock_poll()
579 if (sock_writeable(sk) && sk->sk_state == LLCP_CONNECTED) in llcp_sock_poll()
610 if (sk->sk_state == LLCP_CONNECTED) in llcp_sock_release()
613 if (sk->sk_state == LLCP_LISTEN) { in llcp_sock_release()
638 if (sk->sk_state == LLCP_DISCONNECTING) in llcp_sock_release()
676 if (sk->sk_state == LLCP_CONNECTED) { in llcp_sock_connect()
680 if (sk->sk_state == LLCP_CONNECTING) { in llcp_sock_connect()
745 sk->sk_state = LLCP_CONNECTING; in llcp_sock_connect()
812 if (sk->sk_state != LLCP_CONNECTED) { in llcp_sock_sendmsg()
835 if (sk->sk_state == LLCP_CLOSED && in llcp_sock_recvmsg()
849 sk->sk_state, err, sock_error(sk)); in llcp_sock_recvmsg()
956 if (sk->sk_state == LLCP_CONNECTED) in llcp_sock_destruct()
981 sk->sk_state = LLCP_CLOSED; in nfc_llcp_sock_alloc()