sk_state 284 fs/dlm/lowcomms.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 573 fs/ocfs2/cluster/tcp.c sclog(sc, "state_change to %d\n", sk->sk_state); sk_state 577 fs/ocfs2/cluster/tcp.c switch(sk->sk_state) { sk_state 1888 fs/ocfs2/cluster/tcp.c if (sk->sk_state == TCP_LISTEN) { sk_state 71 fs/ocfs2/cluster/tcp.h if (sock->sk->sk_state != TCP_ESTABLISHED && sk_state 72 fs/ocfs2/cluster/tcp.h sock->sk->sk_state != TCP_CLOSE_WAIT) sk_state 210 fs/smbfs/sock.c if (sock->sk->sk_state != TCP_ESTABLISHED) sk_state 276 fs/smbfs/sock.c if (sock->sk->sk_state != TCP_ESTABLISHED) sk_state 322 fs/smbfs/sock.c if (sock->sk->sk_state != TCP_ESTABLISHED) sk_state 370 fs/smbfs/sock.c if (sock->sk->sk_state != TCP_ESTABLISHED) sk_state 456 include/linux/ipv6.h return likely(sk->sk_state != TCP_TIME_WAIT) ? sk_state 467 include/linux/ipv6.h return likely(sk->sk_state != TCP_TIME_WAIT) ? sk_state 193 include/net/inet_timewait_sock.h return likely(sk->sk_state != TCP_TIME_WAIT) ? sk_state 22 include/net/netfilter/nf_tproxy_core.h if ((sk->sk_protocol == IPPROTO_TCP) && (sk->sk_state == TCP_TIME_WAIT)) sk_state 674 include/net/sctp/sctp.h return sk->sk_state == state; sk_state 209 net/appletalk/atalk_proc.c s->sk_state, SOCK_INODE(s->sk_socket)->i_uid); sk_state 1193 net/appletalk/ddp.c sk->sk_state = TCP_CLOSE; sk_state 1228 net/appletalk/ddp.c sk->sk_state = TCP_ESTABLISHED; sk_state 1250 net/appletalk/ddp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1587 net/appletalk/ddp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 168 net/ax25/af_ax25.c s->sk->sk_type == type && s->sk->sk_state == TCP_LISTEN) { sk_state 321 net/ax25/af_ax25.c skb->sk->sk_state = TCP_LISTEN; sk_state 652 net/ax25/af_ax25.c sk->sk_state == TCP_LISTEN)) { sk_state 773 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { sk_state 775 net/ax25/af_ax25.c sk->sk_state = TCP_LISTEN; sk_state 903 net/ax25/af_ax25.c sk->sk_state = TCP_ESTABLISHED; sk_state 997 net/ax25/af_ax25.c sk->sk_state = TCP_CLOSE; sk_state 1007 net/ax25/af_ax25.c sk->sk_state = TCP_CLOSE; sk_state 1138 net/ax25/af_ax25.c switch (sk->sk_state) { sk_state 1154 net/ax25/af_ax25.c if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { sk_state 1159 net/ax25/af_ax25.c sk->sk_state = TCP_CLOSE; sk_state 1236 net/ax25/af_ax25.c sk->sk_state = TCP_ESTABLISHED; sk_state 1242 net/ax25/af_ax25.c sk->sk_state = TCP_SYN_SENT; sk_state 1267 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { sk_state 1272 net/ax25/af_ax25.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 1278 net/ax25/af_ax25.c if (sk->sk_state != TCP_SYN_SENT) sk_state 1295 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1331 net/ax25/af_ax25.c if (sk->sk_state != TCP_LISTEN) { sk_state 1391 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1523 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1565 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1622 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_ESTABLISHED) { sk_state 67 net/ax25/ax25_ds_in.c ax25->sk->sk_state = TCP_ESTABLISHED; sk_state 110 net/ax25/ax25_ds_timer.c (sk->sk_state == TCP_LISTEN && sk_state 173 net/ax25/ax25_ds_timer.c ax25->sk->sk_state = TCP_CLOSE; sk_state 370 net/ax25/ax25_in.c make->sk_state = TCP_ESTABLISHED; sk_state 75 net/ax25/ax25_std_in.c ax25->sk->sk_state = TCP_ESTABLISHED; sk_state 45 net/ax25/ax25_std_timer.c (sk->sk_state == TCP_LISTEN && sk_state 111 net/ax25/ax25_std_timer.c ax25->sk->sk_state = TCP_CLOSE; sk_state 279 net/ax25/ax25_subr.c ax25->sk->sk_state = TCP_CLOSE; sk_state 198 net/bluetooth/af_bluetooth.c BT_DBG("sk %p state %d", sk, sk->sk_state); sk_state 220 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CLOSED) { sk_state 226 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CONNECTED || !newsock) { sk_state 286 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CONNECTED) sk_state 302 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_LISTEN) sk_state 318 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CLOSED) sk_state 321 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_CONNECT || sk_state 322 net/bluetooth/af_bluetooth.c sk->sk_state == BT_CONNECT2 || sk_state 323 net/bluetooth/af_bluetooth.c sk->sk_state == BT_CONFIG) sk_state 346 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_LISTEN) sk_state 356 net/bluetooth/af_bluetooth.c if (sk->sk_state == BT_LISTEN) sk_state 391 net/bluetooth/af_bluetooth.c while (sk->sk_state != state) { sk_state 489 net/bluetooth/bnep/core.c if (sk->sk_state != BT_CONNECTED) sk_state 92 net/bluetooth/bnep/sock.c if (nsock->sk->sk_state != BT_CONNECTED) { sk_state 225 net/bluetooth/bnep/sock.c sk->sk_state = BT_OPEN; sk_state 297 net/bluetooth/cmtp/core.c if (sk->sk_state != BT_CONNECTED) sk_state 90 net/bluetooth/cmtp/sock.c if (nsock->sk->sk_state != BT_CONNECTED) { sk_state 220 net/bluetooth/cmtp/sock.c sk->sk_state = BT_OPEN; sk_state 103 net/bluetooth/hci_sock.c if (sk->sk_state != BT_BOUND || hci_pi(sk)->hdev != hdev) sk_state 299 net/bluetooth/hci_sock.c sk->sk_state = BT_BOUND; sk_state 372 net/bluetooth/hci_sock.c if (sk->sk_state == BT_CLOSED) sk_state 651 net/bluetooth/hci_sock.c sk->sk_state = BT_OPEN; sk_state 681 net/bluetooth/hci_sock.c sk->sk_state = BT_OPEN; sk_state 548 net/bluetooth/hidp/core.c if (ctrl_sk->sk_state != BT_CONNECTED || intr_sk->sk_state != BT_CONNECTED) sk_state 593 net/bluetooth/hidp/core.c (ctrl_sk->sk_state == BT_CLOSED), msecs_to_jiffies(500)); sk_state 93 net/bluetooth/hidp/sock.c if (csock->sk->sk_state != BT_CONNECTED || isock->sk->sk_state != BT_CONNECTED) { sk_state 271 net/bluetooth/hidp/sock.c sk->sk_state = BT_OPEN; sk_state 81 net/bluetooth/l2cap.c BT_DBG("sock %p state %d", sk, sk->sk_state); sk_state 85 net/bluetooth/l2cap.c if (sk->sk_state == BT_CONNECT && sk_state 102 net/bluetooth/l2cap.c BT_DBG("sk %p state %d timeout %ld", sk, sk->sk_state, timeout); sk_state 108 net/bluetooth/l2cap.c BT_DBG("sock %p state %d", sk, sk->sk_state); sk_state 253 net/bluetooth/l2cap.c sk->sk_state = BT_CLOSED; sk_state 363 net/bluetooth/l2cap.c if (sk->sk_state == BT_CONNECT) { sk_state 374 net/bluetooth/l2cap.c } else if (sk->sk_state == BT_CONNECT2) { sk_state 380 net/bluetooth/l2cap.c sk->sk_state = BT_CONFIG; sk_state 412 net/bluetooth/l2cap.c sk->sk_state = BT_CONNECTED; sk_state 414 net/bluetooth/l2cap.c } else if (sk->sk_state == BT_CONNECT) sk_state 539 net/bluetooth/l2cap.c if (state && sk->sk_state != state) sk_state 585 net/bluetooth/l2cap.c parent->sk_state = BT_CLOSED; sk_state 597 net/bluetooth/l2cap.c BT_DBG("sk %p state %d", sk, sk->sk_state); sk_state 607 net/bluetooth/l2cap.c BT_DBG("sk %p state %d socket %p", sk, sk->sk_state, sk->sk_socket); sk_state 609 net/bluetooth/l2cap.c switch (sk->sk_state) { sk_state 621 net/bluetooth/l2cap.c sk->sk_state = BT_DISCONN; sk_state 698 net/bluetooth/l2cap.c sk->sk_state = BT_OPEN; sk_state 744 net/bluetooth/l2cap.c if (sk->sk_state != BT_OPEN) { sk_state 764 net/bluetooth/l2cap.c sk->sk_state = BT_BOUND; sk_state 824 net/bluetooth/l2cap.c sk->sk_state = BT_CONNECT; sk_state 830 net/bluetooth/l2cap.c sk->sk_state = BT_CONNECTED; sk_state 861 net/bluetooth/l2cap.c switch(sk->sk_state) { sk_state 906 net/bluetooth/l2cap.c if (sk->sk_state != BT_BOUND || sock->type != SOCK_SEQPACKET) { sk_state 935 net/bluetooth/l2cap.c sk->sk_state = BT_LISTEN; sk_state 951 net/bluetooth/l2cap.c if (sk->sk_state != BT_LISTEN) { sk_state 973 net/bluetooth/l2cap.c if (sk->sk_state != BT_LISTEN) { sk_state 1105 net/bluetooth/l2cap.c if (sk->sk_state == BT_CONNECTED) sk_state 1193 net/bluetooth/l2cap.c if (sk->sk_state != BT_CONNECTED) { sk_state 1270 net/bluetooth/l2cap.c sk->sk_state = BT_CONNECTED; sk_state 1631 net/bluetooth/l2cap.c sk->sk_state = BT_CONFIG; sk_state 1635 net/bluetooth/l2cap.c sk->sk_state = BT_CONNECT2; sk_state 1640 net/bluetooth/l2cap.c sk->sk_state = BT_CONNECT2; sk_state 1698 net/bluetooth/l2cap.c sk->sk_state = BT_CONFIG; sk_state 1735 net/bluetooth/l2cap.c if (sk->sk_state == BT_DISCONN) sk_state 1773 net/bluetooth/l2cap.c sk->sk_state = BT_CONNECTED; sk_state 1822 net/bluetooth/l2cap.c sk->sk_state = BT_DISCONN; sk_state 1841 net/bluetooth/l2cap.c sk->sk_state = BT_CONNECTED; sk_state 2051 net/bluetooth/l2cap.c if (sk->sk_state != BT_CONNECTED) sk_state 2085 net/bluetooth/l2cap.c if (sk->sk_state != BT_BOUND && sk->sk_state != BT_CONNECTED) sk_state 2147 net/bluetooth/l2cap.c if (sk->sk_state != BT_LISTEN) sk_state 2219 net/bluetooth/l2cap.c if (sk->sk_state == BT_CONNECT) { sk_state 2233 net/bluetooth/l2cap.c } else if (sk->sk_state == BT_CONNECT2) { sk_state 2238 net/bluetooth/l2cap.c sk->sk_state = BT_CONFIG; sk_state 2241 net/bluetooth/l2cap.c sk->sk_state = BT_DISCONN; sk_state 2283 net/bluetooth/l2cap.c (sk->sk_state == BT_CONNECTED || sk_state 2284 net/bluetooth/l2cap.c sk->sk_state == BT_CONFIG) && sk_state 2291 net/bluetooth/l2cap.c if (sk->sk_state == BT_CONNECT) { sk_state 2305 net/bluetooth/l2cap.c } else if (sk->sk_state == BT_CONNECT2) { sk_state 2310 net/bluetooth/l2cap.c sk->sk_state = BT_CONFIG; sk_state 2313 net/bluetooth/l2cap.c sk->sk_state = BT_DISCONN; sk_state 2434 net/bluetooth/l2cap.c sk->sk_state, btohs(pi->psm), pi->scid, pi->dcid, sk_state 206 net/bluetooth/rfcomm/core.c BT_DBG("%p state %d", sk, sk->sk_state); sk_state 1765 net/bluetooth/rfcomm/core.c if (sk->sk_state == BT_CLOSED) { sk_state 1814 net/bluetooth/rfcomm/core.c switch(sk->sk_state) { sk_state 98 net/bluetooth/rfcomm/sock.c sk->sk_state = d->state; sk_state 148 net/bluetooth/rfcomm/sock.c if (state && sk->sk_state != state) sk_state 208 net/bluetooth/rfcomm/sock.c parent->sk_state = BT_CLOSED; sk_state 220 net/bluetooth/rfcomm/sock.c BT_DBG("sk %p state %d refcnt %d", sk, sk->sk_state, atomic_read(&sk->sk_refcnt)); sk_state 232 net/bluetooth/rfcomm/sock.c BT_DBG("sk %p state %d socket %p", sk, sk->sk_state, sk->sk_socket); sk_state 234 net/bluetooth/rfcomm/sock.c switch (sk->sk_state) { sk_state 316 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_OPEN; sk_state 358 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_OPEN) { sk_state 376 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_BOUND; sk_state 400 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) { sk_state 410 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_CONNECT; sk_state 435 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_BOUND) { sk_state 468 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_LISTEN; sk_state 484 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_LISTEN) { sk_state 511 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_LISTEN) { sk_state 768 net/bluetooth/rfcomm/sock.c if (sk->sk_state != BT_CONNECTED) { sk_state 887 net/bluetooth/rfcomm/sock.c sk->sk_state = BT_CONFIG; sk_state 910 net/bluetooth/rfcomm/sock.c sk->sk_state, rfcomm_pi(sk)->channel); sk_state 402 net/bluetooth/rfcomm/tty.c if (sk->sk_state != BT_CONNECTED) sk_state 422 net/bluetooth/rfcomm/tty.c sk->sk_state = BT_CLOSED; sk_state 79 net/bluetooth/sco.c BT_DBG("sock %p state %d", sk, sk->sk_state); sk_state 92 net/bluetooth/sco.c BT_DBG("sock %p state %d timeout %ld", sk, sk->sk_state, timeout); sk_state 98 net/bluetooth/sco.c BT_DBG("sock %p state %d", sk, sk->sk_state); sk_state 222 net/bluetooth/sco.c sk->sk_state = BT_CONNECTED; sk_state 224 net/bluetooth/sco.c sk->sk_state = BT_CONNECT; sk_state 274 net/bluetooth/sco.c if (sk->sk_state != BT_CONNECTED) sk_state 310 net/bluetooth/sco.c if (sk->sk_state != BT_LISTEN) sk_state 347 net/bluetooth/sco.c parent->sk_state = BT_CLOSED; sk_state 359 net/bluetooth/sco.c BT_DBG("sk %p state %d", sk, sk->sk_state); sk_state 380 net/bluetooth/sco.c BT_DBG("sk %p state %d conn %p socket %p", sk, sk->sk_state, conn, sk->sk_socket); sk_state 382 net/bluetooth/sco.c switch (sk->sk_state) { sk_state 435 net/bluetooth/sco.c sk->sk_state = BT_OPEN; sk_state 478 net/bluetooth/sco.c if (sk->sk_state != BT_OPEN) { sk_state 490 net/bluetooth/sco.c sk->sk_state = BT_BOUND; sk_state 512 net/bluetooth/sco.c if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) sk_state 543 net/bluetooth/sco.c if (sk->sk_state != BT_BOUND || sock->type != SOCK_SEQPACKET) { sk_state 550 net/bluetooth/sco.c sk->sk_state = BT_LISTEN; sk_state 566 net/bluetooth/sco.c if (sk->sk_state != BT_LISTEN) { sk_state 588 net/bluetooth/sco.c if (sk->sk_state != BT_LISTEN) { sk_state 648 net/bluetooth/sco.c if (sk->sk_state == BT_CONNECTED) sk_state 692 net/bluetooth/sco.c if (sk->sk_state != BT_CONNECTED) { sk_state 708 net/bluetooth/sco.c if (sk->sk_state != BT_CONNECTED) { sk_state 783 net/bluetooth/sco.c sk->sk_state = BT_CLOSED; sk_state 801 net/bluetooth/sco.c sk->sk_state = BT_CONNECTED; sk_state 825 net/bluetooth/sco.c sk->sk_state = BT_CONNECTED; sk_state 907 net/bluetooth/sco.c sk->sk_state); sk_state 94 net/core/datagram.c !(sk->sk_state == TCP_ESTABLISHED || sk->sk_state == TCP_LISTEN)) sk_state 631 net/core/datagram.c if (sk->sk_state == TCP_CLOSE) sk_state 634 net/core/datagram.c if (sk->sk_state == TCP_SYN_SENT) sk_state 829 net/core/sock.c v.val = sk->sk_state == TCP_LISTEN; sk_state 1707 net/core/sock.c sk->sk_state = TCP_CLOSE; sk_state 61 net/core/stream.c if ((1 << sk->sk_state) & ~(TCPF_SYN_SENT | TCPF_SYN_RECV)) sk_state 72 net/core/stream.c !((1 << sk->sk_state) & sk_state 88 net/core/stream.c return (1 << sk->sk_state) & sk_state 598 net/dccp/ccids/ccid3.c if (sk->sk_state == DCCP_LISTEN) sk_state 613 net/dccp/ccids/ccid3.c if (sk->sk_state == DCCP_LISTEN) sk_state 733 net/dccp/ccids/ccid3.c if (!(sk->sk_state == DCCP_OPEN || sk->sk_state == DCCP_PARTOPEN)) sk_state 901 net/dccp/ccids/ccid3.c if (sk->sk_state == DCCP_LISTEN) sk_state 918 net/dccp/ccids/ccid3.c if (sk->sk_state == DCCP_LISTEN) sk_state 26 net/dccp/diag.c info->tcpi_state = sk->sk_state; sk_state 372 net/dccp/feat.c if (sk->sk_state == DCCP_OPEN) sk_state 50 net/dccp/input.c switch (sk->sk_state) { sk_state 108 net/dccp/input.c switch (sk->sk_state) { sk_state 526 net/dccp/input.c if (sk->sk_state == DCCP_RESPOND) sk_state 540 net/dccp/input.c if (sk->sk_state == DCCP_PARTOPEN) sk_state 563 net/dccp/input.c const int old_state = sk->sk_state; sk_state 588 net/dccp/input.c if (sk->sk_state == DCCP_LISTEN) { sk_state 605 net/dccp/input.c if (sk->sk_state != DCCP_REQUESTING) { sk_state 650 net/dccp/input.c (sk->sk_state == DCCP_RESPOND && sk_state 664 net/dccp/input.c switch (sk->sk_state) { sk_state 147 net/dccp/ipv4.c if (sk->sk_state == DCCP_LISTEN) sk_state 224 net/dccp/ipv4.c if (sk->sk_state == DCCP_TIME_WAIT) { sk_state 236 net/dccp/ipv4.c if (sk->sk_state == DCCP_CLOSED) sk_state 241 net/dccp/ipv4.c if ((1 << sk->sk_state) & ~(DCCPF_REQUESTING | DCCPF_LISTEN) && sk_state 273 net/dccp/ipv4.c switch (sk->sk_state) { sk_state 440 net/dccp/ipv4.c if (nsk->sk_state != DCCP_TIME_WAIT) { sk_state 642 net/dccp/ipv4.c if (sk->sk_state == DCCP_OPEN) { /* Fast path */ sk_state 671 net/dccp/ipv4.c if (sk->sk_state == DCCP_LISTEN) { sk_state 832 net/dccp/ipv4.c if (sk->sk_state == DCCP_TIME_WAIT) { sk_state 43 net/dccp/ipv6.c if (sk->sk_state != DCCP_CLOSED) { sk_state 116 net/dccp/ipv6.c if (sk->sk_state == DCCP_TIME_WAIT) { sk_state 125 net/dccp/ipv6.c if (sk->sk_state == DCCP_CLOSED) sk_state 130 net/dccp/ipv6.c if ((1 << sk->sk_state) & ~(DCCPF_REQUESTING | DCCPF_LISTEN) && sk_state 143 net/dccp/ipv6.c if ((1 << sk->sk_state) & (DCCPF_LISTEN | DCCPF_CLOSED)) sk_state 189 net/dccp/ipv6.c switch (sk->sk_state) { sk_state 385 net/dccp/ipv6.c if (nsk->sk_state != DCCP_TIME_WAIT) { sk_state 710 net/dccp/ipv6.c if (sk->sk_state == DCCP_OPEN) { /* Fast path */ sk_state 744 net/dccp/ipv6.c if (sk->sk_state == DCCP_LISTEN) { sk_state 828 net/dccp/ipv6.c if (sk->sk_state == DCCP_TIME_WAIT) { sk_state 275 net/dccp/minisocks.c const int state = child->sk_state; sk_state 282 net/dccp/minisocks.c if (state == DCCP_RESPOND && child->sk_state != state) sk_state 272 net/dccp/output.c if (sk->sk_state == DCCP_PARTOPEN) { sk_state 498 net/dccp/output.c if (sk->sk_state != DCCP_CLOSED) { sk_state 60 net/dccp/proto.c const int oldstate = sk->sk_state; sk_state 90 net/dccp/proto.c sk->sk_state = state; sk_state 97 net/dccp/proto.c switch (sk->sk_state) { sk_state 185 net/dccp/proto.c sk->sk_state = DCCP_CLOSED; sk_state 294 net/dccp/proto.c const int old_state = sk->sk_state; sk_state 354 net/dccp/proto.c if (sk->sk_state == DCCP_LISTEN) sk_state 366 net/dccp/proto.c if (sk->sk_shutdown == SHUTDOWN_MASK || sk->sk_state == DCCP_CLOSED) sk_state 372 net/dccp/proto.c if ((1 << sk->sk_state) & ~(DCCPF_REQUESTING | DCCPF_RESPOND)) { sk_state 404 net/dccp/proto.c if (sk->sk_state == DCCP_LISTEN) sk_state 730 net/dccp/proto.c if ((1 << sk->sk_state) & ~(DCCPF_OPEN | DCCPF_PARTOPEN)) sk_state 766 net/dccp/proto.c if (sk->sk_state == DCCP_LISTEN) { sk_state 817 net/dccp/proto.c if (sk->sk_state == DCCP_CLOSED) { sk_state 876 net/dccp/proto.c old_state = sk->sk_state; sk_state 906 net/dccp/proto.c switch (sk->sk_state) { sk_state 940 net/dccp/proto.c if (sk->sk_state == DCCP_LISTEN) { sk_state 969 net/dccp/proto.c } else if (sk->sk_state != DCCP_CLOSED) { sk_state 976 net/dccp/proto.c state = sk->sk_state; sk_state 994 net/dccp/proto.c if (state != DCCP_CLOSED && sk->sk_state == DCCP_CLOSED) sk_state 997 net/dccp/proto.c if (sk->sk_state == DCCP_CLOSED) sk_state 39 net/dccp/timer.c if (sk->sk_state == DCCP_REQUESTING || sk->sk_state == DCCP_PARTOPEN) { sk_state 96 net/dccp/timer.c if (sk->sk_state == DCCP_OPEN) sk_state 153 net/dccp/timer.c if (sk->sk_state == DCCP_CLOSED || !icsk->icsk_pending) sk_state 196 net/dccp/timer.c if (sk->sk_state == DCCP_LISTEN) { sk_state 221 net/dccp/timer.c if (sk->sk_state == DCCP_CLOSED || sk_state 384 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN) sk_state 404 net/decnet/af_decnet.c if (sk->sk_state == TCP_LISTEN) sk_state 624 net/decnet/af_decnet.c sk->sk_state = TCP_CLOSE; sk_state 1054 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN) sk_state 1081 net/decnet/af_decnet.c if (sk->sk_state != TCP_LISTEN || DN_SK(sk)->state != DN_O) { sk_state 1121 net/decnet/af_decnet.c newsk->sk_state = TCP_LISTEN; sk_state 1283 net/decnet/af_decnet.c if ((DN_SK(sk)->state != DN_O) || (sk->sk_state == TCP_LISTEN)) sk_state 1288 net/decnet/af_decnet.c sk->sk_state = TCP_LISTEN; sk_state 352 net/decnet/dn_nsp_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 415 net/decnet/dn_nsp_in.c sk->sk_state = TCP_CLOSE; sk_state 468 net/decnet/dn_nsp_in.c sk->sk_state = TCP_CLOSE; sk_state 683 net/decnet/dn_nsp_in.c sk->sk_state = TCP_CLOSE; sk_state 872 net/decnet/dn_nsp_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 141 net/ipv4/af_inet.c if (sk->sk_type == SOCK_STREAM && sk->sk_state != TCP_CLOSE) { sk_state 143 net/ipv4/af_inet.c sk->sk_state, sk); sk_state 203 net/ipv4/af_inet.c old_state = sk->sk_state; sk_state 495 net/ipv4/af_inet.c if (sk->sk_state != TCP_CLOSE || inet->num) sk_state 548 net/ipv4/af_inet.c while ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) { sk_state 592 net/ipv4/af_inet.c if (sk->sk_state != TCP_CLOSE) sk_state 611 net/ipv4/af_inet.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) { sk_state 624 net/ipv4/af_inet.c if (sk->sk_state == TCP_CLOSE) sk_state 661 net/ipv4/af_inet.c WARN_ON(!((1 << sk2->sk_state) & sk_state 687 net/ipv4/af_inet.c (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_SYN_SENT)) && sk_state 747 net/ipv4/af_inet.c if ((1 << sk->sk_state) & sk_state 754 net/ipv4/af_inet.c switch (sk->sk_state) { sk_state 1141 net/ipv4/af_inet.c sk->sk_state != TCP_SYN_SENT || sk_state 69 net/ipv4/datagram.c sk->sk_state = TCP_ESTABLISHED; sk_state 74 net/ipv4/inet_connection_sock.c sk2->sk_state == TCP_LISTEN) { sk_state 148 net/ipv4/inet_connection_sock.c sk->sk_reuse && sk->sk_state != TCP_LISTEN) { sk_state 162 net/ipv4/inet_connection_sock.c if (sk->sk_reuse && sk->sk_state != TCP_LISTEN) sk_state 167 net/ipv4/inet_connection_sock.c (!sk->sk_reuse || sk->sk_state == TCP_LISTEN)) sk_state 219 net/ipv4/inet_connection_sock.c if (sk->sk_state != TCP_LISTEN) sk_state 247 net/ipv4/inet_connection_sock.c if (sk->sk_state != TCP_LISTEN) sk_state 265 net/ipv4/inet_connection_sock.c WARN_ON(newsk->sk_state == TCP_SYN_RECV); sk_state 517 net/ipv4/inet_connection_sock.c newsk->sk_state = TCP_SYN_RECV; sk_state 547 net/ipv4/inet_connection_sock.c WARN_ON(sk->sk_state != TCP_CLOSE); sk_state 588 net/ipv4/inet_connection_sock.c sk->sk_state = TCP_LISTEN; sk_state 598 net/ipv4/inet_connection_sock.c sk->sk_state = TCP_CLOSE; sk_state 96 net/ipv4/inet_diag.c BUG_ON(sk->sk_state == TCP_TIME_WAIT); sk_state 113 net/ipv4/inet_diag.c r->idiag_state = sk->sk_state; sk_state 169 net/ipv4/inet_diag.c if (sk->sk_state < TCP_TIME_WAIT && sk_state 242 net/ipv4/inet_diag.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 321 net/ipv4/inet_diag.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 799 net/ipv4/inet_diag.c if (!(r->idiag_states & (1 << sk->sk_state))) sk_state 365 net/ipv4/inet_hashtables.c if (sk->sk_state != TCP_LISTEN) { sk_state 383 net/ipv4/inet_hashtables.c if (sk->sk_state != TCP_CLOSE) { sk_state 399 net/ipv4/inet_hashtables.c if (sk->sk_state == TCP_LISTEN) { sk_state 412 net/ipv4/inet_hashtables.c if (sk->sk_state == TCP_LISTEN) sk_state 459 net/ipv4/ip_sockglue.c (!((1 << sk->sk_state) & sk_state 223 net/ipv4/raw.c if (!inet->recverr && sk->sk_state != TCP_ESTABLISHED) sk_state 489 net/ipv4/raw.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 625 net/ipv4/raw.c if (sk->sk_state != TCP_CLOSE || addr_len < sizeof(struct sockaddr_in)) sk_state 936 net/ipv4/raw.c i, src, srcp, dest, destp, sp->sk_state, sk_state 341 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 380 net/ipv4/tcp.c if (sk->sk_shutdown == SHUTDOWN_MASK || sk->sk_state == TCP_CLOSE) sk_state 386 net/ipv4/tcp.c if ((1 << sk->sk_state) & ~(TCPF_SYN_SENT | TCPF_SYN_RECV)) { sk_state 430 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 434 net/ipv4/tcp.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) sk_state 454 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 457 net/ipv4/tcp.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) sk_state 593 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE) { sk_state 619 net/ipv4/tcp.c if (sk->sk_err || sk->sk_state == TCP_CLOSE || sk_state 668 net/ipv4/tcp.c if ((1 << sk->sk_state) & ~(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)) sk_state 834 net/ipv4/tcp.c if ((1 << sk->sk_state) & ~(TCPF_ESTABLISHED | TCPF_CLOSE_WAIT)) sk_state 1052 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE && !sock_flag(sk, SOCK_DONE)) sk_state 1075 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) sk_state 1206 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 1289 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) sk_state 1374 net/ipv4/tcp.c sk->sk_state == TCP_CLOSE || sk_state 1392 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE) { sk_state 1666 net/ipv4/tcp.c int oldstate = sk->sk_state; sk_state 1691 net/ipv4/tcp.c sk->sk_state = state; sk_state 1724 net/ipv4/tcp.c int next = (int)new_state[sk->sk_state]; sk_state 1747 net/ipv4/tcp.c if ((1 << sk->sk_state) & sk_state 1765 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) { sk_state 1835 net/ipv4/tcp.c state = sk->sk_state; sk_state 1852 net/ipv4/tcp.c if (state != TCP_CLOSE && sk->sk_state == TCP_CLOSE) sk_state 1869 net/ipv4/tcp.c if (sk->sk_state == TCP_FIN_WAIT2) { sk_state 1888 net/ipv4/tcp.c if (sk->sk_state != TCP_CLOSE) { sk_state 1902 net/ipv4/tcp.c if (sk->sk_state == TCP_CLOSE) sk_state 1927 net/ipv4/tcp.c int old_state = sk->sk_state; sk_state 2079 net/ipv4/tcp.c !((1 << sk->sk_state) & sk_state 2133 net/ipv4/tcp.c if (sk->sk_state != TCP_CLOSE) { sk_state 2148 net/ipv4/tcp.c if ((1 << sk->sk_state) & sk_state 2208 net/ipv4/tcp.c info->tcpi_state = sk->sk_state; sk_state 2232 net/ipv4/tcp.c if (sk->sk_state == TCP_LISTEN) { sk_state 2282 net/ipv4/tcp.c if (!val && ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) sk_state 2654 net/ipv4/tcp.c if(sk->sk_state == TCP_SYN_SENT || sk->sk_state == TCP_SYN_RECV) sk_state 269 net/ipv4/tcp_cong.c if (sk->sk_state != TCP_CLOSE && icsk->icsk_ca_ops->init) sk_state 26 net/ipv4/tcp_diag.c if (sk->sk_state == TCP_LISTEN) { sk_state 3626 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 3668 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 3704 net/ipv4/tcp_input.c __func__, sk->sk_state); sk_state 3721 net/ipv4/tcp_input.c sk->sk_state == TCP_CLOSE) sk_state 5272 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 5329 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 5447 net/ipv4/tcp_input.c switch (sk->sk_state) { sk_state 5475 net/ipv4/tcp_input.c if (sk->sk_state != TCP_CLOSE) { sk_state 283 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_LISTEN) sk_state 358 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_TIME_WAIT) { sk_state 370 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_CLOSE) sk_state 375 net/ipv4/tcp_ipv4.c if (sk->sk_state != TCP_LISTEN && sk_state 407 net/ipv4/tcp_ipv4.c switch (sk->sk_state) { sk_state 1425 net/ipv4/tcp_ipv4.c if (nsk->sk_state != TCP_TIME_WAIT) { sk_state 1484 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ sk_state 1497 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_LISTEN) { sk_state 1585 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 1793 net/ipv4/tcp_ipv4.c sk->sk_state = TCP_CLOSE; sk_state 2242 net/ipv4/tcp_ipv4.c i, src, srcp, dest, destp, sk->sk_state, sk_state 2244 net/ipv4/tcp_ipv4.c sk->sk_state == TCP_LISTEN ? sk->sk_ack_backlog : sk_state 715 net/ipv4/tcp_minisocks.c int state = child->sk_state; sk_state 721 net/ipv4/tcp_minisocks.c if (state == TCP_SYN_RECV && child->sk_state != state) sk_state 1523 net/ipv4/tcp_output.c if (unlikely(sk->sk_state == TCP_CLOSE)) sk_state 2483 net/ipv4/tcp_output.c if (sk->sk_state == TCP_CLOSE) sk_state 2545 net/ipv4/tcp_output.c if (sk->sk_state == TCP_CLOSE) sk_state 141 net/ipv4/tcp_timer.c if ((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV)) { sk_state 189 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_CLOSE || !(icsk->icsk_ack.pending & ICSK_ACK_TIMER)) sk_state 293 net/ipv4/tcp_timer.c !((1 << sk->sk_state) & (TCPF_SYN_SENT | TCPF_SYN_RECV))) { sk_state 410 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_CLOSE || !icsk->icsk_pending) sk_state 450 net/ipv4/tcp_timer.c if ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) sk_state 475 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_LISTEN) { sk_state 480 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_FIN_WAIT2 && sock_flag(sk, SOCK_DEAD)) { sk_state 493 net/ipv4/tcp_timer.c if (!sock_flag(sk, SOCK_KEEPOPEN) || sk->sk_state == TCP_CLOSE) sk_state 382 net/ipv4/udp.c if (!harderr || sk->sk_state != TCP_ESTABLISHED) sk_state 577 net/ipv4/udp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 921 net/ipv4/udp.c sk->sk_state = TCP_CLOSE; sk_state 1631 net/ipv4/udp.c bucket, src, srcp, dest, destp, sp->sk_state, sk_state 268 net/ipv6/af_inet6.c if (sk->sk_state != TCP_CLOSE || inet->num) { sk_state 410 net/ipv6/af_inet6.c if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_SYN_SENT)) && sk_state 204 net/ipv6/datagram.c sk->sk_state = TCP_ESTABLISHED; sk_state 46 net/ipv6/inet6_connection_sock.c sk2->sk_state == TCP_LISTEN) && sk_state 33 net/ipv6/inet6_hashtables.c if (sk->sk_state == TCP_LISTEN) { sk_state 108 net/ipv6/ipv6_sockglue.c !((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && sk_state 172 net/ipv6/ipv6_sockglue.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 866 net/ipv6/ipv6_sockglue.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 257 net/ipv6/raw.c if (sk->sk_state != TCP_CLOSE) sk_state 325 net/ipv6/raw.c if (!np->recverr && sk->sk_state != TCP_ESTABLISHED) sk_state 789 net/ipv6/raw.c if (sk->sk_state == TCP_ESTABLISHED && sk_state 798 net/ipv6/raw.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1237 net/ipv6/raw.c sp->sk_state, sk_state 92 net/ipv6/tcp_ipv6.c if (sk->sk_state != TCP_CLOSE) { sk_state 338 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_TIME_WAIT) { sk_state 347 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_CLOSE) sk_state 352 net/ipv6/tcp_ipv6.c if (sk->sk_state != TCP_LISTEN && sk_state 365 net/ipv6/tcp_ipv6.c if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) sk_state 412 net/ipv6/tcp_ipv6.c switch (sk->sk_state) { sk_state 1105 net/ipv6/tcp_ipv6.c if (nsk->sk_state != TCP_TIME_WAIT) { sk_state 1503 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ sk_state 1516 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_LISTEN) { sk_state 1565 net/ipv6/tcp_ipv6.c !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { sk_state 1626 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_TIME_WAIT) sk_state 1819 net/ipv6/tcp_ipv6.c sk->sk_state = TCP_CLOSE; sk_state 1921 net/ipv6/tcp_ipv6.c sp->sk_state, sk_state 1923 net/ipv6/tcp_ipv6.c (sp->sk_state == TCP_LISTEN) ? sp->sk_ack_backlog : (tp->rcv_nxt - tp->copied_seq), sk_state 262 net/ipv6/udp.c if (sk->sk_state != TCP_ESTABLISHED && !np->recverr) sk_state 660 net/ipv6/udp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 731 net/ipv6/udp.c if (sk->sk_state == TCP_ESTABLISHED && sk_state 740 net/ipv6/udp.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 984 net/ipv6/udp.c sp->sk_state, sk_state 1530 net/ipx/af_ipx.c sk->sk_state = TCP_CLOSE; sk_state 1572 net/ipx/af_ipx.c sk->sk_state = TCP_ESTABLISHED; sk_state 1596 net/ipx/af_ipx.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1737 net/ipx/af_ipx.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 271 net/ipx/ipx_proc.c if (s->sk_state != TCP_ESTABLISHED) sk_state 285 net/ipx/ipx_proc.c s->sk_state, SOCK_INODE(s->sk_socket)->i_uid); sk_state 134 net/irda/af_irda.c if (!sock_flag(sk, SOCK_DEAD) && sk->sk_state != TCP_CLOSE) { sk_state 135 net/irda/af_irda.c sk->sk_state = TCP_CLOSE; sk_state 229 net/irda/af_irda.c sk->sk_state = TCP_ESTABLISHED; sk_state 718 net/irda/af_irda.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 756 net/irda/af_irda.c if (sk->sk_state != TCP_LISTEN) { sk_state 758 net/irda/af_irda.c sk->sk_state = TCP_LISTEN; sk_state 799 net/irda/af_irda.c sk->sk_state = TCP_ESTABLISHED; sk_state 854 net/irda/af_irda.c if (sk->sk_state != TCP_LISTEN) sk_state 889 net/irda/af_irda.c newsk->sk_state = TCP_ESTABLISHED; sk_state 963 net/irda/af_irda.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { sk_state 968 net/irda/af_irda.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { sk_state 973 net/irda/af_irda.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 976 net/irda/af_irda.c sk->sk_state = TCP_CLOSE; sk_state 1021 net/irda/af_irda.c sk->sk_state = TCP_SYN_SENT; sk_state 1033 net/irda/af_irda.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) sk_state 1037 net/irda/af_irda.c (sk->sk_state != TCP_SYN_SENT))) sk_state 1040 net/irda/af_irda.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1197 net/irda/af_irda.c sk->sk_state = TCP_CLOSE; sk_state 1269 net/irda/af_irda.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1277 net/irda/af_irda.c (self->tx_flow != FLOW_STOP || sk->sk_state != TCP_ESTABLISHED))) sk_state 1281 net/irda/af_irda.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1431 net/irda/af_irda.c else if (sk->sk_state != TCP_ESTABLISHED) sk_state 1521 net/irda/af_irda.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1612 net/irda/af_irda.c (sk->sk_state != TCP_ESTABLISHED)) { sk_state 1668 net/irda/af_irda.c sk->sk_state = TCP_CLOSE; sk_state 1723 net/irda/af_irda.c if (sk->sk_state == TCP_CLOSE) { sk_state 1728 net/irda/af_irda.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 126 net/iucv/af_iucv.c parent->sk_state = IUCV_CLOSED; sk_state 152 net/iucv/af_iucv.c switch (sk->sk_state) { sk_state 161 net/iucv/af_iucv.c sk->sk_state = IUCV_CLOSING; sk_state 172 net/iucv/af_iucv.c sk->sk_state = IUCV_CLOSED; sk_state 232 net/iucv/af_iucv.c sk->sk_state = IUCV_OPEN; sk_state 309 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CLOSED) { sk_state 315 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CONNECTED || sk_state 316 net/iucv/af_iucv.c sk->sk_state == IUCV_SEVERED || sk_state 322 net/iucv/af_iucv.c if (sk->sk_state == IUCV_SEVERED) sk_state 323 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 341 net/iucv/af_iucv.c while (sk->sk_state != state && sk->sk_state != state2) { sk_state 381 net/iucv/af_iucv.c if (sk->sk_state != IUCV_OPEN) { sk_state 403 net/iucv/af_iucv.c sk->sk_state = IUCV_BOUND; sk_state 457 net/iucv/af_iucv.c if (sk->sk_state != IUCV_OPEN && sk->sk_state != IUCV_BOUND) sk_state 465 net/iucv/af_iucv.c if (sk->sk_state == IUCV_OPEN) { sk_state 498 net/iucv/af_iucv.c if (sk->sk_state != IUCV_CONNECTED) { sk_state 503 net/iucv/af_iucv.c if (sk->sk_state == IUCV_DISCONN) { sk_state 521 net/iucv/af_iucv.c if (sk->sk_state != IUCV_BOUND || sock->type != SOCK_STREAM) sk_state 526 net/iucv/af_iucv.c sk->sk_state = IUCV_LISTEN; sk_state 545 net/iucv/af_iucv.c if (sk->sk_state != IUCV_LISTEN) { sk_state 565 net/iucv/af_iucv.c if (sk->sk_state != IUCV_LISTEN) { sk_state 635 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CONNECTED) { sk_state 770 net/iucv/af_iucv.c if ((sk->sk_state == IUCV_DISCONN || sk->sk_state == IUCV_SEVERED) && sk_state 844 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CONNECTED) sk_state 859 net/iucv/af_iucv.c if (sk->sk_state == IUCV_LISTEN) sk_state 875 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CLOSED) sk_state 878 net/iucv/af_iucv.c if (sk->sk_state == IUCV_DISCONN || sk->sk_state == IUCV_SEVERED) sk_state 903 net/iucv/af_iucv.c switch (sk->sk_state) { sk_state 990 net/iucv/af_iucv.c if (sk->sk_state == IUCV_LISTEN && sk_state 1010 net/iucv/af_iucv.c if (sk->sk_state != IUCV_LISTEN) { sk_state 1054 net/iucv/af_iucv.c nsk->sk_state = IUCV_CONNECTED; sk_state 1066 net/iucv/af_iucv.c sk->sk_state = IUCV_CONNECTED; sk_state 1141 net/iucv/af_iucv.c if (sk->sk_state == IUCV_CLOSING) { sk_state 1143 net/iucv/af_iucv.c sk->sk_state = IUCV_CLOSED; sk_state 1155 net/iucv/af_iucv.c sk->sk_state = IUCV_SEVERED; sk_state 1157 net/iucv/af_iucv.c sk->sk_state = IUCV_DISCONN; sk_state 373 net/llc/af_llc.c if (unlikely(sk->sk_state != TCP_ESTABLISHED)) sk_state 431 net/llc/af_llc.c sk->sk_state = TCP_SYN_SENT; sk_state 438 net/llc/af_llc.c sk->sk_state = TCP_CLOSE; sk_state 442 net/llc/af_llc.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 453 net/llc/af_llc.c if (sk->sk_state == TCP_CLOSE) sk_state 493 net/llc/af_llc.c if (sk->sk_state != TCP_LISTEN) { sk_state 495 net/llc/af_llc.c sk->sk_state = TCP_LISTEN; sk_state 510 net/llc/af_llc.c if (sk_wait_event(sk, &timeout, sk->sk_state == TCP_CLOSE)) sk_state 530 net/llc/af_llc.c if (sk_wait_event(sk, &timeout, sk->sk_state != TCP_SYN_SENT)) sk_state 615 net/llc/af_llc.c sk->sk_state != TCP_LISTEN)) sk_state 634 net/llc/af_llc.c newsk->sk_state = TCP_ESTABLISHED; sk_state 642 net/llc/af_llc.c sk->sk_state = TCP_LISTEN; sk_state 680 net/llc/af_llc.c if (unlikely(sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_LISTEN)) sk_state 723 net/llc/af_llc.c sk->sk_state == TCP_CLOSE || sk_state 739 net/llc/af_llc.c if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSE) { sk_state 925 net/llc/af_llc.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 118 net/llc/llc_conn.c sk->sk_state == TCP_ESTABLISHED) { sk_state 121 net/llc/llc_conn.c sk->sk_state = TCP_CLOSE; sk_state 157 net/llc/llc_conn.c sk->sk_state == TCP_SYN_SENT) { sk_state 160 net/llc/llc_conn.c sk->sk_state = TCP_CLOSE; sk_state 163 net/llc/llc_conn.c sk->sk_state = TCP_ESTABLISHED; sk_state 170 net/llc/llc_conn.c if (sk->sk_type == SOCK_STREAM && sk->sk_state == TCP_CLOSING) { sk_state 172 net/llc/llc_conn.c sk->sk_state = TCP_CLOSE; sk_state 544 net/llc/llc_conn.c if (rc->sk_type == SOCK_STREAM && rc->sk_state == TCP_LISTEN && sk_state 743 net/llc/llc_conn.c if (unlikely(sk->sk_state == TCP_LISTEN)) { sk_state 92 net/llc/llc_if.c if (existing->sk_state == TCP_ESTABLISHED) { sk_state 131 net/llc/llc_if.c if (sk->sk_type != SOCK_STREAM || sk->sk_state != TCP_ESTABLISHED || sk_state 143 net/llc/llc_if.c sk->sk_state = TCP_CLOSING; sk_state 140 net/llc/llc_proc.c sk->sk_state, sk_state 217 net/llc/llc_sap.c if (skb->sk->sk_state == TCP_LISTEN) sk_state 665 net/netlink/af_netlink.c sk->sk_state = NETLINK_UNCONNECTED; sk_state 681 net/netlink/af_netlink.c sk->sk_state = NETLINK_CONNECTED; sk_state 729 net/netlink/af_netlink.c if (sock->sk_state == NETLINK_CONNECTED && sk_state 157 net/netrom/af_netrom.c s->sk_state == TCP_LISTEN) { sk_state 411 net/netrom/af_netrom.c if (sk->sk_state != TCP_LISTEN) { sk_state 414 net/netrom/af_netrom.c sk->sk_state = TCP_LISTEN; sk_state 496 net/netrom/af_netrom.c sk->sk_state = TCP_ESTABLISHED; sk_state 549 net/netrom/af_netrom.c sk->sk_state = TCP_CLOSE; sk_state 650 net/netrom/af_netrom.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { sk_state 655 net/netrom/af_netrom.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { sk_state 661 net/netrom/af_netrom.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 666 net/netrom/af_netrom.c sk->sk_state = TCP_CLOSE; sk_state 719 net/netrom/af_netrom.c sk->sk_state = TCP_SYN_SENT; sk_state 728 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { sk_state 737 net/netrom/af_netrom.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 743 net/netrom/af_netrom.c if (sk->sk_state != TCP_SYN_SENT) sk_state 759 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 790 net/netrom/af_netrom.c if (sk->sk_state != TCP_LISTEN) { sk_state 844 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 970 net/netrom/af_netrom.c make->sk_state = TCP_ESTABLISHED; sk_state 1075 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1127 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1156 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 92 net/netrom/nr_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 273 net/netrom/nr_subr.c sk->sk_state = TCP_CLOSE; sk_state 128 net/netrom/nr_timer.c (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { sk_state 195 net/netrom/nr_timer.c sk->sk_state = TCP_CLOSE; sk_state 78 net/phonet/pep-gprs.c if (sk->sk_state == TCP_CLOSE_WAIT) { sk_state 303 net/phonet/pep-gprs.c if (unlikely((1 << sk->sk_state & (TCPF_CLOSE|TCPF_LISTEN)) || sk_state 203 net/phonet/pep.c BUG_ON(sk->sk_state != TCP_ESTABLISHED); sk_state 313 net/phonet/pep.c BUG_ON(sk->sk_state == TCP_CLOSE_WAIT); sk_state 322 net/phonet/pep.c sk->sk_state = TCP_CLOSE_WAIT; sk_state 396 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 398 net/phonet/pep.c sk->sk_state = TCP_ESTABLISHED; sk_state 403 net/phonet/pep.c sk->sk_state = TCP_SYN_RECV; sk_state 462 net/phonet/pep.c if (unlikely(sk->sk_state != TCP_LISTEN) || sk_acceptq_is_full(sk)) { sk_state 496 net/phonet/pep.c newsk->sk_state = TCP_SYN_RECV; sk_state 539 net/phonet/pep.c if (sknode->sk_state == TCP_CLOSE_WAIT) sk_state 621 net/phonet/pep.c if (sk->sk_state == TCP_LISTEN) { sk_state 628 net/phonet/pep.c sk->sk_state = TCP_CLOSE; sk_state 647 net/phonet/pep.c if (sk->sk_state != TCP_LISTEN) sk_state 711 net/phonet/pep.c if (sk->sk_state == TCP_LISTEN) sk_state 850 net/phonet/pep.c if ((1 << sk->sk_state) & (TCPF_LISTEN|TCPF_CLOSE)) { sk_state 854 net/phonet/pep.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 861 net/phonet/pep.c if (sk->sk_state == TCP_CLOSE_WAIT) { sk_state 866 net/phonet/pep.c BUG_ON(sk->sk_state != TCP_ESTABLISHED); sk_state 887 net/phonet/pep.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 898 net/phonet/pep.c if (sk->sk_state != TCP_ESTABLISHED || !pn->tx_credits) sk_state 920 net/phonet/pep.c return (sk->sk_state == TCP_ESTABLISHED) ? pn->tx_credits : 0; sk_state 955 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 967 net/phonet/pep.c if (unlikely(1 << sk->sk_state & (TCPF_LISTEN | TCPF_CLOSE))) sk_state 988 net/phonet/pep.c if (err == -ENOTCONN && sk->sk_state == TCP_CLOSE_WAIT) sk_state 994 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 1018 net/phonet/pep.c if ((1 << sk->sk_state) & ~(TCPF_CLOSE|TCPF_LISTEN)) { sk_state 137 net/phonet/socket.c if (sk->sk_state != TCP_CLOSE || pn_port(pn->sobject)) { sk_state 214 net/phonet/socket.c switch (sk->sk_state) { sk_state 225 net/phonet/socket.c if (!mask && sk->sk_state == TCP_CLOSE_WAIT) sk_state 228 net/phonet/socket.c if (sk->sk_state == TCP_ESTABLISHED && pn->tx_credits) sk_state 283 net/phonet/socket.c if (sk->sk_state != TCP_CLOSE) { sk_state 288 net/phonet/socket.c sk->sk_state = TCP_LISTEN; sk_state 259 net/rose/af_rose.c !rose->source_ndigis && s->sk_state == TCP_LISTEN) sk_state 268 net/rose/af_rose.c s->sk_state == TCP_LISTEN) sk_state 497 net/rose/af_rose.c if (sk->sk_state != TCP_LISTEN) { sk_state 505 net/rose/af_rose.c sk->sk_state = TCP_LISTEN; sk_state 587 net/rose/af_rose.c sk->sk_state = TCP_ESTABLISHED; sk_state 643 net/rose/af_rose.c sk->sk_state = TCP_CLOSE; sk_state 752 net/rose/af_rose.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { sk_state 758 net/rose/af_rose.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { sk_state 764 net/rose/af_rose.c if (sk->sk_state == TCP_ESTABLISHED) { sk_state 770 net/rose/af_rose.c sk->sk_state = TCP_CLOSE; sk_state 825 net/rose/af_rose.c sk->sk_state = TCP_SYN_SENT; sk_state 836 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { sk_state 845 net/rose/af_rose.c if (sk->sk_state == TCP_SYN_SENT) { sk_state 851 net/rose/af_rose.c if (sk->sk_state != TCP_SYN_SENT) sk_state 868 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 905 net/rose/af_rose.c if (sk->sk_state != TCP_LISTEN) { sk_state 961 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1016 net/rose/af_rose.c make->sk_state = TCP_ESTABLISHED; sk_state 1108 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1172 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 1249 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 54 net/rose/rose_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 913 net/rose/rose_route.c sk->sk_state = TCP_CLOSE; sk_state 511 net/rose/rose_subr.c sk->sk_state = TCP_CLOSE; sk_state 140 net/rose/rose_timer.c (sk->sk_state == TCP_LISTEN && sock_flag(sk, SOCK_DEAD))) { sk_state 208 net/rose/rose_timer.c sk->sk_state = TCP_CLOSE; sk_state 135 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNCONNECTED) { sk_state 162 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_SERVER_BOUND; sk_state 164 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_CLIENT_BOUND; sk_state 194 net/rxrpc/af_rxrpc.c switch (rx->sk.sk_state) { sk_state 206 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_SERVER_LISTENING; sk_state 232 net/rxrpc/af_rxrpc.c ASSERT(rx->sk.sk_state > RXRPC_UNCONNECTED); sk_state 388 net/rxrpc/af_rxrpc.c switch (rx->sk.sk_state) { sk_state 403 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_CLIENT_BOUND; sk_state 424 net/rxrpc/af_rxrpc.c rx->sk.sk_state = RXRPC_CLIENT_CONNECTED; sk_state 446 net/rxrpc/af_rxrpc.c _enter(",{%d},,%zu", rx->sk.sk_state, len); sk_state 477 net/rxrpc/af_rxrpc.c switch (rx->sk.sk_state) { sk_state 527 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNCONNECTED) sk_state 537 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNCONNECTED) sk_state 547 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNCONNECTED) sk_state 557 net/rxrpc/af_rxrpc.c if (rx->sk.sk_state != RXRPC_UNCONNECTED) sk_state 635 net/rxrpc/af_rxrpc.c sk->sk_state = RXRPC_UNCONNECTED; sk_state 680 net/rxrpc/af_rxrpc.c _enter("%p{%d,%d}", sk, sk->sk_state, atomic_read(&sk->sk_refcnt)); sk_state 687 net/rxrpc/af_rxrpc.c sk->sk_state = RXRPC_CLOSE; sk_state 127 net/rxrpc/ar-accept.c if (rx->sk.sk_state == RXRPC_CLOSE) sk_state 256 net/rxrpc/ar-accept.c rx->sk.sk_state != RXRPC_CLOSE) sk_state 134 net/rxrpc/ar-connection.c if (!rx->bundle && rx->sk.sk_state == RXRPC_CLIENT_CONNECTED) { sk_state 146 net/rxrpc/ar-connection.c if (!rx->bundle && rx->sk.sk_state == RXRPC_CLIENT_CONNECTED) { sk_state 159 net/rxrpc/ar-connection.c if (!rx->bundle && rx->sk.sk_state == RXRPC_CLIENT_CONNECTED) { sk_state 89 net/rxrpc/ar-input.c call->socket->sk.sk_state != RXRPC_CLOSE) { sk_state 76 net/rxrpc/ar-recvmsg.c if (rx->sk.sk_state != RXRPC_SERVER_LISTENING) { sk_state 284 net/sched/em_meta.c dst->value = skb->sk->sk_state; sk_state 240 net/sctp/endpointola.c ep->base.sk->sk_state = SCTP_SS_CLOSED; sk_state 217 net/sctp/proc.c sctp_sk(sk)->type, sk->sk_state, hash, sk_state 323 net/sctp/proc.c assoc, sk, sctp_sk(sk)->type, sk->sk_state, sk_state 712 net/sctp/sm_sideeffect.c sk->sk_state = SCTP_SS_ESTABLISHED; sk_state 5623 net/sctp/socket.c sk->sk_state != SCTP_SS_LISTENING) sk_state 5642 net/sctp/socket.c sk2->sk_state != SCTP_SS_LISTENING)) sk_state 5664 net/sctp/socket.c if (sk->sk_reuse && sk->sk_state != SCTP_SS_LISTENING) sk_state 5669 net/sctp/socket.c (!sk->sk_reuse || sk->sk_state == SCTP_SS_LISTENING)) sk_state 5735 net/sctp/socket.c sk->sk_state = SCTP_SS_CLOSED; sk_state 5755 net/sctp/socket.c sk->sk_state = SCTP_SS_LISTENING; sk_state 5761 net/sctp/socket.c sk->sk_state = SCTP_SS_CLOSED; sk_state 5788 net/sctp/socket.c sk->sk_state = SCTP_SS_CLOSED; sk_state 5805 net/sctp/socket.c sk->sk_state = SCTP_SS_LISTENING; sk_state 6695 net/sctp/socket.c newsk->sk_state = SCTP_SS_ESTABLISHED; sk_state 650 net/sunrpc/svcsock.c sk, sk->sk_state); sk_state 662 net/sunrpc/svcsock.c if (sk->sk_state == TCP_LISTEN) { sk_state 682 net/sunrpc/svcsock.c sk, sk->sk_state, sk->sk_user_data); sk_state 1052 net/sunrpc/svcsock.c if (sk->sk_state == TCP_LISTEN) { sk_state 1078 net/sunrpc/svcsock.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1119 net/sunrpc/xprtsock.c sk->sk_state, xprt_connected(xprt), sk_state 1123 net/sunrpc/xprtsock.c switch (sk->sk_state) { sk_state 1661 net/sunrpc/xprtsock.c sock->sk->sk_state); sk_state 1720 net/sunrpc/xprtsock.c xprt, -status, xprt_connected(xprt), sock->sk->sk_state); sk_state 389 net/unix/af_unix.c state = sk->sk_state; sk_state 390 net/unix/af_unix.c sk->sk_state = TCP_CLOSE; sk_state 462 net/unix/af_unix.c if (sk->sk_state != TCP_CLOSE && sk->sk_state != TCP_LISTEN) sk_state 467 net/unix/af_unix.c sk->sk_state = TCP_LISTEN; sk_state 1062 net/unix/af_unix.c if (other->sk_state != TCP_LISTEN) sk_state 1090 net/unix/af_unix.c st = sk->sk_state; sk_state 1107 net/unix/af_unix.c if (sk->sk_state != st) { sk_state 1124 net/unix/af_unix.c newsk->sk_state = TCP_ESTABLISHED; sk_state 1147 net/unix/af_unix.c sk->sk_state = TCP_ESTABLISHED; sk_state 1192 net/unix/af_unix.c ska->sk_state = TCP_ESTABLISHED; sk_state 1193 net/unix/af_unix.c skb->sk_state = TCP_ESTABLISHED; sk_state 1212 net/unix/af_unix.c if (sk->sk_state != TCP_LISTEN) sk_state 1491 net/unix/af_unix.c err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; sk_state 1587 net/unix/af_unix.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1743 net/unix/af_unix.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1933 net/unix/af_unix.c if (sk->sk_state == TCP_LISTEN) { sk_state 1982 net/unix/af_unix.c if ((sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) && sk->sk_state == TCP_CLOSE) sk_state 2019 net/unix/af_unix.c if (sk->sk_state == TCP_CLOSE) sk_state 2022 net/unix/af_unix.c if (sk->sk_state == TCP_SYN_SENT) sk_state 2138 net/unix/af_unix.c s->sk_state == TCP_LISTEN ? __SO_ACCEPTCON : 0, sk_state 2141 net/unix/af_unix.c (s->sk_state == TCP_ESTABLISHED ? SS_CONNECTED : SS_UNCONNECTED) : sk_state 2142 net/unix/af_unix.c (s->sk_state == TCP_ESTABLISHED ? SS_CONNECTING : SS_DISCONNECTING), sk_state 205 net/unix/garbage.c if (x->sk_state != TCP_LISTEN) sk_state 256 net/x25/af_x25.c s->sk_state == TCP_LISTEN) { sk_state 456 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN) { sk_state 459 net/x25/af_x25.c sk->sk_state = TCP_LISTEN; sk_state 562 net/x25/af_x25.c sk->sk_state = TCP_ESTABLISHED; sk_state 607 net/x25/af_x25.c sk->sk_state = TCP_CLOSE; sk_state 655 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) { sk_state 677 net/x25/af_x25.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { sk_state 683 net/x25/af_x25.c if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) { sk_state 689 net/x25/af_x25.c if (sk->sk_state == TCP_ESTABLISHED) sk_state 692 net/x25/af_x25.c sk->sk_state = TCP_CLOSE; sk_state 726 net/x25/af_x25.c sk->sk_state = TCP_SYN_SENT; sk_state 737 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) sk_state 792 net/x25/af_x25.c if (!sk || sk->sk_state != TCP_LISTEN) sk_state 830 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 929 net/x25/af_x25.c make->sk_state = TCP_ESTABLISHED; sk_state 1033 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1119 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1175 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 1332 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN && sk_state 1333 net/x25/af_x25.c sk->sk_state != TCP_CLOSE) sk_state 1369 net/x25/af_x25.c if (sk->sk_state != TCP_LISTEN && sk_state 1370 net/x25/af_x25.c sk->sk_state != TCP_CLOSE) sk_state 1418 net/x25/af_x25.c if(sk->sk_state != TCP_CLOSE) sk_state 1434 net/x25/af_x25.c if (sk->sk_state != TCP_CLOSE) sk_state 1443 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) sk_state 104 net/x25/x25_in.c sk->sk_state = TCP_ESTABLISHED; sk_state 344 net/x25/x25_subr.c sk->sk_state = TCP_CLOSE; sk_state 113 net/x25/x25_timer.c (sk->sk_state == TCP_LISTEN &&