Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/net/smc/
Dsmc_clc.c365 clc_sk->sk_err = EINTR; in smc_clc_wait_msg()
366 smc->sk.sk_err = EINTR; in smc_clc_wait_msg()
369 if (clc_sk->sk_err) { in smc_clc_wait_msg()
370 reason_code = -clc_sk->sk_err; in smc_clc_wait_msg()
371 if (clc_sk->sk_err == EAGAIN && in smc_clc_wait_msg()
373 clc_sk->sk_err = 0; /* reset for fallback usage */ in smc_clc_wait_msg()
375 smc->sk.sk_err = clc_sk->sk_err; in smc_clc_wait_msg()
379 smc->sk.sk_err = ECONNRESET; in smc_clc_wait_msg()
385 smc->sk.sk_err = -len; in smc_clc_wait_msg()
394 smc->sk.sk_err = EPROTO; in smc_clc_wait_msg()
[all …]
Daf_smc.c319 nsk->sk_err = osk->sk_err; in smc_copy_sock_settings()
1044 if (smc->clcsock->sk->sk_err) { in smc_connect_work()
1045 smc->sk.sk_err = smc->clcsock->sk->sk_err; in smc_connect_work()
1056 if (rc != 0 || smc->sk.sk_err) { in smc_connect_work()
1059 smc->sk.sk_err = EPIPE; in smc_connect_work()
1061 smc->sk.sk_err = ECONNREFUSED; in smc_connect_work()
1063 smc->sk.sk_err = -sock_intr_errno(timeo); in smc_connect_work()
1070 smc->sk.sk_err = -rc; in smc_connect_work()
1074 if (smc->sk.sk_err) { in smc_connect_work()
1153 lsk->sk_err = ENOMEM; in smc_clcsock_accept()
[all …]
Dsmc_tx.c87 if (sk->sk_err || in smc_tx_wait()
113 sk->sk_err || in smc_tx_wait()
149 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) { in smc_tx_sendmsg()
158 (smc->sk.sk_err == ECONNABORTED) || in smc_tx_sendmsg()
500 if (smc->sk.sk_err == ECONNABORTED) in smcr_tx_sndbuf_nonempty()
592 if (smc->sk.sk_err) in smc_tx_work()
Dsmc_rx.c206 sk->sk_err || in smc_rx_wait()
329 if (sk->sk_err || in smc_rx_recvmsg()
335 if (sk->sk_err) { in smc_rx_recvmsg()
Dsmc_close.c67 sk->sk_err == ECONNABORTED || in smc_close_stream_wait()
68 sk->sk_err == ECONNRESET || in smc_close_stream_wait()
130 sk->sk_err = ECONNABORTED; in smc_close_active_abort()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/can/
Disotp.c172 sk->sk_err = ETIMEDOUT; in isotp_rx_timer_handler()
343 sk->sk_err = EBADMSG; in isotp_rcv_fc()
396 sk->sk_err = EMSGSIZE; in isotp_rcv_fc()
424 sk->sk_err = EBADMSG; in isotp_rcv_sf()
539 sk->sk_err = EILSEQ; in isotp_rcv_cf()
563 sk->sk_err = EBADMSG; in isotp_rcv_cf()
771 sk->sk_err = ECOMM; in isotp_tx_timer_handler()
993 if (sk->sk_err) in isotp_sendmsg()
994 return -sk->sk_err; in isotp_sendmsg()
1198 sk->sk_err = ENETDOWN; in isotp_bind()
[all …]
Draw.c296 sk->sk_err = ENODEV; in raw_notify()
302 sk->sk_err = ENETDOWN; in raw_notify()
489 sk->sk_err = ENETDOWN; in raw_bind()
/kernel/linux/linux-5.10/net/vmw_vsock/
Daf_vsock.c976 if (sk->sk_err) in vsock_poll()
1246 sk->sk_err = ETIMEDOUT; in vsock_connect_timeout()
1342 while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { in vsock_stream_connect()
1386 if (sk->sk_err) { in vsock_stream_connect()
1387 err = -sk->sk_err; in vsock_stream_connect()
1433 listener->sk_err == 0) { in vsock_accept()
1451 if (listener->sk_err) in vsock_accept()
1452 err = -listener->sk_err; in vsock_accept()
1750 sk->sk_err == 0 && in vsock_stream_sendmsg()
1786 if (sk->sk_err) { in vsock_stream_sendmsg()
[all …]
/kernel/linux/linux-5.10/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()
949 if (sk->sk_err) in caif_poll()
/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c51 sk->sk_err = -err; in tls_err_abort()
457 if (err || sk->sk_err) { in tls_encrypt_done()
461 if (sk->sk_err) { in tls_encrypt_done()
462 ctx->async_wait.err = -sk->sk_err; in tls_encrypt_done()
813 if (err && err != -EINPROGRESS && sk->sk_err == EBADMSG) { in bpf_exec_tx_verdict()
816 err = -sk->sk_err; in bpf_exec_tx_verdict()
842 if (err && err != -EINPROGRESS && sk->sk_err == EBADMSG) { in bpf_exec_tx_verdict()
845 err = -sk->sk_err; in bpf_exec_tx_verdict()
966 if (sk->sk_err) { in tls_sw_sendmsg()
967 ret = -sk->sk_err; in tls_sw_sendmsg()
[all …]
/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()
945 sk_wait_event(sk, &current_timeo, sk->sk_err || in csk_wait_memory()
1030 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in chtls_sendmsg()
1477 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in chtls_pt_recvmsg()
1487 if (sk->sk_err) { in chtls_pt_recvmsg()
1654 if (sk->sk_err) { in peekmsg()
1805 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in chtls_recvmsg()
1812 if (sk->sk_err) { in chtls_recvmsg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
854 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()
/kernel/linux/linux-5.10/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()
471 sk->sk_err = -error; in sctp_generate_reconf_event()
1029 sk->sk_err = error; in sctp_cmd_set_sk_err()
/kernel/linux/linux-5.10/net/rose/
Drose_timer.c203 sk->sk_err = 0; in rose_idletimer_expiry()
/kernel/linux/linux-5.10/net/netrom/
Dnr_subr.c271 sk->sk_err = reason; in nr_disconnect()
Dnr_timer.c194 sk->sk_err = 0; in nr_idletimer_expiry()
/kernel/linux/linux-5.10/drivers/atm/
Datmtcp.c96 sk_atm(vcc)->sk_err = -msg->result; in atmtcp_recv_control()
140 return -sk_atm(vcc)->sk_err; in atmtcp_v_open()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp.c598 if (sk->sk_err || !skb_queue_empty_lockless(&sk->sk_error_queue)) in tcp_poll()
811 if (sk->sk_err) { in tcp_splice_read()
850 if (sk->sk_err || sk->sk_state == TCP_CLOSE || 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()
2200 if (sk->sk_err || in tcp_recvmsg()
2210 if (sk->sk_err) { in tcp_recvmsg()
2750 sk->sk_err = ECONNABORTED; in tcp_disconnect()
2758 sk->sk_err = ECONNRESET; in tcp_disconnect()
2760 sk->sk_err = ECONNRESET; in tcp_disconnect()
[all …]

12345