sk_state 688 drivers/block/drbd/drbd_receiver.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 212 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state == TCP_SYN_RECV) sk_state 229 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state != TCP_SYN_RECV) sk_state 280 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state != TCP_SYN_SENT) sk_state 291 drivers/crypto/chelsio/chtls/chtls_cm.c int next = (int)new_state[sk->sk_state]; sk_state 312 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state == TCP_CLOSE) { sk_state 314 drivers/crypto/chelsio/chtls/chtls_cm.c } else if (data_lost || sk->sk_state == TCP_SYN_SENT) { sk_state 328 drivers/crypto/chelsio/chtls/chtls_cm.c prev_state = sk->sk_state; sk_state 337 drivers/crypto/chelsio/chtls/chtls_cm.c if (prev_state != TCP_CLOSE && sk->sk_state == TCP_CLOSE) sk_state 340 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state == TCP_FIN_WAIT2 && tcp_sk(sk)->linger2 < 0 && sk_state 349 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state == TCP_CLOSE) sk_state 415 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state != TCP_CLOSE) { sk_state 463 drivers/crypto/chelsio/chtls/chtls_cm.c if (child->sk_state == TCP_CLOSE) sk_state 781 drivers/crypto/chelsio/chtls/chtls_cm.c if (likely(parent->sk_state == TCP_LISTEN)) { sk_state 1187 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state != TCP_LISTEN) sk_state 1353 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state == TCP_CLOSE) sk_state 1388 drivers/crypto/chelsio/chtls/chtls_cm.c if (lsk->sk_state != TCP_LISTEN) sk_state 1722 drivers/crypto/chelsio/chtls/chtls_cm.c switch (sk->sk_state) { sk_state 1738 drivers/crypto/chelsio/chtls/chtls_cm.c pr_info("cpl_peer_close in bad state %d\n", sk->sk_state); sk_state 1746 drivers/crypto/chelsio/chtls/chtls_cm.c sk->sk_state == TCP_CLOSE) sk_state 1765 drivers/crypto/chelsio/chtls/chtls_cm.c switch (sk->sk_state) { sk_state 1788 drivers/crypto/chelsio/chtls/chtls_cm.c pr_info("close_con_rpl in bad state %d\n", sk->sk_state); sk_state 1857 drivers/crypto/chelsio/chtls/chtls_cm.c if (e && sk->sk_state != TCP_SYN_RECV) { sk_state 1903 drivers/crypto/chelsio/chtls/chtls_cm.c if (e && sk->sk_state != TCP_SYN_RECV) { sk_state 1978 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state == TCP_SYN_RECV) sk_state 2004 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state == TCP_SYN_RECV && !abort_syn_rcv(sk, skb)) sk_state 2026 drivers/crypto/chelsio/chtls/chtls_cm.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 115 drivers/crypto/chelsio/chtls/chtls_cm.h return states & (1 << sk->sk_state); sk_state 193 drivers/crypto/chelsio/chtls/chtls_io.c FLOWC_PARAM(TCPSTATE, tcp_state_to_flowc_state(sk->sk_state)); sk_state 1444 drivers/crypto/chelsio/chtls/chtls_io.c if (sk->sk_err || sk->sk_state == TCP_CLOSE || sk_state 1460 drivers/crypto/chelsio/chtls/chtls_io.c if (sk->sk_state == TCP_CLOSE) { sk_state 1605 drivers/crypto/chelsio/chtls/chtls_io.c if (sk->sk_state == TCP_CLOSE) { sk_state 1706 drivers/crypto/chelsio/chtls/chtls_io.c sk->sk_state == TCP_ESTABLISHED) sk_state 1750 drivers/crypto/chelsio/chtls/chtls_io.c if (sk->sk_err || sk->sk_state == TCP_CLOSE || sk_state 1763 drivers/crypto/chelsio/chtls/chtls_io.c if (sk->sk_state == TCP_CLOSE) { sk_state 147 drivers/crypto/chelsio/chtls/chtls_main.c if (sk->sk_state == TCP_LISTEN) sk_state 156 drivers/crypto/chelsio/chtls/chtls_main.c if (sk->sk_state == TCP_LISTEN) sk_state 1267 drivers/infiniband/sw/siw/siw_cm.c sk->sk_err, sk->sk_state, cep->state); sk_state 1289 drivers/infiniband/sw/siw/siw_cm.c switch (sk->sk_state) { sk_state 1306 drivers/infiniband/sw/siw/siw_cm.c siw_dbg_cep(cep, "unexpected socket state %d\n", sk->sk_state); sk_state 69 drivers/isdn/mISDN/socket.c if (msk->sk.sk_state == MISDN_CLOSED) sk_state 88 drivers/isdn/mISDN/socket.c msk->sk.sk_state = MISDN_CLOSED; sk_state 121 drivers/isdn/mISDN/socket.c if (sk->sk_state == MISDN_CLOSED) sk_state 187 drivers/isdn/mISDN/socket.c if (sk->sk_state != MISDN_BOUND) sk_state 249 drivers/isdn/mISDN/socket.c if (sk->sk_state == MISDN_BOUND) sk_state 394 drivers/isdn/mISDN/socket.c if (sk->sk_state == MISDN_BOUND) sk_state 543 drivers/isdn/mISDN/socket.c sk->sk_state = MISDN_BOUND; sk_state 611 drivers/isdn/mISDN/socket.c sk->sk_state = MISDN_OPEN; sk_state 723 drivers/isdn/mISDN/socket.c sk->sk_state = MISDN_BOUND; sk_state 769 drivers/isdn/mISDN/socket.c sk->sk_state = MISDN_OPEN; sk_state 66 drivers/isdn/mISDN/stack.c if (sk->sk_state != MISDN_BOUND) sk_state 339 drivers/net/ethernet/mellanox/mlx5/core/en_accel/tls_rxtx.c if (!sk || sk->sk_state == TCP_TIME_WAIT) { sk_state 309 drivers/net/ppp/pppoe.c sk->sk_state & (PPPOX_CONNECTED | PPPOX_BOUND)) { sk_state 380 drivers/net/ppp/pppoe.c if (sk->sk_state & PPPOX_BOUND) { sk_state 382 drivers/net/ppp/pppoe.c } else if (sk->sk_state & PPPOX_RELAY) { sk_state 388 drivers/net/ppp/pppoe.c if ((sk_pppox(relay_po)->sk_state & PPPOX_CONNECTED) == 0) sk_state 552 drivers/net/ppp/pppoe.c sk->sk_state = PPPOX_NONE; sk_state 589 drivers/net/ppp/pppoe.c sk->sk_state = PPPOX_DEAD; sk_state 634 drivers/net/ppp/pppoe.c if ((sk->sk_state & PPPOX_CONNECTED) && sk_state 640 drivers/net/ppp/pppoe.c if ((sk->sk_state & PPPOX_DEAD) && sk_state 664 drivers/net/ppp/pppoe.c sk->sk_state = PPPOX_NONE; sk_state 706 drivers/net/ppp/pppoe.c sk->sk_state = PPPOX_CONNECTED; sk_state 749 drivers/net/ppp/pppoe.c if (!(sk->sk_state & PPPOX_CONNECTED)) sk_state 763 drivers/net/ppp/pppoe.c if (!(sk->sk_state & PPPOX_CONNECTED)) sk_state 790 drivers/net/ppp/pppoe.c if (sk->sk_state & (PPPOX_BOUND | PPPOX_DEAD)) sk_state 794 drivers/net/ppp/pppoe.c if (!(sk->sk_state & PPPOX_CONNECTED)) sk_state 817 drivers/net/ppp/pppoe.c sk->sk_state |= PPPOX_RELAY; sk_state 824 drivers/net/ppp/pppoe.c if (!(sk->sk_state & PPPOX_RELAY)) sk_state 827 drivers/net/ppp/pppoe.c sk->sk_state &= ~PPPOX_RELAY; sk_state 852 drivers/net/ppp/pppoe.c if (sock_flag(sk, SOCK_DEAD) || !(sk->sk_state & PPPOX_CONNECTED)) { sk_state 929 drivers/net/ppp/pppoe.c if (sock_flag(sk, SOCK_DEAD) || !(sk->sk_state & PPPOX_CONNECTED)) sk_state 988 drivers/net/ppp/pppoe.c if (sk->sk_state & PPPOX_BOUND) { sk_state 57 drivers/net/ppp/pppox.c if (sk->sk_state & (PPPOX_BOUND | PPPOX_CONNECTED)) { sk_state 59 drivers/net/ppp/pppox.c sk->sk_state = PPPOX_DEAD; sk_state 79 drivers/net/ppp/pppox.c if (!(sk->sk_state & PPPOX_CONNECTED)) sk_state 88 drivers/net/ppp/pppox.c sk->sk_state |= PPPOX_BOUND; sk_state 151 drivers/net/ppp/pptp.c if (sk_pppox(po)->sk_state & PPPOX_DEAD) sk_state 263 drivers/net/ppp/pptp.c if (!(sk->sk_state & PPPOX_CONNECTED)) { sk_state 382 drivers/net/ppp/pptp.c if (sk->sk_state & PPPOX_DEAD) { sk_state 387 drivers/net/ppp/pptp.c if (sk->sk_state & PPPOX_BOUND) { sk_state 395 drivers/net/ppp/pptp.c sk->sk_state |= PPPOX_BOUND; sk_state 424 drivers/net/ppp/pptp.c if (sk->sk_state & PPPOX_CONNECTED) { sk_state 430 drivers/net/ppp/pptp.c if (sk->sk_state & PPPOX_DEAD) { sk_state 467 drivers/net/ppp/pptp.c sk->sk_state |= PPPOX_CONNECTED; sk_state 512 drivers/net/ppp/pptp.c sk->sk_state = PPPOX_DEAD; sk_state 525 drivers/net/ppp/pptp.c if (!(sk->sk_state & PPPOX_DEAD)) { sk_state 550 drivers/net/ppp/pptp.c sk->sk_state = PPPOX_NONE; sk_state 816 drivers/nvme/host/tcp.c switch (sk->sk_state) { sk_state 828 drivers/nvme/host/tcp.c nvme_tcp_queue_id(queue), sk->sk_state); sk_state 1401 drivers/nvme/target/tcp.c switch (sk->sk_state) { sk_state 1411 drivers/nvme/target/tcp.c queue->idx, sk->sk_state); sk_state 1563 drivers/nvme/target/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 115 drivers/scsi/iscsi_tcp.c if ((sk->sk_state == TCP_CLOSE_WAIT || sk->sk_state == TCP_CLOSE) && sk_state 482 drivers/target/iscsi/iscsi_target_nego.c if (sk->sk_state == TCP_CLOSE_WAIT || sk->sk_state == TCP_CLOSE) { sk_state 630 drivers/vhost/vsock.c sk->sk_state = SS_UNCONNECTED; sk_state 460 fs/dlm/lowcomms.c } else if (sk->sk_state == TCP_ESTABLISHED) { sk_state 618 fs/ocfs2/cluster/tcp.c sclog(sc, "state_change to %d\n", sk->sk_state); sk_state 622 fs/ocfs2/cluster/tcp.c switch(sk->sk_state) { sk_state 633 fs/ocfs2/cluster/tcp.c SC_NODEF_ARGS(sc), sk->sk_state); sk_state 1997 fs/ocfs2/cluster/tcp.c if (sk->sk_state == TCP_LISTEN) { sk_state 57 fs/ocfs2/cluster/tcp.h if (sock->sk->sk_state != TCP_ESTABLISHED && sk_state 58 fs/ocfs2/cluster/tcp.h sock->sk->sk_state != TCP_CLOSE_WAIT) sk_state 450 include/linux/tcp.h return sk->sk_state == TCP_SYN_RECV && sk_state 265 include/net/inet_sock.h if (sk && sk->sk_state == TCP_NEW_SYN_RECV) sk_state 275 include/net/inet_sock.h if (sk && sk->sk_state == TCP_NEW_SYN_RECV) sk_state 318 include/net/inet_sock.h return smp_load_acquire(&sk->sk_state); sk_state 533 include/net/sctp/sctp.h return sk->sk_state == state; sk_state 992 include/net/sock.h if (sk->sk_state == TCP_ESTABLISHED) sk_state 2501 include/net/sock.h return (1 << sk->sk_state) & ~(TCPF_TIME_WAIT | TCPF_NEW_SYN_RECV); sk_state 2533 include/net/sock.h return (1 << sk->sk_state) & (TCPF_LISTEN | TCPF_NEW_SYN_RECV); sk_state 1880 include/net/tcp.h switch (sk->sk_state) { sk_state 2088 include/net/tcp.h if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) { sk_state 2305 include/net/tcp.h u32 delay = (sk->sk_state == TCP_TIME_WAIT) ? sk_state 571 include/trace/events/sunrpc.h __entry->sock_state = socket->sk->sk_state; sk_state 621 include/trace/events/sunrpc.h __entry->sock_state = socket->sk->sk_state; sk_state 74 include/trace/events/tcp.h __entry->state = sk->sk_state; sk_state 183 net/appletalk/atalk_proc.c s->sk_state, sk_state 1193 net/appletalk/ddp.c sk->sk_state = TCP_CLOSE; sk_state 1229 net/appletalk/ddp.c sk->sk_state = TCP_ESTABLISHED; sk_state 1258 net/appletalk/ddp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1601 net/appletalk/ddp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 162 net/ax25/af_ax25.c s->sk->sk_type == type && s->sk->sk_state == TCP_LISTEN) { sk_state 312 net/ax25/af_ax25.c skb->sk->sk_state = TCP_LISTEN; sk_state 650 net/ax25/af_ax25.c sk->sk_state == TCP_LISTEN)) { sk_state 784 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { sk_state 786 net/ax25/af_ax25.c sk->sk_state = TCP_LISTEN; sk_state 920 net/ax25/af_ax25.c sk->sk_state = TCP_ESTABLISHED; sk_state 1016 net/ax25/af_ax25.c sk->sk_state = TCP_CLOSE; sk_state 1026 net/ax25/af_ax25.c sk->sk_state = TCP_CLOSE; sk_state 1157 net/ax25/af_ax25.c switch (sk->sk_state) { sk_state 1173 net/ax25/af_ax25.c if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { sk_state 1178 net/ax25/af_ax25.c sk->sk_state = TCP_CLOSE; sk_state 1255 net/ax25/af_ax25.c sk->sk_state = TCP_ESTABLISHED; sk_state 1261 net/ax25/af_ax25.c sk->sk_state = TCP_SYN_SENT; sk_state 1286 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { sk_state 1291 net/ax25/af_ax25.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 1297 net/ax25/af_ax25.c if (sk->sk_state != TCP_SYN_SENT) sk_state 1314 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1351 net/ax25/af_ax25.c if (sk->sk_state != TCP_LISTEN) { sk_state 1412 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1542 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1576 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1625 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_ESTABLISHED) { sk_state 63 net/ax25/ax25_ds_in.c ax25->sk->sk_state = TCP_ESTABLISHED; sk_state 105 net/ax25/ax25_ds_timer.c (sk->sk_state == TCP_LISTEN && sk_state 169 net/ax25/ax25_ds_timer.c ax25->sk->sk_state = TCP_CLOSE; sk_state 357 net/ax25/ax25_in.c make->sk_state = TCP_ESTABLISHED; sk_state 71 net/ax25/ax25_std_in.c ax25->sk->sk_state = TCP_ESTABLISHED; sk_state 42 net/ax25/ax25_std_timer.c (sk->sk_state == TCP_LISTEN && sk_state 109 net/ax25/ax25_std_timer.c ax25->sk->sk_state = TCP_CLOSE; sk_state 278 net/ax25/ax25_subr.c ax25->sk->sk_state = TCP_CLOSE; sk_state 185 net/bluetooth/af_bluetooth.c BT_DBG("sk %p state %d", sk, sk->sk_state); sk_state 228 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CLOSED) { sk_state 234 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CONNECTED || !newsock || sk_state 441 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CONNECTED || sk_state 443 net/bluetooth/af_bluetooth.c sk->sk_state == BT_CONNECT2)) sk_state 460 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_LISTEN) sk_state 476 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CLOSED) sk_state 479 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CONNECT || sk_state 480 net/bluetooth/af_bluetooth.c sk->sk_state == BT_CONNECT2 || sk_state 481 net/bluetooth/af_bluetooth.c sk->sk_state == BT_CONFIG) sk_state 504 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_LISTEN) sk_state 514 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_LISTEN) sk_state 543 net/bluetooth/af_bluetooth.c while (sk->sk_state != state) { sk_state 503 net/bluetooth/bnep/core.c if (sk->sk_state != BT_CONNECTED) sk_state 76 net/bluetooth/bnep/sock.c if (nsock->sk->sk_state != BT_CONNECTED) { sk_state 222 net/bluetooth/bnep/sock.c sk->sk_state = BT_OPEN; sk_state 293 net/bluetooth/cmtp/core.c if (sk->sk_state != BT_CONNECTED) sk_state 89 net/bluetooth/cmtp/sock.c if (nsock->sk->sk_state != BT_CONNECTED) { sk_state 225 net/bluetooth/cmtp/sock.c sk->sk_state = BT_OPEN; sk_state 203 net/bluetooth/hci_sock.c if (sk->sk_state != BT_BOUND || hci_pi(sk)->hdev != hdev) sk_state 272 net/bluetooth/hci_sock.c if (sk->sk_state != BT_BOUND) sk_state 762 net/bluetooth/hci_sock.c sk->sk_state = BT_OPEN; sk_state 1083 net/bluetooth/hci_sock.c if (sk->sk_state == BT_BOUND) { sk_state 1337 net/bluetooth/hci_sock.c sk->sk_state = BT_BOUND; sk_state 1429 net/bluetooth/hci_sock.c if (sk->sk_state == BT_CLOSED) sk_state 2020 net/bluetooth/hci_sock.c sk->sk_state = BT_OPEN; sk_state 1208 net/bluetooth/hidp/core.c if (ctrl_sk->sk_state != BT_CONNECTED || sk_state 1209 net/bluetooth/hidp/core.c intr_sk->sk_state != BT_CONNECTED) sk_state 1332 net/bluetooth/hidp/core.c if (ctrl->sk.sk_state != BT_CONNECTED || sk_state 1333 net/bluetooth/hidp/core.c intr->sk.sk_state != BT_CONNECTED) sk_state 273 net/bluetooth/hidp/sock.c sk->sk_state = BT_OPEN; sk_state 113 net/bluetooth/l2cap_sock.c if (sk->sk_state != BT_OPEN) { sk_state 168 net/bluetooth/l2cap_sock.c sk->sk_state = BT_BOUND; sk_state 263 net/bluetooth/l2cap_sock.c if (sk->sk_state != BT_BOUND) { sk_state 297 net/bluetooth/l2cap_sock.c sk->sk_state = BT_LISTEN; sk_state 321 net/bluetooth/l2cap_sock.c if (sk->sk_state != BT_LISTEN) { sk_state 369 net/bluetooth/l2cap_sock.c if (peer && sk->sk_state != BT_CONNECTED && sk_state 370 net/bluetooth/l2cap_sock.c sk->sk_state != BT_CONNECT && sk->sk_state != BT_CONNECT2 && sk_state 371 net/bluetooth/l2cap_sock.c sk->sk_state != BT_CONFIG) sk_state 469 net/bluetooth/l2cap_sock.c if (sk->sk_state != BT_CONNECTED && sk_state 470 net/bluetooth/l2cap_sock.c !(sk->sk_state == BT_CONNECT2 && sk_state 530 net/bluetooth/l2cap_sock.c if (sk->sk_state == BT_CONNECTED) sk_state 543 net/bluetooth/l2cap_sock.c if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { sk_state 587 net/bluetooth/l2cap_sock.c if (sk->sk_state != BT_CONNECTED) { sk_state 651 net/bluetooth/l2cap_sock.c if (sk->sk_state == BT_CONNECTED) { sk_state 802 net/bluetooth/l2cap_sock.c sk->sk_state = BT_CONFIG; sk_state 806 net/bluetooth/l2cap_sock.c } else if ((sk->sk_state == BT_CONNECT2 && sk_state 808 net/bluetooth/l2cap_sock.c sk->sk_state == BT_CONNECTED) { sk_state 819 net/bluetooth/l2cap_sock.c if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { sk_state 905 net/bluetooth/l2cap_sock.c if (sk->sk_state == BT_CONNECTED && sk_state 929 net/bluetooth/l2cap_sock.c if (sk->sk_state == BT_CONNECTED) { sk_state 967 net/bluetooth/l2cap_sock.c if (sk->sk_state != BT_CONNECTED) sk_state 992 net/bluetooth/l2cap_sock.c if (sk->sk_state == BT_CONNECT2 && test_bit(BT_SK_DEFER_SETUP, sk_state 995 net/bluetooth/l2cap_sock.c sk->sk_state = BT_CONNECTED; sk_state 999 net/bluetooth/l2cap_sock.c sk->sk_state = BT_CONFIG; sk_state 1052 net/bluetooth/l2cap_sock.c BT_DBG("sk %p state %s", sk, state_to_string(sk->sk_state)); sk_state 1216 net/bluetooth/l2cap_sock.c state_to_string(parent->sk_state)); sk_state 1344 net/bluetooth/l2cap_sock.c sk->sk_state = BT_CLOSED; sk_state 1349 net/bluetooth/l2cap_sock.c sk->sk_state = BT_CLOSED; sk_state 1372 net/bluetooth/l2cap_sock.c sk->sk_state = state; sk_state 1411 net/bluetooth/l2cap_sock.c sk->sk_state = BT_CONNECTED; sk_state 1438 net/bluetooth/l2cap_sock.c sk->sk_state = BT_CONNECTED; sk_state 1606 net/bluetooth/l2cap_sock.c sk->sk_state = BT_OPEN; sk_state 187 net/bluetooth/rfcomm/core.c BT_DBG("%p state %d", sk, sk->sk_state); sk_state 1916 net/bluetooth/rfcomm/core.c if (s && (sk->sk_state == BT_CLOSED)) sk_state 1960 net/bluetooth/rfcomm/core.c switch (sk->sk_state) { sk_state 80 net/bluetooth/rfcomm/sock.c sk->sk_state = d->state; sk_state 120 net/bluetooth/rfcomm/sock.c if (sk->sk_state == BT_BOUND || sk->sk_state == BT_LISTEN) sk_state 137 net/bluetooth/rfcomm/sock.c if (state && sk->sk_state != state) sk_state 188 net/bluetooth/rfcomm/sock.c parent->sk_state = BT_CLOSED; sk_state 200 net/bluetooth/rfcomm/sock.c BT_DBG("sk %p state %d refcnt %d", sk, sk->sk_state, refcount_read(&sk->sk_refcnt)); sk_state 212 net/bluetooth/rfcomm/sock.c BT_DBG("sk %p state %d socket %p", sk, sk->sk_state, sk->sk_socket); sk_state 214 net/bluetooth/rfcomm/sock.c switch (sk->sk_state) { sk_state 307 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_OPEN; sk_state 355 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_OPEN) { sk_state 374 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_BOUND; sk_state 399 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) { sk_state 409 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_CONNECT; sk_state 436 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_BOUND) { sk_state 469 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_LISTEN; sk_state 498 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_LISTEN) { sk_state 544 net/bluetooth/rfcomm/sock.c if (peer && sk->sk_state != BT_CONNECTED && sk_state 545 net/bluetooth/rfcomm/sock.c sk->sk_state != BT_CONNECT && sk->sk_state != BT_CONNECT2) sk_state 733 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { sk_state 806 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_CONNECTED && sk_state 870 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { sk_state 990 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_CONFIG; sk_state 1015 net/bluetooth/rfcomm/sock.c sk->sk_state, rfcomm_pi(sk)->channel); sk_state 406 net/bluetooth/rfcomm/tty.c if (sk->sk_state != BT_CONNECTED) sk_state 430 net/bluetooth/rfcomm/tty.c sk->sk_state = BT_CLOSED; sk_state 80 net/bluetooth/sco.c BT_DBG("sock %p state %d", sk, sk->sk_state); sk_state 93 net/bluetooth/sco.c BT_DBG("sock %p state %d timeout %ld", sk, sk->sk_state, timeout); sk_state 99 net/bluetooth/sco.c BT_DBG("sock %p state %d", sk, sk->sk_state); sk_state 151 net/bluetooth/sco.c sk->sk_state = BT_CLOSED; sk_state 263 net/bluetooth/sco.c sk->sk_state = BT_CONNECTED; sk_state 265 net/bluetooth/sco.c sk->sk_state = BT_CONNECT; sk_state 314 net/bluetooth/sco.c if (sk->sk_state != BT_CONNECTED) sk_state 330 net/bluetooth/sco.c if (sk->sk_state != BT_LISTEN) sk_state 350 net/bluetooth/sco.c if (sk->sk_state != BT_LISTEN) sk_state 387 net/bluetooth/sco.c parent->sk_state = BT_CLOSED; sk_state 400 net/bluetooth/sco.c BT_DBG("sk %p state %d", sk, sk->sk_state); sk_state 410 net/bluetooth/sco.c BT_DBG("sk %p state %d socket %p", sk, sk->sk_state, sk->sk_socket); sk_state 412 net/bluetooth/sco.c switch (sk->sk_state) { sk_state 420 net/bluetooth/sco.c sk->sk_state = BT_DISCONN; sk_state 487 net/bluetooth/sco.c sk->sk_state = BT_OPEN; sk_state 534 net/bluetooth/sco.c if (sk->sk_state != BT_OPEN) { sk_state 546 net/bluetooth/sco.c sk->sk_state = BT_BOUND; sk_state 565 net/bluetooth/sco.c if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) sk_state 598 net/bluetooth/sco.c if (sk->sk_state != BT_BOUND) { sk_state 618 net/bluetooth/sco.c sk->sk_state = BT_LISTEN; sk_state 645 net/bluetooth/sco.c if (sk->sk_state != BT_LISTEN) { sk_state 718 net/bluetooth/sco.c if (sk->sk_state == BT_CONNECTED) sk_state 779 net/bluetooth/sco.c if (sk->sk_state == BT_CONNECT2 && sk_state 782 net/bluetooth/sco.c sk->sk_state = BT_CONFIG; sk_state 808 net/bluetooth/sco.c if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { sk_state 825 net/bluetooth/sco.c if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && sk_state 826 net/bluetooth/sco.c sk->sk_state != BT_CONNECT2) { sk_state 875 net/bluetooth/sco.c if (sk->sk_state != BT_CONNECTED && sk_state 876 net/bluetooth/sco.c !(sk->sk_state == BT_CONNECT2 && sk_state 893 net/bluetooth/sco.c if (sk->sk_state != BT_CONNECTED && sk_state 894 net/bluetooth/sco.c !(sk->sk_state == BT_CONNECT2 && sk_state 939 net/bluetooth/sco.c if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { sk_state 1032 net/bluetooth/sco.c sk->sk_state = BT_CONNECTED; sk_state 1068 net/bluetooth/sco.c sk->sk_state = BT_CONNECT2; sk_state 1070 net/bluetooth/sco.c sk->sk_state = BT_CONNECTED; sk_state 1092 net/bluetooth/sco.c if (sk->sk_state != BT_LISTEN) sk_state 1168 net/bluetooth/sco.c &sco_pi(sk)->dst, sk->sk_state); sk_state 173 net/caif/caif_socket.c if (unlikely(cf_sk->sk.sk_state != CAIF_CONNECTED)) { sk_state 216 net/caif/caif_socket.c cf_sk->sk.sk_state = CAIF_CONNECTED; sk_state 224 net/caif/caif_socket.c cf_sk->sk.sk_state = CAIF_DISCONNECTED; sk_state 231 net/caif/caif_socket.c cf_sk->sk.sk_state = CAIF_DISCONNECTED; sk_state 319 net/caif/caif_socket.c sk->sk_state != CAIF_CONNECTED || sk_state 365 net/caif/caif_socket.c if (sk->sk_state == CAIF_CONNECTING) sk_state 398 net/caif/caif_socket.c if (sk->sk_state != CAIF_CONNECTED) sk_state 488 net/caif/caif_socket.c if (cf_sk->sk.sk_state != CAIF_CONNECTED) sk_state 553 net/caif/caif_socket.c if (cf_sk->sk.sk_state != CAIF_CONNECTED || sk_state 768 net/caif/caif_socket.c caif_assert(sk->sk_state == CAIF_DISCONNECTED); sk_state 771 net/caif/caif_socket.c switch (sk->sk_state) { sk_state 787 net/caif/caif_socket.c caif_assert(sk->sk_state == CAIF_CONNECTED || sk_state 788 net/caif/caif_socket.c sk->sk_state == CAIF_DISCONNECTED); sk_state 803 net/caif/caif_socket.c sk->sk_state = CAIF_DISCONNECTED; sk_state 816 net/caif/caif_socket.c sk->sk_state = CAIF_CONNECTING; sk_state 837 net/caif/caif_socket.c cf_sk->sk.sk_state = CAIF_DISCONNECTED; sk_state 863 net/caif/caif_socket.c if (sk->sk_state != CAIF_CONNECTED && (flags & O_NONBLOCK)) sk_state 871 net/caif/caif_socket.c sk->sk_state != CAIF_CONNECTING, sk_state 878 net/caif/caif_socket.c if (timeo == 0 && sk->sk_state != CAIF_CONNECTED) sk_state 880 net/caif/caif_socket.c if (sk->sk_state != CAIF_CONNECTED) { sk_state 922 net/caif/caif_socket.c sk->sk_state = CAIF_DISCONNECTED; sk_state 1095 net/caif/caif_socket.c cf_sk->sk.sk_state = CAIF_DISCONNECTED; sk_state 374 net/ceph/messenger.c if (sk->sk_state != TCP_CLOSE_WAIT) { sk_state 410 net/ceph/messenger.c con, con->state, sk->sk_state); sk_state 412 net/ceph/messenger.c switch (sk->sk_state) { sk_state 485 net/ceph/messenger.c sock->sk->sk_state); sk_state 113 net/core/datagram.c !(sk->sk_state == TCP_ESTABLISHED || sk->sk_state == TCP_LISTEN)) sk_state 793 net/core/datagram.c if (sk->sk_state == TCP_CLOSE) sk_state 796 net/core/datagram.c if (sk->sk_state == TCP_SYN_SENT) sk_state 5714 net/core/filter.c if (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_RCU_FREE)) sk_state 5805 net/core/filter.c if (sk->sk_protocol != IPPROTO_TCP || sk->sk_state != TCP_LISTEN) sk_state 5871 net/core/filter.c if (sk->sk_protocol != IPPROTO_TCP || sk->sk_state != TCP_LISTEN) sk_state 106 net/core/request_sock.c if (!reset || lsk->sk_state != TCP_LISTEN) { sk_state 943 net/core/sock.c if ((1 << sk->sk_state) & sk_state 1408 net/core/sock.c v.val = sk->sk_state == TCP_LISTEN; sk_state 2867 net/core/sock.c sk->sk_state = TCP_CLOSE; sk_state 428 net/core/sock_map.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 753 net/core/sock_map.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 302 net/core/sock_reuseport.c while (reuse->socks[i]->sk_state == TCP_ESTABLISHED) { sk_state 66 net/core/stream.c if ((1 << sk->sk_state) & ~(TCPF_SYN_SENT | TCPF_SYN_RECV)) sk_state 77 net/core/stream.c !((1 << sk->sk_state) & sk_state 92 net/core/stream.c return (1 << sk->sk_state) & sk_state 141 net/dccp/ccids/ccid2.c if (sk->sk_state == DCCP_CLOSED) sk_state 202 net/dccp/ccids/ccid3.c if ((1 << sk->sk_state) & ~(DCCPF_OPEN | DCCPF_PARTOPEN)) sk_state 638 net/dccp/ccids/ccid3.c if (!(sk->sk_state == DCCP_OPEN || sk->sk_state == DCCP_PARTOPEN)) sk_state 23 net/dccp/diag.c info->tcpi_state = sk->sk_state; sk_state 667 net/dccp/feat.c if (skb->sk->sk_state == DCCP_OPEN && sk_state 755 net/dccp/feat.c if (sk->sk_state != DCCP_CLOSED) sk_state 807 net/dccp/feat.c if (sk->sk_state != DCCP_OPEN && sk->sk_state != DCCP_PARTOPEN) sk_state 1401 net/dccp/feat.c switch (sk->sk_state) { sk_state 47 net/dccp/input.c switch (sk->sk_state) { sk_state 105 net/dccp/input.c switch (sk->sk_state) { sk_state 531 net/dccp/input.c if (sk->sk_state == DCCP_RESPOND) sk_state 546 net/dccp/input.c if (sk->sk_state == DCCP_PARTOPEN) sk_state 576 net/dccp/input.c const int old_state = sk->sk_state; sk_state 602 net/dccp/input.c if (sk->sk_state == DCCP_LISTEN) { sk_state 623 net/dccp/input.c } else if (sk->sk_state == DCCP_CLOSED) { sk_state 629 net/dccp/input.c if (sk->sk_state != DCCP_REQUESTING && dccp_check_seqno(sk, skb)) sk_state 644 net/dccp/input.c (sk->sk_state == DCCP_RESPOND && dh->dccph_type == DCCP_PKT_DATA)) { sk_state 674 net/dccp/input.c switch (sk->sk_state) { sk_state 155 net/dccp/ipv4.c if (sk->sk_state == DCCP_LISTEN) sk_state 261 net/dccp/ipv4.c if (sk->sk_state == DCCP_TIME_WAIT) { sk_state 266 net/dccp/ipv4.c if (sk->sk_state == DCCP_NEW_SYN_RECV) { sk_state 278 net/dccp/ipv4.c if (sk->sk_state == DCCP_CLOSED) sk_state 282 net/dccp/ipv4.c if ((1 << sk->sk_state) & ~(DCCPF_REQUESTING | DCCPF_LISTEN) && sk_state 318 net/dccp/ipv4.c switch (sk->sk_state) { sk_state 654 net/dccp/ipv4.c if (sk->sk_state == DCCP_OPEN) { /* Fast path */ sk_state 825 net/dccp/ipv4.c if (sk->sk_state == DCCP_TIME_WAIT) { sk_state 831 net/dccp/ipv4.c if (sk->sk_state == DCCP_NEW_SYN_RECV) { sk_state 836 net/dccp/ipv4.c if (unlikely(sk->sk_state != DCCP_LISTEN)) { sk_state 98 net/dccp/ipv6.c if (sk->sk_state == DCCP_TIME_WAIT) { sk_state 103 net/dccp/ipv6.c if (sk->sk_state == DCCP_NEW_SYN_RECV) { sk_state 112 net/dccp/ipv6.c if (sk->sk_state == DCCP_CLOSED) sk_state 116 net/dccp/ipv6.c if ((1 << sk->sk_state) & ~(DCCPF_REQUESTING | DCCPF_LISTEN) && sk_state 142 net/dccp/ipv6.c if ((1 << sk->sk_state) & (DCCPF_LISTEN | DCCPF_CLOSED)) sk_state 157 net/dccp/ipv6.c switch (sk->sk_state) { sk_state 605 net/dccp/ipv6.c if (sk->sk_state == DCCP_OPEN) { /* Fast path */ sk_state 656 net/dccp/ipv6.c if (!((1 << sk->sk_state) & (DCCPF_CLOSED | DCCPF_LISTEN))) { sk_state 727 net/dccp/ipv6.c if (sk->sk_state == DCCP_TIME_WAIT) { sk_state 733 net/dccp/ipv6.c if (sk->sk_state == DCCP_NEW_SYN_RECV) { sk_state 738 net/dccp/ipv6.c if (unlikely(sk->sk_state != DCCP_LISTEN)) { sk_state 221 net/dccp/minisocks.c const int state = child->sk_state; sk_state 228 net/dccp/minisocks.c if (state == DCCP_RESPOND && child->sk_state != state) sk_state 251 net/dccp/output.c if (sk->sk_state == DCCP_PARTOPEN) { sk_state 575 net/dccp/output.c if (sk->sk_state != DCCP_CLOSED) { sk_state 80 net/dccp/proto.c const int oldstate = sk->sk_state; sk_state 120 net/dccp/proto.c switch (sk->sk_state) { sk_state 190 net/dccp/proto.c sk->sk_state = DCCP_CLOSED; sk_state 263 net/dccp/proto.c const int old_state = sk->sk_state; sk_state 325 net/dccp/proto.c if (sk->sk_state == DCCP_LISTEN) sk_state 337 net/dccp/proto.c if (sk->sk_shutdown == SHUTDOWN_MASK || sk->sk_state == DCCP_CLOSED) sk_state 343 net/dccp/proto.c if ((1 << sk->sk_state) & ~(DCCPF_REQUESTING | DCCPF_RESPOND)) { sk_state 374 net/dccp/proto.c if (sk->sk_state == DCCP_LISTEN) sk_state 544 net/dccp/proto.c if (sk->sk_state != DCCP_CLOSED) sk_state 780 net/dccp/proto.c if ((1 << sk->sk_state) & ~(DCCPF_OPEN | DCCPF_PARTOPEN)) sk_state 791 net/dccp/proto.c if (sk->sk_state == DCCP_CLOSED) { sk_state 831 net/dccp/proto.c if (sk->sk_state == DCCP_LISTEN) { sk_state 882 net/dccp/proto.c if (sk->sk_state == DCCP_CLOSED) { sk_state 943 net/dccp/proto.c old_state = sk->sk_state; sk_state 973 net/dccp/proto.c switch (sk->sk_state) { sk_state 1007 net/dccp/proto.c if (sk->sk_state == DCCP_LISTEN) { sk_state 1029 net/dccp/proto.c if (sk->sk_state == DCCP_CLOSED) sk_state 1040 net/dccp/proto.c } else if (sk->sk_state != DCCP_CLOSED) { sk_state 1060 net/dccp/proto.c state = sk->sk_state; sk_state 1079 net/dccp/proto.c if (state != DCCP_CLOSED && sk->sk_state == DCCP_CLOSED) sk_state 1082 net/dccp/proto.c if (sk->sk_state == DCCP_CLOSED) sk_state 36 net/dccp/timer.c if (sk->sk_state == DCCP_REQUESTING || sk->sk_state == DCCP_PARTOPEN) { sk_state 139 net/dccp/timer.c if (sk->sk_state == DCCP_CLOSED || !icsk->icsk_pending) sk_state 186 net/dccp/timer.c if (sk->sk_state == DCCP_CLOSED || sk_state 375 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN) sk_state 395 net/decnet/af_decnet.c if (sk->sk_state == TCP_LISTEN) sk_state 611 net/decnet/af_decnet.c sk->sk_state = TCP_CLOSE; sk_state 1050 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN) sk_state 1079 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN || DN_SK(sk)->state != DN_O) { sk_state 1120 net/decnet/af_decnet.c newsk->sk_state = TCP_LISTEN; sk_state 1275 net/decnet/af_decnet.c if ((DN_SK(sk)->state != DN_O) || (sk->sk_state == TCP_LISTEN)) sk_state 1280 net/decnet/af_decnet.c sk->sk_state = TCP_LISTEN; sk_state 353 net/decnet/dn_nsp_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 416 net/decnet/dn_nsp_in.c sk->sk_state = TCP_CLOSE; sk_state 469 net/decnet/dn_nsp_in.c sk->sk_state = TCP_CLOSE; sk_state 674 net/decnet/dn_nsp_in.c sk->sk_state = TCP_CLOSE; sk_state 862 net/decnet/dn_nsp_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 143 net/ipv4/af_inet.c if (sk->sk_type == SOCK_STREAM && sk->sk_state != TCP_CLOSE) { sk_state 145 net/ipv4/af_inet.c sk->sk_state, sk); sk_state 207 net/ipv4/af_inet.c old_state = sk->sk_state; sk_state 514 net/ipv4/af_inet.c if (sk->sk_state != TCP_CLOSE || inet->inet_num) sk_state 587 net/ipv4/af_inet.c while ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) { sk_state 646 net/ipv4/af_inet.c if (sk->sk_state != TCP_CLOSE) sk_state 674 net/ipv4/af_inet.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) { sk_state 691 net/ipv4/af_inet.c if (sk->sk_state == TCP_CLOSE) sk_state 742 net/ipv4/af_inet.c WARN_ON(!((1 << sk2->sk_state) & sk_state 770 net/ipv4/af_inet.c (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_SYN_SENT)) && sk_state 863 net/ipv4/af_inet.c if ((1 << sk->sk_state) & sk_state 870 net/ipv4/af_inet.c switch (sk->sk_state) { sk_state 1274 net/ipv4/af_inet.c sk->sk_state != TCP_SYN_SENT || sk_state 1286 net/ipv4/af_inet.c trace_inet_sock_set_state(sk, sk->sk_state, state); sk_state 1287 net/ipv4/af_inet.c sk->sk_state = state; sk_state 1293 net/ipv4/af_inet.c trace_inet_sock_set_state(sk, sk->sk_state, newstate); sk_state 1294 net/ipv4/af_inet.c smp_store_release(&sk->sk_state, newstate); sk_state 74 net/ipv4/datagram.c sk->sk_state = TCP_ESTABLISHED; sk_state 155 net/ipv4/inet_connection_sock.c sk2->sk_state == TCP_LISTEN) && sk_state 158 net/ipv4/inet_connection_sock.c (sk2->sk_state != TCP_TIME_WAIT && sk_state 164 net/ipv4/inet_connection_sock.c sk2->sk_state != TCP_LISTEN) { sk_state 293 net/ipv4/inet_connection_sock.c bool reuse = sk->sk_reuse && sk->sk_state != TCP_LISTEN; sk_state 426 net/ipv4/inet_connection_sock.c if (sk->sk_state != TCP_LISTEN) sk_state 456 net/ipv4/inet_connection_sock.c if (sk->sk_state != TCP_LISTEN) sk_state 852 net/ipv4/inet_connection_sock.c WARN_ON(sk->sk_state != TCP_CLOSE); sk_state 955 net/ipv4/inet_connection_sock.c if (unlikely(sk->sk_state != TCP_LISTEN)) { sk_state 137 net/ipv4/inet_diag.c if (((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && sk_state 200 net/ipv4/inet_diag.c r->idiag_state = sk->sk_state; sk_state 287 net/ipv4/inet_diag.c if (sk->sk_state < TCP_TIME_WAIT) { sk_state 404 net/ipv4/inet_diag.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 408 net/ipv4/inet_diag.c if (sk->sk_state == TCP_NEW_SYN_RECV) sk_state 690 net/ipv4/inet_diag.c else if (sk->sk_state == TCP_NEW_SYN_RECV) sk_state 984 net/ipv4/inet_diag.c state = (sk->sk_state == TCP_TIME_WAIT) ? sk_state 985 net/ipv4/inet_diag.c inet_twsk(sk)->tw_substate : sk->sk_state; sk_state 1199 net/ipv4/inet_diag.c r->idiag_state = sk->sk_state; sk_state 331 net/ipv4/inet_hashtables.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 333 net/ipv4/inet_hashtables.c else if (sk->sk_state == TCP_NEW_SYN_RECV) sk_state 424 net/ipv4/inet_hashtables.c if (sk2->sk_state == TCP_TIME_WAIT) { sk_state 544 net/ipv4/inet_hashtables.c if (sk->sk_state != TCP_LISTEN) { sk_state 577 net/ipv4/inet_hashtables.c if (sk->sk_state != TCP_CLOSE) { sk_state 596 net/ipv4/inet_hashtables.c if (sk->sk_state == TCP_LISTEN) { sk_state 271 net/ipv4/inet_timewait_sock.c if (sk->sk_state != TCP_TIME_WAIT) sk_state 664 net/ipv4/ip_sockglue.c (!((1 << sk->sk_state) & sk_state 124 net/ipv4/netfilter/nf_tproxy_ipv4.c int connected = (sk->sk_state == TCP_ESTABLISHED); sk_state 572 net/ipv4/ping.c if (!harderr || sk->sk_state != TCP_ESTABLISHED) sk_state 729 net/ipv4/ping.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1112 net/ipv4/ping.c bucket, src, srcp, dest, destp, sp->sk_state, sk_state 245 net/ipv4/raw.c if (!inet->recverr && sk->sk_state != TCP_ESTABLISHED) sk_state 555 net/ipv4/raw.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 723 net/ipv4/raw.c if (sk->sk_state != TCP_CLOSE || addr_len < sizeof(struct sockaddr_in)) sk_state 1076 net/ipv4/raw.c i, src, srcp, dest, destp, sp->sk_state, sk_state 446 net/ipv4/tcp.c sk->sk_state = TCP_CLOSE; sk_state 610 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 622 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 625 net/ipv4/tcp.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) sk_state 631 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 634 net/ipv4/tcp.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) sk_state 814 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE) { sk_state 847 net/ipv4/tcp.c if (sk->sk_err || sk->sk_state == TCP_CLOSE || sk_state 981 net/ipv4/tcp.c if (((1 << sk->sk_state) & ~(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)) && sk_state 1230 net/ipv4/tcp.c if (((1 << sk->sk_state) & ~(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)) && sk_state 1463 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DONE)) sk_state 1486 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) sk_state 1631 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 1761 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 1974 net/ipv4/tcp.c (sk->sk_state == TCP_ESTABLISHED)) sk_state 1980 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 2061 net/ipv4/tcp.c sk->sk_state == TCP_CLOSE || sk_state 2078 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE) { sk_state 2220 net/ipv4/tcp.c int oldstate = sk->sk_state; sk_state 2299 net/ipv4/tcp.c int next = (int)new_state[sk->sk_state]; sk_state 2322 net/ipv4/tcp.c if ((1 << sk->sk_state) & sk_state 2355 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) { sk_state 2380 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE) sk_state 2437 net/ipv4/tcp.c state = sk->sk_state; sk_state 2449 net/ipv4/tcp.c if (state != TCP_CLOSE && sk->sk_state == TCP_CLOSE) sk_state 2466 net/ipv4/tcp.c if (sk->sk_state == TCP_FIN_WAIT2) { sk_state 2485 net/ipv4/tcp.c if (sk->sk_state != TCP_CLOSE) { sk_state 2498 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE) { sk_state 2574 net/ipv4/tcp.c int old_state = sk->sk_state; sk_state 2700 net/ipv4/tcp.c (sk->sk_state != TCP_LISTEN); sk_state 2953 net/ipv4/tcp.c if (sk->sk_state != TCP_CLOSE) sk_state 2968 net/ipv4/tcp.c else if (sk->sk_state == TCP_ESTABLISHED) sk_state 3004 net/ipv4/tcp.c !((1 << sk->sk_state) & sk_state 3059 net/ipv4/tcp.c if (sk->sk_state != TCP_CLOSE) { sk_state 3074 net/ipv4/tcp.c if ((1 << sk->sk_state) & sk_state 3088 net/ipv4/tcp.c if ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) sk_state 3105 net/ipv4/tcp.c if (val >= 0 && ((1 << sk->sk_state) & (TCPF_CLOSE | sk_state 3118 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE) sk_state 3129 net/ipv4/tcp.c else if (!((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) sk_state 3430 net/ipv4/tcp.c if (!val && ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) sk_state 3867 net/ipv4/tcp.c if (sk->sk_state == TCP_SYN_SENT || sk->sk_state == TCP_SYN_RECV) sk_state 3887 net/ipv4/tcp.c if (sk->sk_state == TCP_NEW_SYN_RECV) { sk_state 3901 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) { sk_state 3915 net/ipv4/tcp.c if (tcp_need_reset(sk->sk_state)) sk_state 200 net/ipv4/tcp_cong.c if (sk->sk_state != TCP_CLOSE) sk_state 80 net/ipv4/tcp_dctcp.c (sk->sk_state == TCP_LISTEN || sk_state 81 net/ipv4/tcp_dctcp.c sk->sk_state == TCP_CLOSE)) { sk_state 3555 net/ipv4/tcp_input.c if (rexmit == REXMIT_NONE || sk->sk_state == TCP_SYN_SENT) sk_state 4114 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 4159 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 4195 net/ipv4/tcp_input.c __func__, sk->sk_state); sk_state 4212 net/ipv4/tcp_input.c sk->sk_state == TCP_CLOSE) sk_state 5412 net/ipv4/tcp_input.c (1 << sk->sk_state) & (TCPF_CLOSE_WAIT | TCPF_LAST_ACK | sk_state 5499 net/ipv4/tcp_input.c sk->sk_state == TCP_ESTABLISHED) sk_state 6144 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 6195 net/ipv4/tcp_input.c WARN_ON_ONCE(sk->sk_state != TCP_SYN_RECV && sk_state 6196 net/ipv4/tcp_input.c sk->sk_state != TCP_FIN_WAIT1); sk_state 6214 net/ipv4/tcp_input.c if (sk->sk_state == TCP_SYN_RECV) sk_state 6219 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 6334 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 6363 net/ipv4/tcp_input.c if (sk->sk_state != TCP_CLOSE) { sk_state 344 net/ipv4/tcp_ipv4.c if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) sk_state 449 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_TIME_WAIT) { sk_state 454 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_NEW_SYN_RECV) { sk_state 473 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_CLOSE) sk_state 486 net/ipv4/tcp_ipv4.c if (sk->sk_state != TCP_LISTEN && sk_state 512 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_LISTEN) sk_state 569 net/ipv4/tcp_ipv4.c switch (sk->sk_state) { sk_state 775 net/ipv4/tcp_ipv4.c ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? sk_state 777 net/ipv4/tcp_ipv4.c ctl_sk->sk_priority = (sk->sk_state == TCP_TIME_WAIT) ? sk_state 872 net/ipv4/tcp_ipv4.c ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? sk_state 874 net/ipv4/tcp_ipv4.c ctl_sk->sk_priority = (sk->sk_state == TCP_TIME_WAIT) ? sk_state 913 net/ipv4/tcp_ipv4.c u32 seq = (sk->sk_state == TCP_LISTEN) ? tcp_rsk(req)->snt_isn + 1 : sk_state 1552 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ sk_state 1571 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_LISTEN) { sk_state 1852 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 1855 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_NEW_SYN_RECV) { sk_state 1870 net/ipv4/tcp_ipv4.c if (unlikely(sk->sk_state != TCP_LISTEN)) { sk_state 1932 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_LISTEN) { sk_state 2521 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 2523 net/ipv4/tcp_ipv4.c else if (sk->sk_state == TCP_NEW_SYN_RECV) sk_state 822 net/ipv4/tcp_minisocks.c int state = child->sk_state; sk_state 831 net/ipv4/tcp_minisocks.c if (state == TCP_SYN_RECV && child->sk_state != state) sk_state 792 net/ipv4/tcp_output.c if ((1 << sk->sk_state) & sk_state 1684 net/ipv4/tcp_output.c (1 << sk->sk_state) & (TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)) sk_state 2577 net/ipv4/tcp_output.c tp->packets_out, sk->sk_state, tp->snd_cwnd, mss); sk_state 2629 net/ipv4/tcp_output.c if (unlikely(sk->sk_state == TCP_CLOSE)) sk_state 3689 net/ipv4/tcp_output.c if (sk->sk_state == TCP_CLOSE) sk_state 3762 net/ipv4/tcp_output.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 3775 net/ipv4/tcp_output.c if (sk->sk_state == TCP_CLOSE) sk_state 204 net/ipv4/tcp_timer.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) sk_state 221 net/ipv4/tcp_timer.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) { sk_state 277 net/ipv4/tcp_timer.c if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) || sk_state 441 net/ipv4/tcp_timer.c WARN_ON_ONCE(sk->sk_state != TCP_SYN_RECV && sk_state 442 net/ipv4/tcp_timer.c sk->sk_state != TCP_FIN_WAIT1); sk_state 455 net/ipv4/tcp_timer.c !((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV))) { sk_state 553 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_ESTABLISHED && sk_state 578 net/ipv4/tcp_timer.c if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) || sk_state 639 net/ipv4/tcp_timer.c if ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) sk_state 665 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_LISTEN) { sk_state 671 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_FIN_WAIT2 && sock_flag(sk, SOCK_DEAD)) { sk_state 685 net/ipv4/tcp_timer.c ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_SYN_SENT))) sk_state 427 net/ipv4/udp.c sk->sk_state != TCP_ESTABLISHED) { sk_state 711 net/ipv4/udp.c if (!harderr || sk->sk_state != TCP_ESTABLISHED) sk_state 1032 net/ipv4/udp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1854 net/ipv4/udp.c sk->sk_state = TCP_CLOSE; sk_state 2913 net/ipv4/udp.c bucket, src, srcp, dest, destp, sp->sk_state, sk_state 123 net/ipv4/udp_diag.c if (!(r->idiag_states & (1 << sk->sk_state))) sk_state 303 net/ipv6/af_inet6.c if (sk->sk_state != TCP_CLOSE || inet->inet_num) { sk_state 519 net/ipv6/af_inet6.c if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_SYN_SENT)) && sk_state 259 net/ipv6/datagram.c sk->sk_state = TCP_ESTABLISHED; sk_state 1041 net/ipv6/datagram.c sp->sk_state, sk_state 228 net/ipv6/inet6_hashtables.c if (sk2->sk_state == TCP_TIME_WAIT) { sk_state 290 net/ipv6/inet6_hashtables.c if (sk->sk_state != TCP_CLOSE) { sk_state 105 net/ipv6/ipv6_sockglue.c !((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && sk_state 195 net/ipv6/ipv6_sockglue.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1046 net/ipv6/ipv6_sockglue.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 124 net/ipv6/netfilter/nf_tproxy_ipv6.c int connected = (sk->sk_state == TCP_ESTABLISHED); sk_state 80 net/ipv6/ping.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 266 net/ipv6/raw.c if (sk->sk_state != TCP_CLOSE) sk_state 336 net/ipv6/raw.c if (!np->recverr && sk->sk_state != TCP_ESTABLISHED) sk_state 847 net/ipv6/raw.c if (sk->sk_state == TCP_ESTABLISHED && sk_state 856 net/ipv6/raw.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 347 net/ipv6/tcp_ipv6.c if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) sk_state 385 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_TIME_WAIT) { sk_state 391 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_NEW_SYN_RECV) { sk_state 400 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_CLOSE) sk_state 412 net/ipv6/tcp_ipv6.c if (sk->sk_state != TCP_LISTEN && sk_state 435 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_LISTEN) sk_state 452 net/ipv6/tcp_ipv6.c switch (sk->sk_state) { sk_state 889 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_TIME_WAIT) { sk_state 999 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_TIME_WAIT) { sk_state 1051 net/ipv6/tcp_ipv6.c tcp_v6_send_ack(sk, skb, (sk->sk_state == TCP_LISTEN) ? sk_state 1365 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ sk_state 1387 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_LISTEN) { sk_state 1432 net/ipv6/tcp_ipv6.c !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { sk_state 1522 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 1525 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_NEW_SYN_RECV) { sk_state 1540 net/ipv6/tcp_ipv6.c if (unlikely(sk->sk_state != TCP_LISTEN)) { sk_state 1597 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_LISTEN) { sk_state 1971 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 1973 net/ipv6/tcp_ipv6.c else if (sk->sk_state == TCP_NEW_SYN_RECV) sk_state 162 net/ipv6/udp.c sk->sk_state != TCP_ESTABLISHED) { sk_state 553 net/ipv6/udp.c if (!harderr || sk->sk_state != TCP_ESTABLISHED) sk_state 963 net/ipv6/udp.c if (sk->sk_state == TCP_ESTABLISHED && sk_state 1267 net/ipv6/udp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1338 net/ipv6/udp.c if (sk->sk_state == TCP_ESTABLISHED && sk_state 1347 net/ipv6/udp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 162 net/iucv/af_iucv.c switch (sk->sk_state) { sk_state 197 net/iucv/af_iucv.c switch (sk->sk_state) { sk_state 200 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 275 net/iucv/af_iucv.c return (sk->sk_state == state || sk->sk_state == state2); sk_state 290 net/iucv/af_iucv.c if (sk->sk_state != IUCV_CONNECTED) sk_state 435 net/iucv/af_iucv.c parent->sk_state = IUCV_CLOSED; sk_state 504 net/iucv/af_iucv.c switch (sk->sk_state) { sk_state 512 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 518 net/iucv/af_iucv.c sk->sk_state = IUCV_CLOSING; sk_state 533 net/iucv/af_iucv.c sk->sk_state = IUCV_CLOSED; sk_state 604 net/iucv/af_iucv.c sk->sk_state = IUCV_OPEN; sk_state 691 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CLOSED) { sk_state 697 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CONNECTED || sk_state 698 net/iucv/af_iucv.c sk->sk_state == IUCV_DISCONN || sk_state 742 net/iucv/af_iucv.c if (sk->sk_state != IUCV_OPEN) { sk_state 777 net/iucv/af_iucv.c sk->sk_state = IUCV_BOUND; sk_state 791 net/iucv/af_iucv.c sk->sk_state = IUCV_BOUND; sk_state 888 net/iucv/af_iucv.c if (sk->sk_state != IUCV_OPEN && sk->sk_state != IUCV_BOUND) sk_state 891 net/iucv/af_iucv.c if (sk->sk_state == IUCV_OPEN && sk_state 898 net/iucv/af_iucv.c if (sk->sk_state == IUCV_OPEN) { sk_state 917 net/iucv/af_iucv.c if (sk->sk_state != IUCV_CONNECTED) sk_state 922 net/iucv/af_iucv.c if (sk->sk_state == IUCV_DISCONN || sk->sk_state == IUCV_CLOSED) sk_state 942 net/iucv/af_iucv.c if (sk->sk_state != IUCV_BOUND) sk_state 950 net/iucv/af_iucv.c sk->sk_state = IUCV_LISTEN; sk_state 969 net/iucv/af_iucv.c if (sk->sk_state != IUCV_LISTEN) { sk_state 989 net/iucv/af_iucv.c if (sk->sk_state != IUCV_LISTEN) { sk_state 1096 net/iucv/af_iucv.c if (sk->sk_state != IUCV_CONNECTED) { sk_state 1180 net/iucv/af_iucv.c if (sk->sk_state != IUCV_CONNECTED) { sk_state 1390 net/iucv/af_iucv.c if ((sk->sk_state == IUCV_DISCONN) && sk_state 1483 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 1507 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CONNECTED) sk_state 1522 net/iucv/af_iucv.c if (sk->sk_state == IUCV_LISTEN) sk_state 1539 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CLOSED) sk_state 1542 net/iucv/af_iucv.c if (sk->sk_state == IUCV_DISCONN) sk_state 1566 net/iucv/af_iucv.c switch (sk->sk_state) { sk_state 1664 net/iucv/af_iucv.c switch (sk->sk_state) { sk_state 1716 net/iucv/af_iucv.c if (sk->sk_state == IUCV_OPEN) sk_state 1753 net/iucv/af_iucv.c if (sk->sk_state == IUCV_LISTEN && sk_state 1773 net/iucv/af_iucv.c if (sk->sk_state != IUCV_LISTEN) { sk_state 1825 net/iucv/af_iucv.c nsk->sk_state = IUCV_CONNECTED; sk_state 1837 net/iucv/af_iucv.c sk->sk_state = IUCV_CONNECTED; sk_state 1913 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CLOSING) { sk_state 1915 net/iucv/af_iucv.c sk->sk_state = IUCV_CLOSED; sk_state 1927 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CLOSED) sk_state 1932 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 1946 net/iucv/af_iucv.c if (sk->sk_state != IUCV_CLOSED) { sk_state 1995 net/iucv/af_iucv.c if ((sk->sk_state != IUCV_LISTEN) || sk_state 2029 net/iucv/af_iucv.c nsk->sk_state = IUCV_CONNECTED; sk_state 2048 net/iucv/af_iucv.c if (sk->sk_state != IUCV_BOUND) sk_state 2052 net/iucv/af_iucv.c sk->sk_state = IUCV_CONNECTED; sk_state 2069 net/iucv/af_iucv.c if (sk->sk_state != IUCV_BOUND) sk_state 2072 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 2091 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CONNECTED) { sk_state 2092 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 2111 net/iucv/af_iucv.c if (sk->sk_state != IUCV_CONNECTED) sk_state 2131 net/iucv/af_iucv.c if (sk->sk_state != IUCV_CONNECTED) { sk_state 2323 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CONNECTED) { sk_state 2324 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 2334 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CLOSING) { sk_state 2336 net/iucv/af_iucv.c sk->sk_state = IUCV_CLOSED; sk_state 2359 net/iucv/af_iucv.c (sk->sk_state == IUCV_CONNECTED)) { sk_state 2362 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 1344 net/kcm/kcmsock.c kcm->sk.sk_state = TCP_ESTABLISHED; sk_state 1401 net/kcm/kcmsock.c if (csk->sk_state == TCP_LISTEN || csk->sk_state == TCP_CLOSE) { sk_state 1098 net/l2tp/l2tp_core.c if (tunnel->fd >= 0 && sk->sk_state != TCP_ESTABLISHED) { sk_state 279 net/l2tp/l2tp_ip.c if (sk->sk_state != TCP_CLOSE) sk_state 438 net/l2tp/l2tp_ip.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 307 net/l2tp/l2tp_ip6.c if (sk->sk_state != TCP_CLOSE) sk_state 562 net/l2tp/l2tp_ip6.c if (sk->sk_state == TCP_ESTABLISHED && sk_state 571 net/l2tp/l2tp_ip6.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 188 net/l2tp/l2tp_ppp.c if (sk->sk_state & PPPOX_BOUND) sk_state 235 net/l2tp/l2tp_ppp.c if (sk->sk_state & PPPOX_BOUND) { sk_state 283 net/l2tp/l2tp_ppp.c if (sock_flag(sk, SOCK_DEAD) || !(sk->sk_state & PPPOX_CONNECTED)) sk_state 359 net/l2tp/l2tp_ppp.c if (sock_flag(sk, SOCK_DEAD) || !(sk->sk_state & PPPOX_CONNECTED)) sk_state 447 net/l2tp/l2tp_ppp.c sk->sk_state = PPPOX_DEAD; sk_state 522 net/l2tp/l2tp_ppp.c sk->sk_state = PPPOX_NONE; sk_state 685 net/l2tp/l2tp_ppp.c if (sk->sk_state & PPPOX_CONNECTED) sk_state 840 net/l2tp/l2tp_ppp.c sk->sk_state = PPPOX_CONNECTED; sk_state 917 net/l2tp/l2tp_ppp.c if (!(sk->sk_state & PPPOX_CONNECTED)) sk_state 1560 net/l2tp/l2tp_ppp.c state = sk->sk_state; sk_state 421 net/llc/af_llc.c if (unlikely(sk->sk_state != TCP_ESTABLISHED)) sk_state 479 net/llc/af_llc.c sk->sk_state = TCP_SYN_SENT; sk_state 486 net/llc/af_llc.c sk->sk_state = TCP_CLOSE; sk_state 490 net/llc/af_llc.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 501 net/llc/af_llc.c if (sk->sk_state == TCP_CLOSE) sk_state 541 net/llc/af_llc.c if (sk->sk_state != TCP_LISTEN) { sk_state 543 net/llc/af_llc.c sk->sk_state = TCP_LISTEN; sk_state 558 net/llc/af_llc.c if (sk_wait_event(sk, &timeout, sk->sk_state == TCP_CLOSE, &wait)) sk_state 578 net/llc/af_llc.c if (sk_wait_event(sk, &timeout, sk->sk_state != TCP_SYN_SENT, &wait)) sk_state 680 net/llc/af_llc.c sk->sk_state != TCP_LISTEN)) sk_state 699 net/llc/af_llc.c newsk->sk_state = TCP_ESTABLISHED; sk_state 707 net/llc/af_llc.c sk->sk_state = TCP_LISTEN; sk_state 745 net/llc/af_llc.c if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) sk_state 788 net/llc/af_llc.c sk->sk_state == TCP_CLOSE || sk_state 804 net/llc/af_llc.c if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSE) { sk_state 1002 net/llc/af_llc.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 103 net/llc/llc_conn.c sk->sk_state == TCP_ESTABLISHED) { sk_state 106 net/llc/llc_conn.c sk->sk_state = TCP_CLOSE; sk_state 138 net/llc/llc_conn.c sk->sk_state == TCP_SYN_SENT) { sk_state 141 net/llc/llc_conn.c sk->sk_state = TCP_CLOSE; sk_state 144 net/llc/llc_conn.c sk->sk_state = TCP_ESTABLISHED; sk_state 151 net/llc/llc_conn.c if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSING) { sk_state 153 net/llc/llc_conn.c sk->sk_state = TCP_CLOSE; sk_state 532 net/llc/llc_conn.c return sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN && sk_state 792 net/llc/llc_conn.c if (unlikely(sk->sk_state == TCP_LISTEN)) { sk_state 97 net/llc/llc_if.c if (existing->sk_state == TCP_ESTABLISHED) { sk_state 136 net/llc/llc_if.c if (sk->sk_type != SOCK_STREAM || sk->sk_state != TCP_ESTABLISHED || sk_state 148 net/llc/llc_if.c sk->sk_state = TCP_CLOSING; sk_state 153 net/llc/llc_proc.c sk->sk_state, sk_state 210 net/llc/llc_sap.c if (ev->ind_cfm_flag == LLC_IND && skb->sk->sk_state != TCP_LISTEN) { sk_state 58 net/netfilter/nft_tproxy.c if (sk && sk->sk_state == TCP_TIME_WAIT) { sk_state 125 net/netfilter/nft_tproxy.c if (sk && sk->sk_state == TCP_TIME_WAIT) { sk_state 61 net/netfilter/xt_TPROXY.c if (sk && sk->sk_state == TCP_TIME_WAIT) sk_state 149 net/netfilter/xt_TPROXY.c if (sk && sk->sk_state == TCP_TIME_WAIT) { sk_state 1073 net/netlink/af_netlink.c sk->sk_state = NETLINK_UNCONNECTED; sk_state 1095 net/netlink/af_netlink.c sk->sk_state = NETLINK_CONNECTED; sk_state 1144 net/netlink/af_netlink.c if (sock->sk_state == NETLINK_CONNECTED && sk_state 61 net/netlink/diag.c rep->ndiag_state = sk->sk_state; sk_state 130 net/netrom/af_netrom.c s->sk_state == TCP_LISTEN) { sk_state 381 net/netrom/af_netrom.c if (sk->sk_state != TCP_LISTEN) { sk_state 384 net/netrom/af_netrom.c sk->sk_state = TCP_LISTEN; sk_state 467 net/netrom/af_netrom.c sk->sk_state = TCP_ESTABLISHED; sk_state 520 net/netrom/af_netrom.c sk->sk_state = TCP_CLOSE; sk_state 620 net/netrom/af_netrom.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { sk_state 625 net/netrom/af_netrom.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { sk_state 631 net/netrom/af_netrom.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 636 net/netrom/af_netrom.c sk->sk_state = TCP_CLOSE; sk_state 689 net/netrom/af_netrom.c sk->sk_state = TCP_SYN_SENT; sk_state 698 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { sk_state 707 net/netrom/af_netrom.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 713 net/netrom/af_netrom.c if (sk->sk_state != TCP_SYN_SENT) sk_state 729 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 761 net/netrom/af_netrom.c if (sk->sk_state != TCP_LISTEN) { sk_state 818 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 951 net/netrom/af_netrom.c make->sk_state = TCP_ESTABLISHED; sk_state 1056 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1105 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1134 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 89 net/netrom/nr_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 270 net/netrom/nr_subr.c sk->sk_state = TCP_CLOSE; sk_state 123 net/netrom/nr_timer.c (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { sk_state 191 net/netrom/nr_timer.c sk->sk_state = TCP_CLOSE; sk_state 84 net/nfc/llcp_core.c if (sk->sk_state == LLCP_CONNECTED) sk_state 87 net/nfc/llcp_core.c if (sk->sk_state == LLCP_LISTEN) { sk_state 101 net/nfc/llcp_core.c accept_sk->sk_state = LLCP_CLOSED; sk_state 110 net/nfc/llcp_core.c sk->sk_state = LLCP_CLOSED; sk_state 135 net/nfc/llcp_core.c sk->sk_state = LLCP_CLOSED; sk_state 348 net/nfc/llcp_core.c tmp_sock->sk.sk_state != LLCP_LISTEN) sk_state 352 net/nfc/llcp_core.c tmp_sock->sk.sk_state != LLCP_BOUND) sk_state 684 net/nfc/llcp_core.c if (sk->sk_state != LLCP_BOUND) sk_state 743 net/nfc/llcp_core.c sk->sk_state == LLCP_DISCONNECTING) { sk_state 891 net/nfc/llcp_core.c if (sock == NULL || sock->sk.sk_state != LLCP_LISTEN) { sk_state 981 net/nfc/llcp_core.c new_sk->sk_state = LLCP_CONNECTED; sk_state 1050 net/nfc/llcp_core.c if (sk->sk_state == LLCP_CLOSED) { sk_state 1141 net/nfc/llcp_core.c if (sk->sk_state == LLCP_CLOSED) { sk_state 1146 net/nfc/llcp_core.c if (sk->sk_state == LLCP_CONNECTED) { sk_state 1148 net/nfc/llcp_core.c sk->sk_state = LLCP_CLOSED; sk_state 1185 net/nfc/llcp_core.c sk->sk_state = LLCP_CONNECTED; sk_state 1222 net/nfc/llcp_core.c sk->sk_state = LLCP_CLOSED; sk_state 27 net/nfc/llcp_sock.c while (sk->sk_state != state) { sk_state 84 net/nfc/llcp_sock.c if (sk->sk_state != LLCP_CLOSED) { sk_state 128 net/nfc/llcp_sock.c sk->sk_state = LLCP_BOUND; sk_state 160 net/nfc/llcp_sock.c if (sk->sk_state != LLCP_CLOSED) { sk_state 183 net/nfc/llcp_sock.c sk->sk_state = LLCP_BOUND; sk_state 203 net/nfc/llcp_sock.c sk->sk_state != LLCP_BOUND) { sk_state 212 net/nfc/llcp_sock.c sk->sk_state = LLCP_LISTEN; sk_state 237 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CONNECTED || sk_state 238 net/nfc/llcp_sock.c sk->sk_state == LLCP_BOUND || sk_state 239 net/nfc/llcp_sock.c sk->sk_state == LLCP_LISTEN) { sk_state 259 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CONNECTED || sk_state 260 net/nfc/llcp_sock.c sk->sk_state == LLCP_BOUND || sk_state 261 net/nfc/llcp_sock.c sk->sk_state == LLCP_LISTEN) { sk_state 374 net/nfc/llcp_sock.c pr_debug("state %d\n", sk->sk_state); sk_state 410 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CLOSED) { sk_state 416 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CONNECTED || !newsock) { sk_state 425 net/nfc/llcp_sock.c pr_debug("Returning sk state %d\n", sk->sk_state); sk_state 450 net/nfc/llcp_sock.c if (sk->sk_state != LLCP_LISTEN) { sk_state 537 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CONNECTED) sk_state 554 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_LISTEN) sk_state 564 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CLOSED) sk_state 573 net/nfc/llcp_sock.c if (sock_writeable(sk) && sk->sk_state == LLCP_CONNECTED) sk_state 604 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CONNECTED) sk_state 607 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_LISTEN) { sk_state 632 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_DISCONNECTING) sk_state 670 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CONNECTED) { sk_state 733 net/nfc/llcp_sock.c sk->sk_state = LLCP_CONNECTING; sk_state 791 net/nfc/llcp_sock.c if (sk->sk_state != LLCP_CONNECTED) { sk_state 814 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CLOSED && sk_state 828 net/nfc/llcp_sock.c sk->sk_state, err, sock_error(sk)); sk_state 937 net/nfc/llcp_sock.c if (sk->sk_state == LLCP_CONNECTED) sk_state 962 net/nfc/llcp_sock.c sk->sk_state = LLCP_CLOSED; sk_state 118 net/nfc/rawsock.c sk->sk_state = TCP_ESTABLISHED; sk_state 310 net/nfc/rawsock.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 67 net/phonet/pep-gprs.c if (sk->sk_state == TCP_CLOSE_WAIT) { sk_state 267 net/phonet/pep-gprs.c if (unlikely((1 << sk->sk_state & (TCPF_CLOSE|TCPF_LISTEN)) || sk_state 231 net/phonet/pep.c BUG_ON(sk->sk_state != TCP_ESTABLISHED); sk_state 340 net/phonet/pep.c BUG_ON(sk->sk_state == TCP_CLOSE_WAIT); sk_state 349 net/phonet/pep.c sk->sk_state = TCP_CLOSE_WAIT; sk_state 430 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 432 net/phonet/pep.c sk->sk_state = TCP_ESTABLISHED; sk_state 437 net/phonet/pep.c sk->sk_state = TCP_SYN_RECV; sk_state 583 net/phonet/pep.c if (sk->sk_state != TCP_SYN_SENT) sk_state 588 net/phonet/pep.c sk->sk_state = TCP_CLOSE_WAIT; sk_state 592 net/phonet/pep.c sk->sk_state = TCP_SYN_RECV; sk_state 594 net/phonet/pep.c sk->sk_state = TCP_ESTABLISHED; sk_state 600 net/phonet/pep.c if (sk->sk_state != TCP_SYN_SENT) sk_state 604 net/phonet/pep.c sk->sk_state = TCP_CLOSE_WAIT; sk_state 608 net/phonet/pep.c sk->sk_state = TCP_ESTABLISHED; sk_state 640 net/phonet/pep.c if (sknode->sk_state == TCP_CLOSE_WAIT) sk_state 679 net/phonet/pep.c if (sk->sk_state != TCP_LISTEN || sk_acceptq_is_full(sk)) { sk_state 705 net/phonet/pep.c if ((1 << sk->sk_state) sk_state 743 net/phonet/pep.c if ((1 << sk->sk_state) & (TCPF_SYN_RECV|TCPF_ESTABLISHED)) { sk_state 751 net/phonet/pep.c sk->sk_state = TCP_CLOSE; sk_state 780 net/phonet/pep.c if (sk->sk_state != TCP_LISTEN) { sk_state 846 net/phonet/pep.c newsk->sk_state = TCP_SYN_RECV; sk_state 899 net/phonet/pep.c sk->sk_state = TCP_SYN_SENT; sk_state 913 net/phonet/pep.c sk->sk_state = TCP_SYN_SENT; sk_state 926 net/phonet/pep.c if (sk->sk_state == TCP_LISTEN) { sk_state 945 net/phonet/pep.c if (sk->sk_state == TCP_SYN_SENT) sk_state 947 net/phonet/pep.c else if (sk->sk_state == TCP_ESTABLISHED) sk_state 1019 net/phonet/pep.c if ((sk->sk_state == TCP_CLOSE) && sk_state 1139 net/phonet/pep.c if ((1 << sk->sk_state) & (TCPF_LISTEN|TCPF_CLOSE)) { sk_state 1143 net/phonet/pep.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1150 net/phonet/pep.c if (sk->sk_state == TCP_CLOSE_WAIT) { sk_state 1155 net/phonet/pep.c BUG_ON(sk->sk_state != TCP_ESTABLISHED); sk_state 1175 net/phonet/pep.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1232 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 1247 net/phonet/pep.c if (unlikely(1 << sk->sk_state & (TCPF_LISTEN | TCPF_CLOSE))) sk_state 1270 net/phonet/pep.c if (err == -ENOTCONN && sk->sk_state == TCP_CLOSE_WAIT) sk_state 1276 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 179 net/phonet/socket.c if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { sk_state 238 net/phonet/socket.c if (sk->sk_state != TCP_CLOSE) { sk_state 262 net/phonet/socket.c while (sk->sk_state == TCP_SYN_SENT) { sk_state 282 net/phonet/socket.c if ((1 << sk->sk_state) & (TCPF_SYN_RECV|TCPF_ESTABLISHED)) sk_state 284 net/phonet/socket.c else if (sk->sk_state == TCP_CLOSE_WAIT) sk_state 301 net/phonet/socket.c if (unlikely(sk->sk_state != TCP_LISTEN)) sk_state 339 net/phonet/socket.c if (sk->sk_state == TCP_CLOSE) sk_state 345 net/phonet/socket.c if (!mask && sk->sk_state == TCP_CLOSE_WAIT) sk_state 348 net/phonet/socket.c if (sk->sk_state == TCP_ESTABLISHED && sk_state 408 net/phonet/socket.c if (sk->sk_state != TCP_LISTEN) { sk_state 409 net/phonet/socket.c sk->sk_state = TCP_LISTEN; sk_state 599 net/phonet/socket.c pn->resource, sk->sk_state, sk_state 757 net/qrtr/qrtr.c } else if (sk->sk_state == TCP_ESTABLISHED) { sk_state 882 net/qrtr/qrtr.c sk->sk_state = TCP_CLOSE; sk_state 893 net/qrtr/qrtr.c sk->sk_state = TCP_ESTABLISHED; sk_state 909 net/qrtr/qrtr.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 55 net/rds/tcp_connect.c rdsdebug("sock %p state_change to %d\n", tc->t_sock, sk->sk_state); sk_state 57 net/rds/tcp_connect.c switch (sk->sk_state) { sk_state 277 net/rds/tcp_listen.c if (sk->sk_state == TCP_LISTEN) sk_state 230 net/rose/af_rose.c !rose->source_ndigis && s->sk_state == TCP_LISTEN) sk_state 239 net/rose/af_rose.c s->sk_state == TCP_LISTEN) sk_state 467 net/rose/af_rose.c if (sk->sk_state != TCP_LISTEN) { sk_state 475 net/rose/af_rose.c sk->sk_state = TCP_LISTEN; sk_state 558 net/rose/af_rose.c sk->sk_state = TCP_ESTABLISHED; sk_state 614 net/rose/af_rose.c sk->sk_state = TCP_CLOSE; sk_state 723 net/rose/af_rose.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { sk_state 729 net/rose/af_rose.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { sk_state 735 net/rose/af_rose.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 741 net/rose/af_rose.c sk->sk_state = TCP_CLOSE; sk_state 795 net/rose/af_rose.c sk->sk_state = TCP_SYN_SENT; sk_state 806 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { sk_state 815 net/rose/af_rose.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 821 net/rose/af_rose.c if (sk->sk_state != TCP_SYN_SENT) sk_state 838 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 870 net/rose/af_rose.c if (sk->sk_state != TCP_LISTEN) { sk_state 927 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 981 net/rose/af_rose.c make->sk_state = TCP_ESTABLISHED; sk_state 1072 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1130 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1206 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 50 net/rose/rose_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 928 net/rose/rose_route.c sk->sk_state = TCP_CLOSE; sk_state 548 net/rose/rose_subr.c sk->sk_state = TCP_CLOSE; sk_state 130 net/rose/rose_timer.c (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { sk_state 199 net/rose/rose_timer.c sk->sk_state = TCP_CLOSE; sk_state 146 net/rxrpc/af_rxrpc.c switch (rx->sk.sk_state) { sk_state 163 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_SERVER_BOUND; sk_state 166 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_CLIENT_BOUND; sk_state 182 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_SERVER_BOUND2; sk_state 220 net/rxrpc/af_rxrpc.c switch (rx->sk.sk_state) { sk_state 237 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_SERVER_LISTENING; sk_state 243 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_SERVER_LISTEN_DISABLED; sk_state 470 net/rxrpc/af_rxrpc.c switch (rx->sk.sk_state) { sk_state 472 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_CLIENT_UNBOUND; sk_state 505 net/rxrpc/af_rxrpc.c _enter(",{%d},,%zu", rx->sk.sk_state, len); sk_state 520 net/rxrpc/af_rxrpc.c switch (rx->sk.sk_state) { sk_state 547 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_CLIENT_BOUND; sk_state 597 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNBOUND) sk_state 607 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNBOUND) sk_state 617 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNBOUND) sk_state 627 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNBOUND) sk_state 645 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_SERVER_BOUND2) sk_state 757 net/rxrpc/af_rxrpc.c sk->sk_state = RXRPC_UNBOUND; sk_state 794 net/rxrpc/af_rxrpc.c if (sk->sk_state == RXRPC_CLOSE) sk_state 800 net/rxrpc/af_rxrpc.c if (sk->sk_state < RXRPC_CLOSE) { sk_state 801 net/rxrpc/af_rxrpc.c sk->sk_state = RXRPC_CLOSE; sk_state 840 net/rxrpc/af_rxrpc.c _enter("%p{%d,%d}", sk, sk->sk_state, refcount_read(&sk->sk_refcnt)); sk_state 850 net/rxrpc/af_rxrpc.c switch (sk->sk_state) { sk_state 860 net/rxrpc/af_rxrpc.c sk->sk_state = RXRPC_CLOSE; sk_state 363 net/rxrpc/call_accept.c if (rx->sk.sk_state == RXRPC_SERVER_LISTEN_DISABLED || sk_state 364 net/rxrpc/call_accept.c rx->sk.sk_state == RXRPC_CLOSE) { sk_state 663 net/rxrpc/call_accept.c if (sock->sk->sk_state == RXRPC_CLOSE) sk_state 37 net/rxrpc/recvmsg.c if (rx && sk->sk_state < RXRPC_CLOSE) { sk_state 465 net/rxrpc/recvmsg.c rx->sk.sk_state != RXRPC_SERVER_LISTENING) { sk_state 666 net/rxrpc/sendmsg.c if (rx->sk.sk_state != RXRPC_SERVER_LISTENING) sk_state 290 net/sched/em_meta.c dst->value = skb->sk->sk_state; sk_state 269 net/sched/sch_fq.c } else if (sk->sk_state == TCP_CLOSE) { sk_state 151 net/sctp/diag.c r->idiag_state = sk->sk_state; sk_state 180 net/sctp/proc.c sctp_sk(sk)->type, sk->sk_state, hash, sk_state 255 net/sctp/proc.c assoc, sk, sctp_sk(sk)->type, sk->sk_state, sk_state 8247 net/sctp/socket.c sk->sk_state != SCTP_SS_LISTENING) || sk_state 8268 net/sctp/socket.c sk2->sk_state != SCTP_SS_LISTENING) || sk_state 8293 net/sctp/socket.c if (reuse && sk->sk_state != SCTP_SS_LISTENING) sk_state 8306 net/sctp/socket.c (!reuse || sk->sk_state == SCTP_SS_LISTENING)) sk_state 8440 net/sctp/socket.c sk->sk_state = SCTP_SS_CLOSED; sk_state 142 net/smc/af_smc.c if (sk->sk_state != SMC_LISTEN && sk->sk_state != SMC_INIT) sk_state 144 net/smc/af_smc.c if (sk->sk_state == SMC_LISTEN) { sk_state 148 net/smc/af_smc.c sk->sk_state = SMC_CLOSED; sk_state 155 net/smc/af_smc.c if (sk->sk_state == SMC_CLOSED) { sk_state 180 net/smc/af_smc.c if (smc->connect_nonblock && sk->sk_state == SMC_INIT) sk_state 184 net/smc/af_smc.c if (sk->sk_state == SMC_LISTEN) sk_state 206 net/smc/af_smc.c if (sk->sk_state != SMC_CLOSED) sk_state 227 net/smc/af_smc.c sk->sk_state = SMC_INIT; sk_state 273 net/smc/af_smc.c if (sk->sk_state != SMC_INIT || smc->connect_nonblock) sk_state 482 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT) sk_state 483 net/smc/af_smc.c smc->sk.sk_state = SMC_ACTIVE; sk_state 493 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT) sk_state 500 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT) sk_state 655 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT) sk_state 656 net/smc/af_smc.c smc->sk.sk_state = SMC_ACTIVE; sk_state 697 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT) sk_state 698 net/smc/af_smc.c smc->sk.sk_state = SMC_ACTIVE; sk_state 785 net/smc/af_smc.c } else if ((1 << smc->clcsock->sk->sk_state) & sk_state 789 net/smc/af_smc.c ((1 << smc->clcsock->sk->sk_state) & sk_state 796 net/smc/af_smc.c smc->sk.sk_state = SMC_CLOSED; sk_state 837 net/smc/af_smc.c switch (sk->sk_state) { sk_state 904 net/smc/af_smc.c if (rc < 0 || lsk->sk_state == SMC_CLOSED) { sk_state 908 net/smc/af_smc.c new_sk->sk_state = SMC_CLOSED; sk_state 959 net/smc/af_smc.c if (new_sk->sk_state == SMC_CLOSED) { sk_state 1056 net/smc/af_smc.c if (lsmc->sk.sk_state == SMC_LISTEN) { sk_state 1075 net/smc/af_smc.c if (newsmcsk->sk_state == SMC_INIT) sk_state 1076 net/smc/af_smc.c newsmcsk->sk_state = SMC_ACTIVE; sk_state 1086 net/smc/af_smc.c if (newsmcsk->sk_state == SMC_INIT) sk_state 1088 net/smc/af_smc.c newsmcsk->sk_state = SMC_CLOSED; sk_state 1244 net/smc/af_smc.c if (new_smc->listen_smc->sk.sk_state != SMC_LISTEN) sk_state 1370 net/smc/af_smc.c while (lsk->sk_state == SMC_LISTEN) { sk_state 1405 net/smc/af_smc.c if ((sk->sk_state != SMC_INIT && sk->sk_state != SMC_LISTEN) || sk_state 1410 net/smc/af_smc.c if (sk->sk_state == SMC_LISTEN) { sk_state 1426 net/smc/af_smc.c sk->sk_state = SMC_LISTEN; sk_state 1449 net/smc/af_smc.c if (lsmc->sk.sk_state != SMC_LISTEN) { sk_state 1511 net/smc/af_smc.c if (peer && (sock->sk->sk_state != SMC_ACTIVE) && sk_state 1512 net/smc/af_smc.c (sock->sk->sk_state != SMC_APPCLOSEWAIT1)) sk_state 1528 net/smc/af_smc.c if ((sk->sk_state != SMC_ACTIVE) && sk_state 1529 net/smc/af_smc.c (sk->sk_state != SMC_APPCLOSEWAIT1) && sk_state 1530 net/smc/af_smc.c (sk->sk_state != SMC_INIT)) sk_state 1534 net/smc/af_smc.c if (sk->sk_state == SMC_INIT && !smc->connect_nonblock) { sk_state 1561 net/smc/af_smc.c if (sk->sk_state == SMC_CLOSED && (sk->sk_shutdown & RCV_SHUTDOWN)) { sk_state 1566 net/smc/af_smc.c if ((sk->sk_state == SMC_INIT) || sk_state 1567 net/smc/af_smc.c (sk->sk_state == SMC_LISTEN) || sk_state 1568 net/smc/af_smc.c (sk->sk_state == SMC_CLOSED)) sk_state 1571 net/smc/af_smc.c if (sk->sk_state == SMC_PEERFINCLOSEWAIT) { sk_state 1617 net/smc/af_smc.c if (sk->sk_state != SMC_CLOSED) sk_state 1622 net/smc/af_smc.c (sk->sk_state == SMC_CLOSED)) sk_state 1624 net/smc/af_smc.c if (sk->sk_state == SMC_LISTEN) { sk_state 1632 net/smc/af_smc.c if ((sk->sk_state != SMC_INIT && sk_state 1644 net/smc/af_smc.c if (sk->sk_state == SMC_APPCLOSEWAIT1) sk_state 1669 net/smc/af_smc.c if ((sk->sk_state != SMC_ACTIVE) && sk_state 1670 net/smc/af_smc.c (sk->sk_state != SMC_PEERCLOSEWAIT1) && sk_state 1671 net/smc/af_smc.c (sk->sk_state != SMC_PEERCLOSEWAIT2) && sk_state 1672 net/smc/af_smc.c (sk->sk_state != SMC_APPCLOSEWAIT1) && sk_state 1673 net/smc/af_smc.c (sk->sk_state != SMC_APPCLOSEWAIT2) && sk_state 1674 net/smc/af_smc.c (sk->sk_state != SMC_APPFINCLOSEWAIT)) sk_state 1680 net/smc/af_smc.c sk->sk_state = SMC_CLOSED; sk_state 1739 net/smc/af_smc.c if (sk->sk_state == SMC_INIT && !smc->connect_nonblock) { sk_state 1747 net/smc/af_smc.c if (sk->sk_state != SMC_INIT && sk_state 1748 net/smc/af_smc.c sk->sk_state != SMC_LISTEN && sk_state 1749 net/smc/af_smc.c sk->sk_state != SMC_CLOSED) { sk_state 1756 net/smc/af_smc.c if (sk->sk_state != SMC_INIT && sk_state 1757 net/smc/af_smc.c sk->sk_state != SMC_LISTEN && sk_state 1758 net/smc/af_smc.c sk->sk_state != SMC_CLOSED) { sk_state 1809 net/smc/af_smc.c if (smc->sk.sk_state == SMC_LISTEN) { sk_state 1813 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT || sk_state 1814 net/smc/af_smc.c smc->sk.sk_state == SMC_CLOSED) sk_state 1821 net/smc/af_smc.c if (smc->sk.sk_state == SMC_LISTEN) { sk_state 1825 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT || sk_state 1826 net/smc/af_smc.c smc->sk.sk_state == SMC_CLOSED) sk_state 1834 net/smc/af_smc.c if (smc->sk.sk_state == SMC_LISTEN) { sk_state 1838 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT || sk_state 1839 net/smc/af_smc.c smc->sk.sk_state == SMC_CLOSED) sk_state 1845 net/smc/af_smc.c if (smc->sk.sk_state == SMC_LISTEN) { sk_state 1849 net/smc/af_smc.c if (smc->sk.sk_state == SMC_INIT || sk_state 1850 net/smc/af_smc.c smc->sk.sk_state == SMC_CLOSED) { sk_state 1877 net/smc/af_smc.c if (sk->sk_state != SMC_ACTIVE) { sk_state 1908 net/smc/af_smc.c if (sk->sk_state == SMC_CLOSED && (sk->sk_shutdown & RCV_SHUTDOWN)) { sk_state 1913 net/smc/af_smc.c if (sk->sk_state == SMC_INIT || sk_state 1914 net/smc/af_smc.c sk->sk_state == SMC_LISTEN || sk_state 1915 net/smc/af_smc.c sk->sk_state == SMC_CLOSED) sk_state 1918 net/smc/af_smc.c if (sk->sk_state == SMC_PEERFINCLOSEWAIT) { sk_state 119 net/smc/smc_close.c if (sk->sk_state != SMC_INIT && smc->clcsock && smc->clcsock->sk) { sk_state 126 net/smc/smc_close.c switch (sk->sk_state) { sk_state 128 net/smc/smc_close.c sk->sk_state = SMC_PEERABORTWAIT; sk_state 137 net/smc/smc_close.c sk->sk_state = SMC_PEERABORTWAIT; sk_state 139 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 148 net/smc/smc_close.c sk->sk_state = SMC_PEERABORTWAIT; sk_state 150 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 156 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 191 net/smc/smc_close.c old_state = sk->sk_state; sk_state 193 net/smc/smc_close.c switch (sk->sk_state) { sk_state 195 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 198 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 215 net/smc/smc_close.c if (sk->sk_state == SMC_ACTIVE) { sk_state 220 net/smc/smc_close.c sk->sk_state = SMC_PEERCLOSEWAIT1; sk_state 235 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 244 net/smc/smc_close.c if (sk->sk_state != SMC_APPCLOSEWAIT1 && sk_state 245 net/smc/smc_close.c sk->sk_state != SMC_APPCLOSEWAIT2) sk_state 253 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 257 net/smc/smc_close.c sk->sk_state = SMC_PEERFINCLOSEWAIT; sk_state 276 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 284 net/smc/smc_close.c if (old_state != sk->sk_state) sk_state 295 net/smc/smc_close.c switch (sk->sk_state) { sk_state 299 net/smc/smc_close.c sk->sk_state = SMC_PROCESSABORT; sk_state 303 net/smc/smc_close.c sk->sk_state = SMC_PROCESSABORT; sk_state 310 net/smc/smc_close.c sk->sk_state = SMC_PROCESSABORT; sk_state 312 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 317 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 321 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 345 net/smc/smc_close.c old_state = sk->sk_state; sk_state 363 net/smc/smc_close.c switch (sk->sk_state) { sk_state 365 net/smc/smc_close.c sk->sk_state = SMC_APPCLOSEWAIT1; sk_state 368 net/smc/smc_close.c sk->sk_state = SMC_APPCLOSEWAIT1; sk_state 375 net/smc/smc_close.c sk->sk_state = SMC_PEERCLOSEWAIT2; sk_state 384 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 387 net/smc/smc_close.c sk->sk_state = SMC_APPFINCLOSEWAIT; sk_state 393 net/smc/smc_close.c sk->sk_state = SMC_CLOSED; sk_state 415 net/smc/smc_close.c if (old_state != sk->sk_state) { sk_state 417 net/smc/smc_close.c if ((sk->sk_state == SMC_CLOSED) && sk_state 442 net/smc/smc_close.c old_state = sk->sk_state; sk_state 444 net/smc/smc_close.c switch (sk->sk_state) { sk_state 450 net/smc/smc_close.c if (sk->sk_state != SMC_ACTIVE) sk_state 456 net/smc/smc_close.c sk->sk_state = SMC_PEERCLOSEWAIT1; sk_state 465 net/smc/smc_close.c if (sk->sk_state != SMC_APPCLOSEWAIT1) sk_state 471 net/smc/smc_close.c sk->sk_state = SMC_APPCLOSEWAIT2; sk_state 484 net/smc/smc_close.c if (old_state != sk->sk_state) sk_state 93 net/smc/smc_diag.c r->diag_state = sk->sk_state; sk_state 41 net/smc/smc_rx.c (sk->sk_state == SMC_CLOSED)) sk_state 116 net/smc/smc_rx.c if (sk->sk_state == SMC_CLOSED || sk_state 117 net/smc/smc_rx.c sk->sk_state == SMC_PEERFINCLOSEWAIT || sk_state 118 net/smc/smc_rx.c sk->sk_state == SMC_APPFINCLOSEWAIT) sk_state 258 net/smc/smc_rx.c if (sk->sk_state == SMC_CLOSED || sk->sk_shutdown & RCV_SHUTDOWN) sk_state 303 net/smc/smc_rx.c if (sk->sk_state == SMC_LISTEN) sk_state 332 net/smc/smc_rx.c sk->sk_state == SMC_CLOSED || sk_state 341 net/smc/smc_rx.c if (sk->sk_state == SMC_CLOSED) { sk_state 154 net/smc/smc_tx.c if (sk->sk_state == SMC_INIT) sk_state 722 net/sunrpc/svcsock.c sk, sk->sk_state); sk_state 740 net/sunrpc/svcsock.c if (sk->sk_state == TCP_LISTEN) { sk_state 757 net/sunrpc/svcsock.c sk, sk->sk_state, sk->sk_user_data); sk_state 765 net/sunrpc/svcsock.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1215 net/sunrpc/svcsock.c if (sk->sk_state == TCP_LISTEN) { sk_state 1235 net/sunrpc/svcsock.c switch (sk->sk_state) { sk_state 1513 net/sunrpc/xprtsock.c sk->sk_state, xprt_connected(xprt), sk_state 1520 net/sunrpc/xprtsock.c switch (sk->sk_state) { sk_state 2201 net/sunrpc/xprtsock.c int skst = transport->inet ? transport->inet->sk_state : TCP_CLOSE; sk_state 2382 net/sunrpc/xprtsock.c sock->sk->sk_state); sk_state 273 net/tipc/socket.c return sk->sk_state == TIPC_ESTABLISHED; sk_state 328 net/tipc/socket.c int oldsk_state = sk->sk_state; sk_state 353 net/tipc/socket.c sk->sk_state = state; sk_state 367 net/tipc/socket.c if (sk->sk_state == TIPC_DISCONNECTING) sk_state 527 net/tipc/socket.c sk->sk_state != TIPC_DISCONNECTING) { sk_state 537 net/tipc/socket.c if (sk->sk_state != TIPC_DISCONNECTING) { sk_state 686 net/tipc/socket.c ((peer != 2) || (sk->sk_state != TIPC_DISCONNECTING))) sk_state 736 net/tipc/socket.c switch (sk->sk_state) { sk_state 1342 net/tipc/socket.c if (sk->sk_state == TIPC_LISTEN) sk_state 1344 net/tipc/socket.c if (sk->sk_state != TIPC_OPEN) sk_state 1756 net/tipc/socket.c if (unlikely(connected && sk->sk_state == TIPC_OPEN)) { sk_state 1865 net/tipc/socket.c if (unlikely(sk->sk_state == TIPC_OPEN)) { sk_state 2039 net/tipc/socket.c switch (sk->sk_state) { sk_state 2095 net/tipc/socket.c pr_err("Unknown sk_state %u\n", sk->sk_state); sk_state 2357 net/tipc/socket.c sk->sk_state != TIPC_CONNECTING, &wait); sk_state 2422 net/tipc/socket.c previous = sk->sk_state; sk_state 2424 net/tipc/socket.c switch (sk->sk_state) { sk_state 2540 net/tipc/socket.c if (sk->sk_state != TIPC_LISTEN) { sk_state 2621 net/tipc/socket.c if (sk->sk_state == TIPC_DISCONNECTING) { sk_state 2694 net/tipc/socket.c if (sk->sk_state == TIPC_ESTABLISHED) sk_state 2696 net/tipc/socket.c else if (sk->sk_state == TIPC_CONNECTING) sk_state 3443 net/tipc/socket.c if (!(sk_filter_state & (1 << sk->sk_state))) sk_state 3454 net/tipc/socket.c nla_put_u32(skb, TIPC_NLA_SOCK_TIPC_STATE, (u32)sk->sk_state) || sk_state 3769 net/tipc/socket.c i += scnprintf(buf + i, sz - i, " %d", sk->sk_state); sk_state 780 net/tls/tls_main.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 448 net/unix/af_unix.c return sk->sk_state != TCP_LISTEN && sk_state 532 net/unix/af_unix.c state = sk->sk_state; sk_state 533 net/unix/af_unix.c sk->sk_state = TCP_CLOSE; sk_state 621 net/unix/af_unix.c if (sk->sk_state != TCP_CLOSE && sk->sk_state != TCP_LISTEN) sk_state 626 net/unix/af_unix.c sk->sk_state = TCP_LISTEN; sk_state 1272 net/unix/af_unix.c if (other->sk_state != TCP_LISTEN) sk_state 1302 net/unix/af_unix.c st = sk->sk_state; sk_state 1319 net/unix/af_unix.c if (sk->sk_state != st) { sk_state 1336 net/unix/af_unix.c newsk->sk_state = TCP_ESTABLISHED; sk_state 1371 net/unix/af_unix.c sk->sk_state = TCP_ESTABLISHED; sk_state 1414 net/unix/af_unix.c ska->sk_state = TCP_ESTABLISHED; sk_state 1415 net/unix/af_unix.c skb->sk_state = TCP_ESTABLISHED; sk_state 1444 net/unix/af_unix.c if (sk->sk_state != TCP_LISTEN) sk_state 1809 net/unix/af_unix.c err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; sk_state 1900 net/unix/af_unix.c if (!other || sk->sk_state != TCP_ESTABLISHED) sk_state 2012 net/unix/af_unix.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 2026 net/unix/af_unix.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 2222 net/unix/af_unix.c if (unlikely(sk->sk_state != TCP_ESTABLISHED)) { sk_state 2508 net/unix/af_unix.c if (sk->sk_state == TCP_LISTEN) sk_state 2626 net/unix/af_unix.c sk->sk_state == TCP_CLOSE) sk_state 2665 net/unix/af_unix.c if (sk->sk_state == TCP_CLOSE) sk_state 2668 net/unix/af_unix.c if (sk->sk_state == TCP_SYN_SENT) sk_state 2790 net/unix/af_unix.c s->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, sk_state 2793 net/unix/af_unix.c (s->sk_state == TCP_ESTABLISHED ? SS_CONNECTED : SS_UNCONNECTED) : sk_state 2794 net/unix/af_unix.c (s->sk_state == TCP_ESTABLISHED ? SS_CONNECTING : SS_DISCONNECTING), sk_state 67 net/unix/diag.c if (sk->sk_state == TCP_LISTEN) { sk_state 105 net/unix/diag.c if (sk->sk_state == TCP_LISTEN) { sk_state 136 net/unix/diag.c rep->udiag_state = sk->sk_state; sk_state 218 net/unix/diag.c if (!(req->udiag_states & (1 << sk->sk_state))) sk_state 136 net/unix/garbage.c if (x->sk_state != TCP_LISTEN) { sk_state 459 net/vmw_vsock/af_vsock.c sk->sk_state = TCP_CLOSE; sk_state 887 net/vmw_vsock/af_vsock.c if (sk->sk_state == TCP_LISTEN sk_state 916 net/vmw_vsock/af_vsock.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 938 net/vmw_vsock/af_vsock.c if (sk->sk_state == TCP_CLOSE || sk->sk_state == TCP_CLOSING) { sk_state 1108 net/vmw_vsock/af_vsock.c if (sk->sk_state == TCP_SYN_SENT && sk_state 1110 net/vmw_vsock/af_vsock.c sk->sk_state = TCP_CLOSE; sk_state 1156 net/vmw_vsock/af_vsock.c if ((sk->sk_state == TCP_LISTEN) || sk_state 1179 net/vmw_vsock/af_vsock.c sk->sk_state = TCP_SYN_SENT; sk_state 1199 net/vmw_vsock/af_vsock.c while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { sk_state 1220 net/vmw_vsock/af_vsock.c sk->sk_state = TCP_CLOSE; sk_state 1226 net/vmw_vsock/af_vsock.c sk->sk_state = TCP_CLOSE; sk_state 1237 net/vmw_vsock/af_vsock.c sk->sk_state = TCP_CLOSE; sk_state 1270 net/vmw_vsock/af_vsock.c if (listener->sk_state != TCP_LISTEN) { sk_state 1360 net/vmw_vsock/af_vsock.c sk->sk_state = TCP_LISTEN; sk_state 1540 net/vmw_vsock/af_vsock.c err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; sk_state 1551 net/vmw_vsock/af_vsock.c if (sk->sk_state != TCP_ESTABLISHED || sk_state 1675 net/vmw_vsock/af_vsock.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 35 net/vmw_vsock/diag.c rep->vdiag_state = sk->sk_state; sk_state 83 net/vmw_vsock/diag.c if (!(req->vdiag_states & (1 << sk->sk_state))) sk_state 117 net/vmw_vsock/diag.c if (!(req->vdiag_states & (1 << sk->sk_state))) sk_state 256 net/vmw_vsock/hyperv_transport.c sk->sk_state = TCP_CLOSING; sk_state 308 net/vmw_vsock/hyperv_transport.c if ((conn_from_host && sk->sk_state != TCP_LISTEN) || sk_state 309 net/vmw_vsock/hyperv_transport.c (!conn_from_host && sk->sk_state != TCP_SYN_SENT)) sk_state 321 net/vmw_vsock/hyperv_transport.c new->sk_state = TCP_SYN_SENT; sk_state 390 net/vmw_vsock/hyperv_transport.c new->sk_state = TCP_ESTABLISHED; sk_state 401 net/vmw_vsock/hyperv_transport.c sk->sk_state = TCP_ESTABLISHED; sk_state 499 net/vmw_vsock/hyperv_transport.c if (!(sk->sk_state == TCP_ESTABLISHED || sk_state 500 net/vmw_vsock/hyperv_transport.c sk->sk_state == TCP_CLOSING)) sk_state 457 net/vmw_vsock/virtio_transport.c sk->sk_state = TCP_CLOSE; sk_state 755 net/vmw_vsock/virtio_transport_common.c sk->sk_state = TCP_CLOSING; sk_state 795 net/vmw_vsock/virtio_transport_common.c if (!(sk->sk_state == TCP_ESTABLISHED || sk_state 796 net/vmw_vsock/virtio_transport_common.c sk->sk_state == TCP_CLOSING)) sk_state 855 net/vmw_vsock/virtio_transport_common.c sk->sk_state = TCP_ESTABLISHED; sk_state 875 net/vmw_vsock/virtio_transport_common.c sk->sk_state = TCP_CLOSE; sk_state 1026 net/vmw_vsock/virtio_transport_common.c child->sk_state = TCP_ESTABLISHED; sk_state 1113 net/vmw_vsock/virtio_transport_common.c switch (sk->sk_state) { sk_state 770 net/vmw_vsock/vmci_transport.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 832 net/vmw_vsock/vmci_transport.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 841 net/vmw_vsock/vmci_transport.c sk->sk_state = TCP_CLOSE; sk_state 846 net/vmw_vsock/vmci_transport.c sk->sk_state = TCP_CLOSE; sk_state 913 net/vmw_vsock/vmci_transport.c switch (sk->sk_state) { sk_state 972 net/vmw_vsock/vmci_transport.c switch (pending->sk_state) { sk_state 1103 net/vmw_vsock/vmci_transport.c pending->sk_state = TCP_SYN_SENT; sk_state 1231 net/vmw_vsock/vmci_transport.c pending->sk_state = TCP_ESTABLISHED; sk_state 1262 net/vmw_vsock/vmci_transport.c pending->sk_state = TCP_CLOSE; sk_state 1300 net/vmw_vsock/vmci_transport.c sk->sk_state = TCP_ESTABLISHED; sk_state 1368 net/vmw_vsock/vmci_transport.c sk->sk_state = TCP_CLOSE; sk_state 1556 net/vmw_vsock/vmci_transport.c sk->sk_state = TCP_CLOSING; sk_state 1824 net/vmw_vsock/vmci_transport.c sk->sk_state = TCP_CLOSE; sk_state 1834 net/vmw_vsock/vmci_transport.c sk->sk_state = TCP_CLOSE; sk_state 350 net/vmw_vsock/vmci_transport_notify.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 171 net/vmw_vsock/vmci_transport_notify_qstate.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 288 net/x25/af_x25.c s->sk_state == TCP_LISTEN) { sk_state 399 net/x25/af_x25.c skb->sk->sk_state = TCP_LISTEN; sk_state 495 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN) { sk_state 498 net/x25/af_x25.c sk->sk_state = TCP_LISTEN; sk_state 609 net/x25/af_x25.c sk->sk_state = TCP_ESTABLISHED; sk_state 656 net/x25/af_x25.c sk->sk_state = TCP_CLOSE; sk_state 726 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 748 net/x25/af_x25.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { sk_state 754 net/x25/af_x25.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { sk_state 760 net/x25/af_x25.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 764 net/x25/af_x25.c if (sk->sk_state == TCP_SYN_SENT) sk_state 767 net/x25/af_x25.c sk->sk_state = TCP_CLOSE; sk_state 801 net/x25/af_x25.c sk->sk_state = TCP_SYN_SENT; sk_state 812 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) sk_state 882 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN) sk_state 916 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1041 net/x25/af_x25.c make->sk_state = TCP_ESTABLISHED; sk_state 1143 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1240 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1289 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1444 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN && sk_state 1445 net/x25/af_x25.c sk->sk_state != TCP_CLOSE) sk_state 1497 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN && sk_state 1498 net/x25/af_x25.c sk->sk_state != TCP_CLOSE) sk_state 1561 net/x25/af_x25.c if(sk->sk_state != TCP_CLOSE) sk_state 1580 net/x25/af_x25.c if (sk->sk_state == TCP_CLOSE) { sk_state 1591 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 103 net/x25/x25_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 352 net/x25/x25_subr.c sk->sk_state = TCP_CLOSE; sk_state 107 net/x25/x25_timer.c (sk->sk_state == TCP_LISTEN &&