Home
last modified time | relevance | path

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

123

/linux-6.1.9/net/caif/
Dcaif_socket.c213 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/
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.c104 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/
Daf_vsock.c815 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 …]
Ddiag.c36 rep->vdiag_shutdown = sk->sk_shutdown; in sk_diag_fill()
/linux-6.1.9/net/bluetooth/
Daf_bluetooth.c269 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()
Dl2cap_sock.c1326 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()
Diso.c1346 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/
Daf_iucv.c362 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/
Dsmc_rx.c42 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()
Dsmc_tx.c58 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()
Dsmc_cdc.c382 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/
Dproto.c141 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()
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()
/linux-6.1.9/net/unix/
Daf_unix.c605 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 …]
Dunix_bpf.c22 if (sk->sk_shutdown & RCV_SHUTDOWN) in unix_msg_wait_data()
/linux-6.1.9/net/mptcp/
Dprotocol.c412 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/
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()
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/
Drawsock.c50 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/
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()
/linux-6.1.9/net/ipv4/
Dudp_bpf.c44 if (sk->sk_shutdown & RCV_SHUTDOWN) in udp_msg_wait_data()
Dtcp.c543 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/
Daf_llc.c625 (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/
Dnr_subr.c272 sk->sk_shutdown |= SEND_SHUTDOWN; in nr_disconnect()

123