Lines Matching refs:TCP_CLOSE
160 case TCP_CLOSE: in unix_state_lock_cmp_fn()
173 case TCP_CLOSE: in unix_state_lock_cmp_fn()
685 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_release_sock()
790 if (sk->sk_state != TCP_CLOSE && sk->sk_state != TCP_LISTEN) in unix_listen()
1481 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_dgram_connect()
1491 WRITE_ONCE(old_peer->sk_state, TCP_CLOSE); in unix_dgram_connect()
1624 if (unlikely(state != TCP_CLOSE)) { in unix_stream_connect()
1631 if (unlikely(sk->sk_state != TCP_CLOSE)) { in unix_stream_connect()
2089 WRITE_ONCE(sk->sk_state, TCP_CLOSE); in unix_dgram_sendmsg()
3236 state == TCP_CLOSE) in unix_poll()
3281 if (sk->sk_type == SOCK_SEQPACKET && state == TCP_CLOSE) in unix_dgram_poll()