/net/smc/ |
D | smc_clc.c | 297 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 …]
|
D | af_smc.c | 298 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 …]
|
D | smc_tx.c | 87 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()
|
D | smc_close.c | 68 (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()
|
D | smc_rx.c | 212 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/ |
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 !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, sk->sk_err || in sk_stream_wait_memory()
|
/net/vmw_vsock/ |
D | af_vsock.c | 850 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/ |
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() 948 if (sk->sk_err) in caif_poll()
|
/net/can/ |
D | raw.c | 297 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/ |
D | proto.c | 276 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()
|
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() 467 sk->sk_err = -error; in sctp_generate_reconf_event() 1024 sk->sk_err = error; in sctp_cmd_set_sk_err()
|
/net/ipv4/ |
D | tcp.c | 587 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/ |
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/tls/ |
D | tls_sw.c | 442 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/ |
D | rose_timer.c | 200 sk->sk_err = 0; in rose_idletimer_expiry()
|
/net/nfc/ |
D | llcp_core.c | 100 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/ |
D | nr_subr.c | 271 sk->sk_err = reason; in nr_disconnect()
|
D | nr_timer.c | 192 sk->sk_err = 0; in nr_idletimer_expiry()
|
/net/bluetooth/ |
D | af_bluetooth.c | 311 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()
|