Home
last modified time | relevance | path

Searched refs:sk_err (Results 1 – 25 of 86) sorted by relevance

1234

/net/smc/
Dsmc_clc.c297 clc_sk->sk_err = EINTR; in smc_clc_wait_msg()
298 smc->sk.sk_err = EINTR; in smc_clc_wait_msg()
301 if (clc_sk->sk_err) { in smc_clc_wait_msg()
302 reason_code = -clc_sk->sk_err; in smc_clc_wait_msg()
303 if (clc_sk->sk_err == EAGAIN && in smc_clc_wait_msg()
305 clc_sk->sk_err = 0; /* reset for fallback usage */ in smc_clc_wait_msg()
307 smc->sk.sk_err = clc_sk->sk_err; in smc_clc_wait_msg()
311 smc->sk.sk_err = ECONNRESET; in smc_clc_wait_msg()
317 smc->sk.sk_err = -len; in smc_clc_wait_msg()
329 smc->sk.sk_err = EPROTO; in smc_clc_wait_msg()
[all …]
Daf_smc.c298 nsk->sk_err = osk->sk_err; in smc_copy_sock_settings()
781 if (smc->clcsock->sk->sk_err) { in smc_connect_work()
782 smc->sk.sk_err = smc->clcsock->sk->sk_err; in smc_connect_work()
793 if (rc != 0 || smc->sk.sk_err) { in smc_connect_work()
796 smc->sk.sk_err = EPIPE; in smc_connect_work()
798 smc->sk.sk_err = -sock_intr_errno(timeo); in smc_connect_work()
805 smc->sk.sk_err = -rc; in smc_connect_work()
809 if (smc->sk.sk_err) { in smc_connect_work()
888 lsk->sk_err = ENOMEM; in smc_clcsock_accept()
901 lsk->sk_err = -rc; in smc_clcsock_accept()
[all …]
Dsmc_tx.c87 if (sk->sk_err || in smc_tx_wait()
112 sk->sk_err || in smc_tx_wait()
148 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) { in smc_tx_sendmsg()
157 (smc->sk.sk_err == ECONNABORTED) || in smc_tx_sendmsg()
496 if (smc->sk.sk_err == ECONNABORTED) in smcr_tx_sndbuf_nonempty()
576 if (smc->sk.sk_err || in smc_tx_work()
Dsmc_close.c68 (sk->sk_err == ECONNABORTED) || in smc_close_stream_wait()
69 (sk->sk_err == ECONNRESET), in smc_close_stream_wait()
120 sk->sk_err = ECONNABORTED; in smc_close_active_abort()
122 smc->clcsock->sk->sk_err = ECONNABORTED; in smc_close_active_abort()
Dsmc_rx.c212 sk->sk_err || in smc_rx_wait()
331 if (sk->sk_err || in smc_rx_recvmsg()
337 if (sk->sk_err) { in smc_rx_recvmsg()
/net/atm/
Dsvc.c143 if (!sk->sk_err) in svc_bind()
145 error = -sk->sk_err; in svc_bind()
180 if (sk->sk_err) { in svc_connect()
181 error = -sk->sk_err; in svc_connect()
241 if (!sk->sk_err) in svc_connect()
262 if (sk->sk_err) { in svc_connect()
263 error = -sk->sk_err; in svc_connect()
316 error = -sk->sk_err; in svc_listen()
350 error = -sk->sk_err; in svc_accept()
408 if (!sk_atm(new_vcc)->sk_err) in svc_accept()
[all …]
Dsignaling.c78 sk->sk_err = -msg->reply; in sigd_send()
99 sk->sk_err = -msg->reply; in sigd_send()
/net/core/
Dstream.c76 !sk->sk_err && in sk_stream_wait_connect()
133 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in sk_stream_wait_memory()
145 sk_wait_event(sk, &current_timeo, sk->sk_err || in sk_stream_wait_memory()
/net/vmw_vsock/
Daf_vsock.c850 if (sk->sk_err) in vsock_poll()
1111 sk->sk_err = ETIMEDOUT; in vsock_connect_timeout()
1199 while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { in vsock_stream_connect()
1235 if (sk->sk_err) { in vsock_stream_connect()
1236 err = -sk->sk_err; in vsock_stream_connect()
1282 listener->sk_err == 0) { in vsock_accept()
1300 if (listener->sk_err) in vsock_accept()
1301 err = -listener->sk_err; in vsock_accept()
1574 sk->sk_err == 0 && in vsock_stream_sendmsg()
1610 if (sk->sk_err) { in vsock_stream_sendmsg()
[all …]
/net/caif/
Dcaif_socket.c230 cf_sk->sk.sk_err = ECONNREFUSED; in caif_ctrl_cb()
244 cf_sk->sk.sk_err = ECONNRESET; in caif_ctrl_cb()
318 sk->sk_err || in caif_stream_data_wait()
484 *err = -sk->sk_err; in caif_wait_for_flow_on()
485 if (sk->sk_err) in caif_wait_for_flow_on()
948 if (sk->sk_err) in caif_poll()
/net/can/
Draw.c297 sk->sk_err = ENODEV; in raw_notifier()
303 sk->sk_err = ENETDOWN; in raw_notifier()
462 sk->sk_err = ENETDOWN; in raw_bind()
/net/dccp/
Dproto.c276 sk->sk_err = ECONNRESET; in dccp_disconnect()
278 sk->sk_err = ECONNRESET; in dccp_disconnect()
334 if (sk->sk_err) in dccp_poll()
872 if (sk->sk_err) { in dccp_recvmsg()
Dinput.c149 sk->sk_err = err; in dccp_rcv_reset()
513 sk->sk_err = ECOMM; in dccp_rcv_request_sent_state_process()
Dtimer.c22 sk->sk_err = sk->sk_err_soft ? : ETIMEDOUT; in dccp_write_err()
Doutput.c232 if (signal_pending(current) || sk->sk_err) in dccp_wait_for_ccid()
539 sk->sk_err = 0; in dccp_connect()
/net/sctp/
Dsm_sideeffect.c260 sk->sk_err = -error; in sctp_generate_t3_rtx_event()
301 sk->sk_err = -error; in sctp_generate_timeout_event()
397 sk->sk_err = -error; in sctp_generate_heartbeat_event()
467 sk->sk_err = -error; in sctp_generate_reconf_event()
1024 sk->sk_err = error; in sctp_cmd_set_sk_err()
/net/ipv4/
Dtcp.c587 if (sk->sk_err || !skb_queue_empty_lockless(&sk->sk_error_queue)) in tcp_poll()
800 if (sk->sk_err) { in tcp_splice_read()
839 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in tcp_splice_read()
986 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in do_tcp_sendpages()
1261 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in tcp_sendmsg_locked()
2051 if (sk->sk_err || in tcp_recvmsg()
2061 if (sk->sk_err) { in tcp_recvmsg()
2573 sk->sk_err = ECONNABORTED; in tcp_disconnect()
2581 sk->sk_err = ECONNRESET; in tcp_disconnect()
2583 sk->sk_err = ECONNRESET; in tcp_disconnect()
[all …]
/net/ax25/
Dax25_std_timer.c110 ax25->sk->sk_err = 0; in ax25_std_idletimer_expiry()
Dax25_ds_timer.c170 ax25->sk->sk_err = 0; in ax25_ds_idletimer_expiry()
/net/tls/
Dtls_sw.c442 if (err || sk->sk_err) { in tls_encrypt_done()
446 if (sk->sk_err) { in tls_encrypt_done()
447 ctx->async_wait.err = sk->sk_err; in tls_encrypt_done()
942 if (sk->sk_err) { in tls_sw_sendmsg()
943 ret = -sk->sk_err; in tls_sw_sendmsg()
1143 if (sk->sk_err) { in tls_sw_do_sendpage()
1144 ret = -sk->sk_err; in tls_sw_do_sendpage()
1273 if (sk->sk_err) { in tls_wait_data()
/net/rose/
Drose_timer.c200 sk->sk_err = 0; in rose_idletimer_expiry()
/net/nfc/
Dllcp_core.c100 accept_sk->sk_err = err; in nfc_llcp_socket_release()
109 sk->sk_err = err; in nfc_llcp_socket_release()
134 sk->sk_err = err; in nfc_llcp_socket_release()
1221 sk->sk_err = ENXIO; in nfc_llcp_recv_dm()
/net/netrom/
Dnr_subr.c271 sk->sk_err = reason; in nr_disconnect()
Dnr_timer.c192 sk->sk_err = 0; in nr_idletimer_expiry()
/net/bluetooth/
Daf_bluetooth.c311 if (sk->sk_err || (sk->sk_shutdown & RCV_SHUTDOWN)) in bt_sock_data_wait()
463 if (sk->sk_err || !skb_queue_empty_lockless(&sk->sk_error_queue)) in bt_sock_poll()

1234