Home
last modified time | relevance | path

Searched refs:shutdown (Results 1 – 25 of 68) sorted by relevance

123

/net/core/
Ddatagram.c818 u8 shutdown; in datagram_poll() local
829 shutdown = READ_ONCE(sk->sk_shutdown); in datagram_poll()
830 if (shutdown & RCV_SHUTDOWN) in datagram_poll()
832 if (shutdown == SHUTDOWN_MASK) in datagram_poll()
/net/dccp/
Dproto.c320 u8 shutdown; in dccp_poll() local
337 shutdown = READ_ONCE(sk->sk_shutdown); in dccp_poll()
339 if (shutdown == SHUTDOWN_MASK || state == DCCP_CLOSED) in dccp_poll()
341 if (shutdown & RCV_SHUTDOWN) in dccp_poll()
349 if (!(shutdown & SEND_SHUTDOWN)) { in dccp_poll()
Dipv4.c976 .shutdown = dccp_shutdown,
1009 .shutdown = inet_shutdown,
Dipv6.c1057 .shutdown = dccp_shutdown,
1088 .shutdown = inet_shutdown,
/net/nfc/
Drawsock.c280 .shutdown = sock_no_shutdown,
298 .shutdown = sock_no_shutdown,
Dllcp_sock.c929 .shutdown = sock_no_shutdown,
949 .shutdown = sock_no_shutdown,
/net/unix/
Daf_unix.c852 .shutdown = unix_shutdown,
877 .shutdown = unix_shutdown,
901 .shutdown = unix_shutdown,
3114 u8 shutdown; in unix_poll() local
3118 shutdown = READ_ONCE(sk->sk_shutdown); in unix_poll()
3124 if (shutdown == SHUTDOWN_MASK) in unix_poll()
3126 if (shutdown & RCV_SHUTDOWN) in unix_poll()
3161 u8 shutdown; in unix_dgram_poll() local
3165 shutdown = READ_ONCE(sk->sk_shutdown); in unix_dgram_poll()
3174 if (shutdown & RCV_SHUTDOWN) in unix_dgram_poll()
[all …]
/net/vmw_vsock/
Dvsock_loopback.c61 .shutdown = virtio_transport_shutdown,
Daf_vsock.c575 return vsk->transport->shutdown(vsk, mode); in vsock_send_shutdown()
1310 .shutdown = vsock_shutdown,
2249 .shutdown = vsock_shutdown,
2271 .shutdown = vsock_shutdown,
/net/atm/
Dpvc.c123 .shutdown = pvc_shutdown,
/net/sunrpc/
Drpcb_clnt.c183 int shutdown = 0; in rpcb_put_local() local
191 shutdown = !sn->rpcb_users; in rpcb_put_local()
195 if (shutdown) { in rpcb_put_local()
/net/rds/
Dtcp_connect.c215 sock->ops->shutdown(sock, RCV_SHUTDOWN | SEND_SHUTDOWN); in rds_tcp_conn_path_shutdown()
/net/bluetooth/bnep/
Dsock.c185 .shutdown = sock_no_shutdown,
/net/bluetooth/cmtp/
Dsock.c187 .shutdown = sock_no_shutdown,
/net/ipv4/
Daf_inet.c930 if (sk->sk_prot->shutdown) in inet_shutdown()
931 sk->sk_prot->shutdown(sk, how); in inet_shutdown()
1073 .shutdown = inet_shutdown,
1107 .shutdown = inet_shutdown,
1139 .shutdown = inet_shutdown,
/net/phonet/
Dsocket.c440 .shutdown = sock_no_shutdown,
458 .shutdown = sock_no_shutdown,
/net/tls/
Dtls_main.c413 u8 shutdown; in tls_sk_poll() local
419 shutdown = READ_ONCE(sk->sk_shutdown); in tls_sk_poll()
420 if (unlikely(state != TCP_ESTABLISHED || shutdown & RCV_SHUTDOWN)) in tls_sk_poll()
/net/bluetooth/hidp/
Dsock.c236 .shutdown = sock_no_shutdown,
/net/iucv/
Daf_iucv.c358 u8 shutdown = 0; in iucv_send_ctrl() local
364 shutdown = sk->sk_shutdown; in iucv_send_ctrl()
372 if (shutdown) in iucv_send_ctrl()
373 sk->sk_shutdown = shutdown; in iucv_send_ctrl()
2220 .shutdown = iucv_sock_shutdown,
/net/mptcp/
Dprotocol.c3762 .shutdown = mptcp_shutdown,
3960 u8 shutdown; in mptcp_poll() local
3977 shutdown = READ_ONCE(sk->sk_shutdown); in mptcp_poll()
3978 if (shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in mptcp_poll()
3980 if (shutdown & RCV_SHUTDOWN) in mptcp_poll()
3985 if (shutdown & SEND_SHUTDOWN) in mptcp_poll()
4016 .shutdown = inet_shutdown,
4115 .shutdown = inet_shutdown,
/net/ieee802154/
Dsocket.c423 .shutdown = sock_no_shutdown,
985 .shutdown = sock_no_shutdown,
/net/caif/
Dcaif_socket.c974 .shutdown = sock_no_shutdown,
993 .shutdown = sock_no_shutdown,
/net/ipv6/
Daf_inet6.c704 .shutdown = inet_shutdown, /* ok */
737 .shutdown = inet_shutdown, /* ok */
/net/l2tp/
Dl2tp_ip.c621 .shutdown = inet_shutdown,
/net/mctp/
Daf_mctp.c482 .shutdown = sock_no_shutdown,

123