Home
last modified time | relevance | path

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

12

/openbmc/linux/net/vmw_vsock/
H A Dhyperv_transport.c267 vsk->peer_shutdown = SHUTDOWN_MASK; in hvs_do_close_lock_held()
520 if ((sk->sk_shutdown & SHUTDOWN_MASK) != SHUTDOWN_MASK) in hvs_close_lock_held()
521 hvs_shutdown_lock_held(vsk->trans, SHUTDOWN_MASK); in hvs_close_lock_held()
H A Dvirtio_transport_common.c1012 vsk->peer_shutdown = SHUTDOWN_MASK; in virtio_transport_do_close()
1059 if ((vsk->peer_shutdown & SHUTDOWN_MASK) == SHUTDOWN_MASK) { in virtio_transport_close()
1064 if ((sk->sk_shutdown & SHUTDOWN_MASK) != SHUTDOWN_MASK) in virtio_transport_close()
1065 (void)virtio_transport_shutdown(vsk, SHUTDOWN_MASK); in virtio_transport_close()
1216 if (vsk->peer_shutdown == SHUTDOWN_MASK) { in virtio_transport_recv_connected()
H A Daf_vsock.c819 sk->sk_shutdown = SHUTDOWN_MASK; in __vsock_release()
984 if ((mode & ~SHUTDOWN_MASK) || !mode) in vsock_shutdown()
1042 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in vsock_poll()
1337 (sk->sk_shutdown != SHUTDOWN_MASK)) { in vsock_connect_timeout()
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()
/openbmc/linux/net/caif/
H A Dcaif_socket.c227 cf_sk->sk.sk_shutdown = SHUTDOWN_MASK; in caif_ctrl_cb()
238 cf_sk->sk.sk_shutdown = SHUTDOWN_MASK; in caif_ctrl_cb()
477 if (sk->sk_shutdown & SHUTDOWN_MASK) in caif_wait_for_flow_on()
781 if (sk->sk_shutdown & SHUTDOWN_MASK) { in caif_connect()
915 sk->sk_shutdown = SHUTDOWN_MASK; in caif_release()
942 if (sk->sk_shutdown == SHUTDOWN_MASK) in caif_poll()
/openbmc/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()
/openbmc/linux/net/rxrpc/
H A Daf_rxrpc.c836 sk->sk_shutdown = SHUTDOWN_MASK; in rxrpc_shutdown()
877 sk->sk_shutdown = SHUTDOWN_MASK; in rxrpc_release_sock()
/openbmc/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()
/openbmc/linux/net/iucv/
H A Daf_iucv.c1373 if (sk->sk_shutdown == SHUTDOWN_MASK) in iucv_sock_poll()
1403 if ((how & ~SHUTDOWN_MASK) || !how) in iucv_sock_shutdown()
1418 if ((how == SEND_SHUTDOWN || how == SHUTDOWN_MASK) && in iucv_sock_shutdown()
1443 if (how == RCV_SHUTDOWN || how == SHUTDOWN_MASK) { in iucv_sock_shutdown()
/openbmc/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()
2827 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in smc_poll()
2898 if (sk->sk_shutdown == SHUTDOWN_MASK) { in smc_shutdown()
/openbmc/linux/net/unix/
H A Daf_unix.c609 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in unix_release_sock()
634 WRITE_ONCE(skpair->sk_shutdown, SHUTDOWN_MASK); in unix_release_sock()
2977 if (peer_mode == SHUTDOWN_MASK) in unix_shutdown()
3117 if (shutdown == SHUTDOWN_MASK) in unix_poll()
3169 if (shutdown == SHUTDOWN_MASK) in unix_dgram_poll()
/openbmc/linux/net/core/
H A Ddatagram.c832 if (shutdown == SHUTDOWN_MASK) in datagram_poll()
/openbmc/linux/net/bluetooth/
H A Daf_bluetooth.c521 if (sk->sk_shutdown == SHUTDOWN_MASK) in bt_sock_poll()
H A Diso.c1528 if (sk->sk_shutdown & SHUTDOWN_MASK) in iso_sock_shutdown()
1530 sk->sk_shutdown |= SHUTDOWN_MASK; in iso_sock_shutdown()
H A Dsco.c1222 sk->sk_shutdown = SHUTDOWN_MASK; in sco_sock_shutdown()
/openbmc/linux/drivers/vhost/
H A Dvsock.c707 vsk->peer_shutdown = SHUTDOWN_MASK; in vhost_vsock_reset_orphans()
/openbmc/linux/net/llc/
H A Dllc_conn.c105 sk->sk_shutdown = SHUTDOWN_MASK; in llc_conn_state_process()
/openbmc/linux/net/mptcp/
H A Dprotocol.c410 if (sk->sk_shutdown == SHUTDOWN_MASK || in mptcp_close_wake_up()
2586 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in mptcp_check_fastclose()
3050 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in __mptcp_close()
4005 if (shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in mptcp_poll()
/openbmc/linux/net/bluetooth/rfcomm/
H A Dsock.c896 sk->sk_shutdown = SHUTDOWN_MASK; in rfcomm_sock_shutdown()
/openbmc/linux/net/qrtr/
H A Daf_qrtr.c1216 sk->sk_shutdown = SHUTDOWN_MASK; in qrtr_release()
/openbmc/linux/net/tipc/
H A Dsocket.c644 sk->sk_shutdown = SHUTDOWN_MASK; in tipc_release()
804 if (sk->sk_shutdown == SHUTDOWN_MASK) in tipc_poll()
2812 sk->sk_shutdown = SHUTDOWN_MASK; in tipc_shutdown()
/openbmc/linux/net/ipv4/
H A Dtcp.c546 if (shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in tcp_poll()
2774 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in __tcp_close()
4568 WRITE_ONCE(sk->sk_shutdown, SHUTDOWN_MASK); in tcp_done()

12