/linux-6.1.9/net/caif/ |
D | caif_socket.c | 213 cf_sk->sk.sk_shutdown = 0; in caif_ctrl_cb() 227 cf_sk->sk.sk_shutdown = SHUTDOWN_MASK; in caif_ctrl_cb() 238 cf_sk->sk.sk_shutdown = SHUTDOWN_MASK; in caif_ctrl_cb() 316 (sk->sk_shutdown & RCV_SHUTDOWN) || in caif_stream_data_wait() 389 if (sk->sk_shutdown & RCV_SHUTDOWN) in caif_stream_recvmsg() 477 if (sk->sk_shutdown & SHUTDOWN_MASK) in caif_wait_for_flow_on() 551 (sk->sk_shutdown & RCV_SHUTDOWN)) in caif_seqpkt_sendmsg() 609 if (unlikely(sk->sk_shutdown & SEND_SHUTDOWN)) in caif_stream_sendmsg() 785 if (sk->sk_shutdown & SHUTDOWN_MASK) { in caif_connect() 919 sk->sk_shutdown = SHUTDOWN_MASK; in caif_release() [all …]
|
/linux-6.1.9/net/core/ |
D | stream.c | 43 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()
|
D | datagram.c | 104 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()
|
/linux-6.1.9/net/vmw_vsock/ |
D | af_vsock.c | 815 sk->sk_shutdown = SHUTDOWN_MASK; in __vsock_release() 1003 sk->sk_shutdown |= mode; in vsock_shutdown() 1037 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in vsock_poll() 1038 ((sk->sk_shutdown & SEND_SHUTDOWN) && in vsock_poll() 1043 if (sk->sk_shutdown & RCV_SHUTDOWN || in vsock_poll() 1054 (sk->sk_shutdown & RCV_SHUTDOWN)) { in vsock_poll() 1058 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) in vsock_poll() 1077 !(sk->sk_shutdown & RCV_SHUTDOWN)) { in vsock_poll() 1095 if (sk->sk_shutdown & RCV_SHUTDOWN || in vsock_poll() 1102 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) { in vsock_poll() [all …]
|
D | diag.c | 36 rep->vdiag_shutdown = sk->sk_shutdown; in sk_diag_fill()
|
/linux-6.1.9/net/bluetooth/ |
D | af_bluetooth.c | 269 if (sk->sk_shutdown & RCV_SHUTDOWN) in bt_sock_recvmsg() 315 if (sk->sk_err || (sk->sk_shutdown & RCV_SHUTDOWN)) in bt_sock_data_wait() 363 if (sk->sk_shutdown & RCV_SHUTDOWN) in bt_sock_stream_recvmsg() 469 if (sk->sk_shutdown & RCV_SHUTDOWN) in bt_sock_poll() 472 if (sk->sk_shutdown == SHUTDOWN_MASK) in bt_sock_poll()
|
D | l2cap_sock.c | 1326 if ((sk->sk_shutdown & how) == how) in l2cap_sock_shutdown() 1349 if ((sk->sk_shutdown & how) == how) in l2cap_sock_shutdown() 1356 if ((how & RCV_SHUTDOWN) && !(sk->sk_shutdown & RCV_SHUTDOWN)) { in l2cap_sock_shutdown() 1357 sk->sk_shutdown |= RCV_SHUTDOWN; in l2cap_sock_shutdown() 1358 if ((sk->sk_shutdown & how) == how) in l2cap_sock_shutdown() 1362 sk->sk_shutdown |= SEND_SHUTDOWN; in l2cap_sock_shutdown() 1685 sk->sk_shutdown = SHUTDOWN_MASK; in l2cap_sock_set_shutdown_cb()
|
D | iso.c | 1346 if (sk->sk_shutdown & RCV_SHUTDOWN) in iso_sock_shutdown() 1348 sk->sk_shutdown |= RCV_SHUTDOWN; in iso_sock_shutdown() 1351 if (sk->sk_shutdown & SEND_SHUTDOWN) in iso_sock_shutdown() 1353 sk->sk_shutdown |= SEND_SHUTDOWN; in iso_sock_shutdown() 1356 if (sk->sk_shutdown & SHUTDOWN_MASK) in iso_sock_shutdown() 1358 sk->sk_shutdown |= SHUTDOWN_MASK; in iso_sock_shutdown()
|
/linux-6.1.9/net/iucv/ |
D | af_iucv.c | 362 if (sk->sk_shutdown & SEND_SHUTDOWN) { in iucv_send_ctrl() 364 shutdown = sk->sk_shutdown; in iucv_send_ctrl() 365 sk->sk_shutdown &= RCV_SHUTDOWN; in iucv_send_ctrl() 373 sk->sk_shutdown = shutdown; in iucv_send_ctrl() 928 if (sk->sk_shutdown & SEND_SHUTDOWN) { in iucv_sock_sendmsg() 1244 if (sk->sk_shutdown & RCV_SHUTDOWN) in iucv_sock_recvmsg() 1253 sk->sk_shutdown = sk->sk_shutdown | RCV_SHUTDOWN; in iucv_sock_recvmsg() 1370 if (sk->sk_shutdown & RCV_SHUTDOWN) in iucv_sock_poll() 1373 if (sk->sk_shutdown == SHUTDOWN_MASK) in iucv_sock_poll() 1377 (sk->sk_shutdown & RCV_SHUTDOWN)) in iucv_sock_poll() [all …]
|
/linux-6.1.9/net/smc/ |
D | smc_rx.c | 42 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in smc_rx_wake_up() 268 sk->sk_shutdown & RCV_SHUTDOWN || in smc_rx_wait() 315 if (sk->sk_state == SMC_CLOSED || sk->sk_shutdown & RCV_SHUTDOWN) in smc_rx_recv_urg() 386 if (sk->sk_shutdown & RCV_SHUTDOWN) { in smc_rx_recvmsg()
|
D | smc_tx.c | 58 if (wq && wq->fasync_list && !(sk->sk_shutdown & SEND_SHUTDOWN)) in smc_tx_write_space() 91 (sk->sk_shutdown & SEND_SHUTDOWN) || in smc_tx_wait() 117 (sk->sk_shutdown & SEND_SHUTDOWN) || in smc_tx_wait() 197 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) { in smc_tx_sendmsg() 215 if (smc->sk.sk_shutdown & SEND_SHUTDOWN || in smc_tx_sendmsg()
|
D | smc_cdc.c | 382 smc->sk.sk_shutdown |= RCV_SHUTDOWN; in smc_cdc_msg_recv_action() 384 smc->clcsock->sk->sk_shutdown |= RCV_SHUTDOWN; in smc_cdc_msg_recv_action()
|
/linux-6.1.9/net/dccp/ |
D | proto.c | 141 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_done() 284 sk->sk_shutdown = 0; in dccp_disconnect() 325 if (sk->sk_shutdown == SHUTDOWN_MASK || sk->sk_state == DCCP_CLOSED) in dccp_poll() 327 if (sk->sk_shutdown & RCV_SHUTDOWN) in dccp_poll() 335 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) { in dccp_poll() 847 if (sk->sk_shutdown & RCV_SHUTDOWN) { in dccp_recvmsg() 981 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_close()
|
D | input.c | 38 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()
|
/linux-6.1.9/net/unix/ |
D | af_unix.c | 605 sk->sk_shutdown = SHUTDOWN_MASK; in unix_release_sock() 630 skpair->sk_shutdown = SHUTDOWN_MASK; in unix_release_sock() 1443 !(other->sk_shutdown & RCV_SHUTDOWN) && in unix_wait_for_peer() 1521 if (other->sk_shutdown & RCV_SHUTDOWN) in unix_stream_connect() 2030 if (other->sk_shutdown & RCV_SHUTDOWN) in unix_dgram_sendmsg() 2129 (other->sk_shutdown & RCV_SHUTDOWN)) { in queue_oob() 2190 if (sk->sk_shutdown & SEND_SHUTDOWN) in unix_stream_sendmsg() 2232 (other->sk_shutdown & RCV_SHUTDOWN)) in unix_stream_sendmsg() 2304 if (sk->sk_shutdown & SEND_SHUTDOWN) { in unix_stream_sendpage() 2313 other->sk_shutdown & RCV_SHUTDOWN) { in unix_stream_sendpage() [all …]
|
D | unix_bpf.c | 22 if (sk->sk_shutdown & RCV_SHUTDOWN) in unix_msg_wait_data()
|
/linux-6.1.9/net/mptcp/ |
D | protocol.c | 412 if (sk->sk_shutdown == SHUTDOWN_MASK || in mptcp_close_wake_up() 602 sk->sk_shutdown |= RCV_SHUTDOWN; in mptcp_check_data_fin() 906 if (!(sk->sk_shutdown & RCV_SHUTDOWN)) { in mptcp_check_for_eof() 910 sk->sk_shutdown |= RCV_SHUTDOWN; in mptcp_check_for_eof() 1750 if (unlikely(sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN))) in mptcp_sendmsg() 2071 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in mptcp_inq_hint() 2131 (sk->sk_shutdown & RCV_SHUTDOWN) || in mptcp_recvmsg() 2144 if (sk->sk_shutdown & RCV_SHUTDOWN) { in mptcp_recvmsg() 2492 sk->sk_shutdown = SHUTDOWN_MASK; in mptcp_check_fastclose() 2777 ssk->sk_shutdown |= how; in mptcp_subflow_shutdown() [all …]
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_io.c | 930 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() 1804 (sk->sk_shutdown & RCV_SHUTDOWN) || in chtls_recvmsg() 1814 if (sk->sk_shutdown & RCV_SHUTDOWN) in chtls_recvmsg()
|
/linux-6.1.9/net/nfc/ |
D | rawsock.c | 50 sk->sk_shutdown = SHUTDOWN_MASK; in rawsock_report_error() 186 if (sk->sk_shutdown & SEND_SHUTDOWN) { in rawsock_tx_work()
|
/linux-6.1.9/net/ax25/ |
D | ax25_std_timer.c | 111 ax25->sk->sk_shutdown |= SEND_SHUTDOWN; in ax25_std_idletimer_expiry()
|
D | ax25_ds_timer.c | 171 ax25->sk->sk_shutdown |= SEND_SHUTDOWN; in ax25_ds_idletimer_expiry()
|
/linux-6.1.9/net/ipv4/ |
D | udp_bpf.c | 44 if (sk->sk_shutdown & RCV_SHUTDOWN) in udp_msg_wait_data()
|
D | tcp.c | 543 if (sk->sk_shutdown == SHUTDOWN_MASK || state == TCP_CLOSE) in tcp_poll() 545 if (sk->sk_shutdown & RCV_SHUTDOWN) in tcp_poll() 562 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) { in tcp_poll() 808 if (sk->sk_shutdown & RCV_SHUTDOWN) in tcp_splice_read() 844 (sk->sk_shutdown & RCV_SHUTDOWN) || in tcp_splice_read() 1070 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in do_tcp_sendpages() 1303 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in tcp_sendmsg_locked() 1528 if (sk->sk_state == TCP_CLOSE || (sk->sk_shutdown & RCV_SHUTDOWN)) in tcp_recv_urg() 1601 if (copied > 0 && !time_to_ack && !(sk->sk_shutdown & RCV_SHUTDOWN)) { in __tcp_cleanup_rbuf() 2526 (sk->sk_shutdown & RCV_SHUTDOWN) || in tcp_recvmsg_locked() [all …]
|
/linux-6.1.9/net/llc/ |
D | af_llc.c | 625 (sk->sk_shutdown & RCV_SHUTDOWN) || in llc_ui_wait_for_busy_core() 653 if (sk->sk_shutdown & RCV_SHUTDOWN) in llc_wait_data() 817 (sk->sk_shutdown & RCV_SHUTDOWN) || in llc_ui_recvmsg() 829 if (sk->sk_shutdown & RCV_SHUTDOWN) in llc_ui_recvmsg()
|
/linux-6.1.9/net/netrom/ |
D | nr_subr.c | 272 sk->sk_shutdown |= SEND_SHUTDOWN; in nr_disconnect()
|