Home
last modified time | relevance | path

Searched refs:SHUTDOWN_MASK (Results 1 – 25 of 31) sorted by relevance

12

/linux/net/caif/
H A Dcaif_socket.c228 cf_sk->sk.sk_shutdown = SHUTDOWN_MASK; in caif_ctrl_cb()
239 cf_sk->sk.sk_shutdown = SHUTDOWN_MASK; in caif_ctrl_cb()
478 if (sk->sk_shutdown & SHUTDOWN_MASK) in caif_wait_for_flow_on()
782 if (sk->sk_shutdown & SHUTDOWN_MASK) { in caif_connect()
916 sk->sk_shutdown = SHUTDOWN_MASK; in caif_release()
943 if (sk->sk_shutdown == SHUTDOWN_MASK) in caif_poll()
/linux/net/vmw_vsock/
H A Dvirtio_transport_common.c1213 vsk->peer_shutdown = SHUTDOWN_MASK; in virtio_transport_do_close()
1260 if ((vsk->peer_shutdown & SHUTDOWN_MASK) == SHUTDOWN_MASK) { in virtio_transport_close()
1265 if ((sk->sk_shutdown & SHUTDOWN_MASK) != SHUTDOWN_MASK) in virtio_transport_close()
1266 (void)virtio_transport_shutdown(vsk, SHUTDOWN_MASK); in virtio_transport_close()
1417 if (vsk->peer_shutdown == SHUTDOWN_MASK) { in virtio_transport_recv_connected()
1520 if (sk->sk_shutdown == SHUTDOWN_MASK) { in virtio_transport_recv_listen()
H A Daf_vsock.c821 sk->sk_shutdown = SHUTDOWN_MASK; in __vsock_release()
1001 if ((mode & ~SHUTDOWN_MASK) || !mode) in vsock_shutdown()
1059 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in vsock_poll()
1408 (sk->sk_shutdown != SHUTDOWN_MASK)) { in vsock_connect()
H A Dvmci_transport.c814 vsk->peer_shutdown = SHUTDOWN_MASK; in vmci_transport_handle_detach()
1554 vsk->peer_shutdown = SHUTDOWN_MASK; in vmci_transport_recv_connected()
/linux/net/dccp/
H A Dproto.c141 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_done()
339 if (shutdown == SHUTDOWN_MASK || state == DCCP_CLOSED) in dccp_poll()
1000 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_close()
H A Dinput.c38 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_fin()
/linux/net/rxrpc/
H A Daf_rxrpc.c883 sk->sk_shutdown = SHUTDOWN_MASK; in rxrpc_shutdown()
924 sk->sk_shutdown = SHUTDOWN_MASK; in rxrpc_release_sock()
/linux/net/nfc/
H A Drawsock.c51 sk->sk_shutdown = SHUTDOWN_MASK; in rawsock_report_error()
H A Dllcp_sock.c581 if (sk->sk_shutdown == SHUTDOWN_MASK) in llcp_sock_poll()
/linux/net/iucv/
H A Daf_iucv.c1379 if (sk->sk_shutdown == SHUTDOWN_MASK) in iucv_sock_poll()
1409 if ((how & ~SHUTDOWN_MASK) || !how) in iucv_sock_shutdown()
1424 if ((how == SEND_SHUTDOWN || how == SHUTDOWN_MASK) && in iucv_sock_shutdown()
1449 if (how == RCV_SHUTDOWN || how == SHUTDOWN_MASK) { in iucv_sock_shutdown()
/linux/net/smc/
H A Dsmc_rx.c46 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in smc_rx_wake_up()
H A Daf_smc.c279 sk->sk_shutdown |= SHUTDOWN_MASK; in __smc_release()
2873 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in smc_poll()
2951 if (sk->sk_shutdown == SHUTDOWN_MASK) { in smc_shutdown()
/linux/net/unix/
H A Daf_unix.c683 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in unix_release_sock()
705 WRITE_ONCE(skpair->sk_shutdown, SHUTDOWN_MASK); in unix_release_sock()
3070 if (peer_mode == SHUTDOWN_MASK) in unix_shutdown()
3225 if (shutdown == SHUTDOWN_MASK) in unix_poll()
3277 if (shutdown == SHUTDOWN_MASK) in unix_dgram_poll()
/linux/net/core/
H A Ddatagram.c901 if (shutdown == SHUTDOWN_MASK) in datagram_poll()
/linux/net/bluetooth/
H A Daf_bluetooth.c543 if (sk->sk_shutdown == SHUTDOWN_MASK) in bt_sock_poll()
H A Diso.c1767 if (sk->sk_shutdown & SHUTDOWN_MASK) in iso_sock_shutdown()
1769 sk->sk_shutdown |= SHUTDOWN_MASK; in iso_sock_shutdown()
H A Dsco.c1274 sk->sk_shutdown = SHUTDOWN_MASK; in sco_sock_shutdown()
/linux/drivers/vhost/
H A Dvsock.c720 vsk->peer_shutdown = SHUTDOWN_MASK; in vhost_vsock_reset_orphans()
/linux/net/llc/
H A Dllc_conn.c105 sk->sk_shutdown = SHUTDOWN_MASK; in llc_conn_state_process()
/linux/net/mptcp/
H A Dprotocol.c408 if (sk->sk_shutdown == SHUTDOWN_MASK || in mptcp_close_wake_up()
2629 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in mptcp_check_fastclose()
3099 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in __mptcp_close()
4048 if (shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in mptcp_poll()
/linux/net/bluetooth/rfcomm/
H A Dsock.c897 sk->sk_shutdown = SHUTDOWN_MASK; in rfcomm_sock_shutdown()
/linux/net/qrtr/
H A Daf_qrtr.c1216 sk->sk_shutdown = SHUTDOWN_MASK; in qrtr_release()
/linux/net/tipc/
H A Dsocket.c641 sk->sk_shutdown = SHUTDOWN_MASK; in tipc_release()
801 if (sk->sk_shutdown == SHUTDOWN_MASK) in tipc_poll()
2806 sk->sk_shutdown = SHUTDOWN_MASK; in tipc_shutdown()
/linux/net/sctp/
H A Dsm_sideeffect.c941 (!asoc->temp) && (sk->sk_shutdown != SHUTDOWN_MASK)) in sctp_cmd_delete_tcb()
/linux/net/ipv4/
H A Dtcp.c560 if (shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in tcp_poll()
3053 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in __tcp_close()
4866 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in tcp_done()

12