Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/net/caif/
A 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()
547 (sk->sk_shutdown & RCV_SHUTDOWN)) in caif_seqpkt_sendmsg()
915 sk->sk_shutdown = SHUTDOWN_MASK; in caif_release()
942 if (sk->sk_shutdown == SHUTDOWN_MASK) in caif_poll()
944 if (sk->sk_shutdown & RCV_SHUTDOWN) in caif_poll()
[all …]
/linux-6.3-rc2/net/core/
A 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()
A 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.3-rc2/net/vmw_vsock/
A Daf_vsock.c814 sk->sk_shutdown = SHUTDOWN_MASK; in __vsock_release()
1002 sk->sk_shutdown |= mode; in vsock_shutdown()
1036 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in vsock_poll()
1042 if (sk->sk_shutdown & RCV_SHUTDOWN || in vsock_poll()
1053 (sk->sk_shutdown & RCV_SHUTDOWN)) { in vsock_poll()
1057 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) in vsock_poll()
1094 if (sk->sk_shutdown & RCV_SHUTDOWN || in vsock_poll()
1773 if (sk->sk_shutdown & SEND_SHUTDOWN || in vsock_connectible_sendmsg()
1915 (sk->sk_shutdown & RCV_SHUTDOWN) || in vsock_connectible_wait_data()
2029 else if (sk->sk_shutdown & RCV_SHUTDOWN) in __vsock_stream_recvmsg()
[all …]
A Ddiag.c36 rep->vdiag_shutdown = sk->sk_shutdown; in sk_diag_fill()
/linux-6.3-rc2/net/bluetooth/
A 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()
A 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()
1693 sk->sk_shutdown = SHUTDOWN_MASK; in l2cap_sock_set_shutdown_cb()
A Diso.c1345 if (sk->sk_shutdown & RCV_SHUTDOWN) in iso_sock_shutdown()
1347 sk->sk_shutdown |= RCV_SHUTDOWN; in iso_sock_shutdown()
1350 if (sk->sk_shutdown & SEND_SHUTDOWN) in iso_sock_shutdown()
1352 sk->sk_shutdown |= SEND_SHUTDOWN; in iso_sock_shutdown()
1355 if (sk->sk_shutdown & SHUTDOWN_MASK) in iso_sock_shutdown()
1357 sk->sk_shutdown |= SHUTDOWN_MASK; in iso_sock_shutdown()
/linux-6.3-rc2/net/iucv/
A 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()
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()
1442 sk->sk_shutdown |= how; in iucv_sock_shutdown()
[all …]
/linux-6.3-rc2/net/smc/
A Dsmc_rx.c46 if ((sk->sk_shutdown == SHUTDOWN_MASK) || in smc_rx_wake_up()
272 sk->sk_shutdown & RCV_SHUTDOWN || in smc_rx_wait()
319 if (sk->sk_state == SMC_CLOSED || sk->sk_shutdown & RCV_SHUTDOWN) in smc_rx_recv_urg()
390 if (sk->sk_shutdown & RCV_SHUTDOWN) { in smc_rx_recvmsg()
A 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()
A 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.3-rc2/net/dccp/
A Dproto.c141 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_done()
290 sk->sk_shutdown = 0; in dccp_disconnect()
331 if (sk->sk_shutdown == SHUTDOWN_MASK || sk->sk_state == DCCP_CLOSED) in dccp_poll()
333 if (sk->sk_shutdown & RCV_SHUTDOWN) in dccp_poll()
341 if (!(sk->sk_shutdown & SEND_SHUTDOWN)) { in dccp_poll()
853 if (sk->sk_shutdown & RCV_SHUTDOWN) { in dccp_recvmsg()
987 sk->sk_shutdown = SHUTDOWN_MASK; in dccp_close()
A 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.3-rc2/net/unix/
A Daf_unix.c606 sk->sk_shutdown = SHUTDOWN_MASK; in unix_release_sock()
631 skpair->sk_shutdown = SHUTDOWN_MASK; in unix_release_sock()
1522 if (other->sk_shutdown & RCV_SHUTDOWN) in unix_stream_connect()
2197 if (sk->sk_shutdown & SEND_SHUTDOWN) in unix_stream_sendmsg()
2785 if (sk->sk_shutdown & RCV_SHUTDOWN) in unix_stream_read_generic()
3011 sk->sk_shutdown |= mode; in unix_shutdown()
3031 other->sk_shutdown |= peer_mode; in unix_shutdown()
3170 if (sk->sk_shutdown == SHUTDOWN_MASK) in unix_poll()
3172 if (sk->sk_shutdown & RCV_SHUTDOWN) in unix_poll()
3215 if (sk->sk_shutdown & RCV_SHUTDOWN) in unix_dgram_poll()
[all …]
A Dunix_bpf.c22 if (sk->sk_shutdown & RCV_SHUTDOWN) in unix_msg_wait_data()
/linux-6.3-rc2/net/mptcp/
A Dprotocol.c403 if (sk->sk_shutdown == SHUTDOWN_MASK || in mptcp_close_wake_up()
593 sk->sk_shutdown |= RCV_SHUTDOWN; in mptcp_check_data_fin()
897 if (!(sk->sk_shutdown & RCV_SHUTDOWN)) { in mptcp_check_for_eof()
901 sk->sk_shutdown |= RCV_SHUTDOWN; in mptcp_check_for_eof()
2116 (sk->sk_shutdown & RCV_SHUTDOWN) || in mptcp_recvmsg()
2129 if (sk->sk_shutdown & RCV_SHUTDOWN) { in mptcp_recvmsg()
2478 sk->sk_shutdown = SHUTDOWN_MASK; in mptcp_check_fastclose()
2765 ssk->sk_shutdown |= how; in mptcp_subflow_shutdown()
2906 sk->sk_shutdown = SHUTDOWN_MASK; in __mptcp_close()
3046 sk->sk_shutdown = 0; in mptcp_disconnect()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A 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.3-rc2/net/nfc/
A Drawsock.c51 sk->sk_shutdown = SHUTDOWN_MASK; in rawsock_report_error()
187 if (sk->sk_shutdown & SEND_SHUTDOWN) { in rawsock_tx_work()
/linux-6.3-rc2/net/ax25/
A Dax25_std_timer.c111 ax25->sk->sk_shutdown |= SEND_SHUTDOWN; in ax25_std_idletimer_expiry()
A Dax25_ds_timer.c171 ax25->sk->sk_shutdown |= SEND_SHUTDOWN; in ax25_ds_idletimer_expiry()
/linux-6.3-rc2/net/ipv4/
A Dudp_bpf.c44 if (sk->sk_shutdown & RCV_SHUTDOWN) in udp_msg_wait_data()
A Dtcp.c545 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()
2527 (sk->sk_shutdown & RCV_SHUTDOWN) || in tcp_recvmsg_locked()
2539 if (sk->sk_shutdown & RCV_SHUTDOWN) in tcp_recvmsg_locked()
2869 sk->sk_shutdown = SHUTDOWN_MASK; in __tcp_close()
3121 sk->sk_shutdown = 0; in tcp_disconnect()
[all …]
/linux-6.3-rc2/net/llc/
A 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.3-rc2/net/rose/
A Drose_timer.c204 sk->sk_shutdown |= SEND_SHUTDOWN; in rose_idletimer_expiry()

Completed in 54 milliseconds

123