/net/smc/ |
D | smc_clc.c | 365 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 …]
|
D | af_smc.c | 319 nsk->sk_err = osk->sk_err; in smc_copy_sock_settings() 1048 if (smc->clcsock->sk->sk_err) { in smc_connect_work() 1049 smc->sk.sk_err = smc->clcsock->sk->sk_err; in smc_connect_work() 1060 if (rc != 0 || smc->sk.sk_err) { in smc_connect_work() 1063 smc->sk.sk_err = EPIPE; in smc_connect_work() 1065 smc->sk.sk_err = ECONNREFUSED; in smc_connect_work() 1067 smc->sk.sk_err = -sock_intr_errno(timeo); in smc_connect_work() 1074 smc->sk.sk_err = -rc; in smc_connect_work() 1078 if (smc->sk.sk_err) { in smc_connect_work() 1157 lsk->sk_err = ENOMEM; in smc_clcsock_accept() [all …]
|
D | smc_tx.c | 87 if (sk->sk_err || in smc_tx_wait() 113 READ_ONCE(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()
|
D | smc_rx.c | 206 READ_ONCE(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()
|
D | smc_close.c | 67 READ_ONCE(sk->sk_err) == ECONNABORTED || in smc_close_stream_wait() 68 READ_ONCE(sk->sk_err) == ECONNRESET || in smc_close_stream_wait() 131 sk->sk_err = ECONNABORTED; in smc_close_active_abort()
|
/net/atm/ |
D | svc.c | 143 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 …]
|
D | signaling.c | 78 sk->sk_err = -msg->reply; in sigd_send() 99 sk->sk_err = -msg->reply; in sigd_send()
|
/net/core/ |
D | stream.c | 76 !READ_ONCE(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, ¤t_timeo, READ_ONCE(sk->sk_err) || in sk_stream_wait_memory()
|
/net/vmw_vsock/ |
D | af_vsock.c | 971 if (sk->sk_err) in vsock_poll() 1241 sk->sk_err = ETIMEDOUT; in vsock_connect_timeout() 1337 while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { in vsock_stream_connect() 1381 if (sk->sk_err) { in vsock_stream_connect() 1382 err = -sk->sk_err; in vsock_stream_connect() 1428 listener->sk_err == 0) { in vsock_accept() 1446 if (listener->sk_err) in vsock_accept() 1447 err = -listener->sk_err; in vsock_accept() 1745 sk->sk_err == 0 && in vsock_stream_sendmsg() 1781 if (sk->sk_err) { in vsock_stream_sendmsg() [all …]
|
/net/can/ |
D | isotp.c | 188 sk->sk_err = ETIMEDOUT; in isotp_rx_timer_handler() 362 sk->sk_err = EBADMSG; in isotp_rcv_fc() 416 sk->sk_err = EMSGSIZE; in isotp_rcv_fc() 444 sk->sk_err = EBADMSG; in isotp_rcv_sf() 559 sk->sk_err = EILSEQ; in isotp_rcv_cf() 583 sk->sk_err = EBADMSG; in isotp_rcv_cf() 885 sk->sk_err = ECOMM; in isotp_tx_timer_handler() 1308 sk->sk_err = ENETDOWN; in isotp_bind() 1530 sk->sk_err = ENODEV; in isotp_notify() 1536 sk->sk_err = ENETDOWN; in isotp_notify()
|
D | raw.c | 296 sk->sk_err = ENODEV; in raw_notify() 302 sk->sk_err = ENETDOWN; in raw_notify() 489 sk->sk_err = ENETDOWN; in raw_bind()
|
/net/caif/ |
D | caif_socket.c | 230 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()
|
/net/tls/ |
D | tls_sw.c | 51 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() 968 if (sk->sk_err) { in tls_sw_sendmsg() 969 ret = -sk->sk_err; in tls_sw_sendmsg() [all …]
|
/net/dccp/ |
D | proto.c | 282 sk->sk_err = ECONNRESET; in dccp_disconnect() 284 sk->sk_err = ECONNRESET; in dccp_disconnect() 344 if (READ_ONCE(sk->sk_err)) in dccp_poll() 870 if (sk->sk_err) { in dccp_recvmsg()
|
D | input.c | 149 sk->sk_err = err; in dccp_rcv_reset() 513 sk->sk_err = ECOMM; in dccp_rcv_request_sent_state_process()
|
D | timer.c | 22 sk->sk_err = sk->sk_err_soft ? : ETIMEDOUT; in dccp_write_err()
|
D | output.c | 232 if (signal_pending(current) || sk->sk_err) in dccp_wait_for_ccid() 539 sk->sk_err = 0; in dccp_connect()
|
/net/sctp/ |
D | sm_sideeffect.c | 260 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()
|
/net/ax25/ |
D | ax25_std_timer.c | 110 ax25->sk->sk_err = 0; in ax25_std_idletimer_expiry()
|
D | ax25_ds_timer.c | 170 ax25->sk->sk_err = 0; in ax25_ds_idletimer_expiry()
|
/net/ipv4/ |
D | tcp.c | 603 if (sk->sk_err || !skb_queue_empty_lockless(&sk->sk_error_queue)) in tcp_poll() 817 if (sk->sk_err) { in tcp_splice_read() 856 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in tcp_splice_read() 1004 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in do_tcp_sendpages() 1280 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in tcp_sendmsg_locked() 2236 if (sk->sk_err || in tcp_recvmsg() 2246 if (sk->sk_err) { in tcp_recvmsg() 2766 sk->sk_err = ECONNABORTED; in tcp_disconnect() 2774 sk->sk_err = ECONNRESET; in tcp_disconnect() 2776 sk->sk_err = ECONNRESET; in tcp_disconnect() [all …]
|
/net/rose/ |
D | rose_timer.c | 203 sk->sk_err = 0; in rose_idletimer_expiry()
|
/net/netrom/ |
D | nr_subr.c | 273 sk->sk_err = reason; in nr_disconnect()
|
D | nr_timer.c | 195 sk->sk_err = 0; in nr_idletimer_expiry()
|
/net/bluetooth/ |
D | af_bluetooth.c | 319 if (sk->sk_err || (sk->sk_shutdown & RCV_SHUTDOWN)) in bt_sock_data_wait() 469 if (sk->sk_err || !skb_queue_empty_lockless(&sk->sk_error_queue)) in bt_sock_poll()
|