Home
last modified time | relevance | path

Searched refs:sk_shutdown (Results 1 – 25 of 72) sorted by relevance

123

/kernel/linux/linux-5.10/net/caif/
Dcaif_socket.c218 cf_sk->sk.sk_shutdown = 0; in caif_ctrl_cb()
232 cf_sk->sk.sk_shutdown = SHUTDOWN_MASK; in caif_ctrl_cb()
243 cf_sk->sk.sk_shutdown = SHUTDOWN_MASK; in caif_ctrl_cb()
321 (sk->sk_shutdown & RCV_SHUTDOWN) || in caif_stream_data_wait()
394 if (sk->sk_shutdown & RCV_SHUTDOWN) in caif_stream_recvmsg()
482 if (sk->sk_shutdown & SHUTDOWN_MASK) in caif_wait_for_flow_on()
556 (sk->sk_shutdown & RCV_SHUTDOWN)) in caif_seqpkt_sendmsg()
614 if (unlikely(sk->sk_shutdown & SEND_SHUTDOWN)) in caif_stream_sendmsg()
790 if (sk->sk_shutdown & SHUTDOWN_MASK) { in caif_connect()
924 sk->sk_shutdown = SHUTDOWN_MASK; in caif_release()
[all …]
/kernel/linux/linux-5.10/net/core/
Dstream.c43 if (wq && wq->fasync_list && !(sk->sk_shutdown & SEND_SHUTDOWN)) in sk_stream_write_space()
133 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in sk_stream_wait_memory()
146 (sk->sk_shutdown & SEND_SHUTDOWN) || in sk_stream_wait_memory()
Ddatagram.c106 if (sk->sk_shutdown & RCV_SHUTDOWN) in __skb_wait_for_more_packets()
811 if (sk->sk_shutdown & RCV_SHUTDOWN) in datagram_poll()
813 if (sk->sk_shutdown == SHUTDOWN_MASK) in datagram_poll()
/kernel/linux/linux-5.10/net/vmw_vsock/
Daf_vsock.c781 sk->sk_shutdown = SHUTDOWN_MASK; in __vsock_release()
949 sk->sk_shutdown |= mode; in vsock_shutdown()
983 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in vsock_poll()
984 ((sk->sk_shutdown & SEND_SHUTDOWN) && in vsock_poll()
989 if (sk->sk_shutdown & RCV_SHUTDOWN || in vsock_poll()
1000 (sk->sk_shutdown & RCV_SHUTDOWN)) { in vsock_poll()
1004 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) in vsock_poll()
1023 !(sk->sk_shutdown & RCV_SHUTDOWN)) { in vsock_poll()
1040 if (sk->sk_shutdown & RCV_SHUTDOWN || in vsock_poll()
1047 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) { in vsock_poll()
[all …]
Ddiag.c36 rep->vdiag_shutdown = sk->sk_shutdown; in sk_diag_fill()
/kernel/linux/linux-5.10/net/smc/
Dsmc_rx.c40 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in smc_rx_wake_up()
208 sk->sk_shutdown & RCV_SHUTDOWN || in smc_rx_wait()
254 if (sk->sk_state == SMC_CLOSED || sk->sk_shutdown & RCV_SHUTDOWN) in smc_rx_recv_urg()
319 if (sk->sk_shutdown & RCV_SHUTDOWN) { in smc_rx_recvmsg()
Dsmc_tx.c55 if (wq && wq->fasync_list && !(sk->sk_shutdown & SEND_SHUTDOWN)) in smc_tx_write_space()
88 (sk->sk_shutdown & SEND_SHUTDOWN) || in smc_tx_wait()
114 (sk->sk_shutdown & SEND_SHUTDOWN) || in smc_tx_wait()
149 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) { in smc_tx_sendmsg()
157 if (smc->sk.sk_shutdown & SEND_SHUTDOWN || in smc_tx_sendmsg()
Daf_smc.c147 sk->sk_shutdown |= SHUTDOWN_MASK; in __smc_release()
2028 if (sk->sk_state == SMC_CLOSED && (sk->sk_shutdown & RCV_SHUTDOWN)) { in smc_recvmsg()
2088 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in smc_poll()
2101 sk->sk_shutdown & SEND_SHUTDOWN) { in smc_poll()
2109 if (sk->sk_shutdown & RCV_SHUTDOWN) in smc_poll()
2147 sk->sk_shutdown = smc->clcsock->sk->sk_shutdown; in smc_shutdown()
2148 if (sk->sk_shutdown == SHUTDOWN_MASK) { in smc_shutdown()
2173 sk->sk_shutdown |= how + 1; in smc_shutdown()
2390 if (sk->sk_state == SMC_CLOSED && (sk->sk_shutdown & RCV_SHUTDOWN)) { in smc_splice_read()
Dsmc_cdc.c367 smc->sk.sk_shutdown |= RCV_SHUTDOWN; in smc_cdc_msg_recv_action()
369 smc->clcsock->sk->sk_shutdown |= RCV_SHUTDOWN; in smc_cdc_msg_recv_action()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c532 sk->sk_shutdown = SHUTDOWN_MASK; in unix_release_sock()
550 skpair->sk_shutdown = SHUTDOWN_MASK; in unix_release_sock()
1238 !(other->sk_shutdown & RCV_SHUTDOWN) && in unix_wait_for_peer()
1312 if (other->sk_shutdown & RCV_SHUTDOWN) in unix_stream_connect()
1816 if (other->sk_shutdown & RCV_SHUTDOWN) in unix_dgram_sendmsg()
1923 if (sk->sk_shutdown & SEND_SHUTDOWN) in unix_stream_sendmsg()
1965 (other->sk_shutdown & RCV_SHUTDOWN)) in unix_stream_sendmsg()
2028 if (sk->sk_shutdown & SEND_SHUTDOWN) { in unix_stream_sendpage()
2037 other->sk_shutdown & RCV_SHUTDOWN) { in unix_stream_sendpage()
2189 (sk->sk_shutdown & RCV_SHUTDOWN)) in unix_dgram_recvmsg()
[all …]
/kernel/linux/linux-5.10/net/bluetooth/
Daf_bluetooth.c268 if (sk->sk_shutdown & RCV_SHUTDOWN) in bt_sock_recvmsg()
314 if (sk->sk_err || (sk->sk_shutdown & RCV_SHUTDOWN)) in bt_sock_data_wait()
362 if (sk->sk_shutdown & RCV_SHUTDOWN) in bt_sock_stream_recvmsg()
468 if (sk->sk_shutdown & RCV_SHUTDOWN) in bt_sock_poll()
471 if (sk->sk_shutdown == SHUTDOWN_MASK) in bt_sock_poll()
Dl2cap_sock.c1325 if ((sk->sk_shutdown & how) == how) in l2cap_sock_shutdown()
1348 if ((sk->sk_shutdown & how) == how) in l2cap_sock_shutdown()
1355 if ((how & RCV_SHUTDOWN) && !(sk->sk_shutdown & RCV_SHUTDOWN)) { in l2cap_sock_shutdown()
1356 sk->sk_shutdown |= RCV_SHUTDOWN; in l2cap_sock_shutdown()
1357 if ((sk->sk_shutdown & how) == how) in l2cap_sock_shutdown()
1361 sk->sk_shutdown |= SEND_SHUTDOWN; in l2cap_sock_shutdown()
1684 sk->sk_shutdown = SHUTDOWN_MASK; in l2cap_sock_set_shutdown_cb()
/kernel/linux/linux-5.10/net/dccp/
Dproto.c141 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_done()
296 sk->sk_shutdown = 0; in dccp_disconnect()
337 if (sk->sk_shutdown == SHUTDOWN_MASK || sk->sk_state == DCCP_CLOSED) in dccp_poll()
339 if (sk->sk_shutdown & RCV_SHUTDOWN) in dccp_poll()
347 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) { in dccp_poll()
859 if (sk->sk_shutdown & RCV_SHUTDOWN) { in dccp_recvmsg()
987 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_close()
Dinput.c38 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_fin()
175 if (!(sk->sk_shutdown & RCV_SHUTDOWN)) in dccp_deliver_input_to_ccids()
181 if (sk->sk_write_queue.qlen > 0 || !(sk->sk_shutdown & SEND_SHUTDOWN)) in dccp_deliver_input_to_ccids()
/kernel/linux/linux-5.10/net/iucv/
Daf_iucv.c386 if (sk->sk_shutdown & SEND_SHUTDOWN) { in iucv_send_ctrl()
388 shutdown = sk->sk_shutdown; in iucv_send_ctrl()
389 sk->sk_shutdown &= RCV_SHUTDOWN; in iucv_send_ctrl()
397 sk->sk_shutdown = shutdown; in iucv_send_ctrl()
951 if (sk->sk_shutdown & SEND_SHUTDOWN) { in iucv_sock_sendmsg()
1263 if (sk->sk_shutdown & RCV_SHUTDOWN) in iucv_sock_recvmsg()
1272 sk->sk_shutdown = sk->sk_shutdown | RCV_SHUTDOWN; in iucv_sock_recvmsg()
1389 if (sk->sk_shutdown & RCV_SHUTDOWN) in iucv_sock_poll()
1392 if (sk->sk_shutdown == SHUTDOWN_MASK) in iucv_sock_poll()
1396 (sk->sk_shutdown & RCV_SHUTDOWN)) in iucv_sock_poll()
[all …]
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip.c497 sk->sk_shutdown = SHUTDOWN_MASK; in tcp_nip_close()
1275 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in tcp_nip_sendmsg()
1412 if (copied > 0 && !time_to_ack && !(sk->sk_shutdown & RCV_SHUTDOWN)) { in tcp_nip_cleanup_rbuf()
1495 (sk->sk_shutdown & RCV_SHUTDOWN) || in tcp_nip_recvmsg()
1508 if (sk->sk_shutdown & RCV_SHUTDOWN) in tcp_nip_recvmsg()
1875 sk->sk_shutdown = SHUTDOWN_MASK; in tcp_nip_done()
1940 sk->sk_shutdown = 0; in tcp_nip_disconnect()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c930 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in csk_wait_memory()
946 (sk->sk_shutdown & SEND_SHUTDOWN) || in csk_wait_memory()
1030 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in chtls_sendmsg()
1478 (sk->sk_shutdown & RCV_SHUTDOWN) || in chtls_pt_recvmsg()
1491 if (sk->sk_shutdown & RCV_SHUTDOWN) in chtls_pt_recvmsg()
1658 if (sk->sk_shutdown & RCV_SHUTDOWN) in peekmsg()
1806 (sk->sk_shutdown & RCV_SHUTDOWN) || in chtls_recvmsg()
1816 if (sk->sk_shutdown & RCV_SHUTDOWN) in chtls_recvmsg()
/kernel/linux/linux-5.10/net/nfc/
Drawsock.c50 sk->sk_shutdown = SHUTDOWN_MASK; in rawsock_report_error()
186 if (sk->sk_shutdown & SEND_SHUTDOWN) { in rawsock_tx_work()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.c355 if (sk->sk_shutdown == SHUTDOWN_MASK || in mptcp_check_data_fin_ack()
420 sk->sk_shutdown |= RCV_SHUTDOWN; in mptcp_check_data_fin()
452 if (sk->sk_shutdown == SHUTDOWN_MASK || in mptcp_check_data_fin()
715 if (!receivers && !(sk->sk_shutdown & RCV_SHUTDOWN)) { in mptcp_check_for_eof()
719 sk->sk_shutdown |= RCV_SHUTDOWN; in mptcp_check_for_eof()
1199 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) { in mptcp_sendmsg()
1546 (sk->sk_shutdown & RCV_SHUTDOWN) || in mptcp_recvmsg()
1559 if (sk->sk_shutdown & RCV_SHUTDOWN) in mptcp_recvmsg()
1915 ssk->sk_shutdown |= how; in mptcp_subflow_shutdown()
1962 sk->sk_shutdown = SHUTDOWN_MASK; in mptcp_close()
[all …]
/kernel/linux/linux-5.10/net/ax25/
Dax25_std_timer.c111 ax25->sk->sk_shutdown |= SEND_SHUTDOWN; in ax25_std_idletimer_expiry()
Dax25_ds_timer.c171 ax25->sk->sk_shutdown |= SEND_SHUTDOWN; in ax25_ds_idletimer_expiry()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp.c550 if (sk->sk_shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in tcp_poll()
552 if (sk->sk_shutdown & RCV_SHUTDOWN) in tcp_poll()
568 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) { in tcp_poll()
815 if (sk->sk_shutdown & RCV_SHUTDOWN) in tcp_splice_read()
851 (sk->sk_shutdown & RCV_SHUTDOWN) || in tcp_splice_read()
998 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in do_tcp_sendpages()
1273 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in tcp_sendmsg_locked()
1492 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in tcp_recv_urg()
1571 if (copied > 0 && !time_to_ack && !(sk->sk_shutdown & RCV_SHUTDOWN)) { in tcp_cleanup_rbuf()
2202 (sk->sk_shutdown & RCV_SHUTDOWN) || in tcp_recvmsg()
[all …]
/kernel/linux/linux-5.10/net/llc/
Daf_llc.c624 (sk->sk_shutdown & RCV_SHUTDOWN) || in llc_ui_wait_for_busy_core()
652 if (sk->sk_shutdown & RCV_SHUTDOWN) in llc_wait_data()
816 (sk->sk_shutdown & RCV_SHUTDOWN) || in llc_ui_recvmsg()
828 if (sk->sk_shutdown & RCV_SHUTDOWN) in llc_ui_recvmsg()
/kernel/linux/linux-5.10/net/netrom/
Dnr_subr.c272 sk->sk_shutdown |= SEND_SHUTDOWN; in nr_disconnect()
/kernel/linux/linux-5.10/net/rose/
Drose_timer.c204 sk->sk_shutdown |= SEND_SHUTDOWN; in rose_idletimer_expiry()

123