/linux-6.12.1/net/atm/ |
D | svc.c | 148 if (!sk->sk_err) in svc_bind() 150 error = -sk->sk_err; in svc_bind() 185 if (sk->sk_err) { in svc_connect() 186 error = -sk->sk_err; in svc_connect() 246 if (!sk->sk_err) in svc_connect() 267 if (sk->sk_err) { in svc_connect() 268 error = -sk->sk_err; in svc_connect() 321 error = -sk->sk_err; in svc_listen() 355 error = -sk->sk_err; in svc_accept() 413 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()
|
/linux-6.12.1/net/smc/ |
D | smc_clc.c | 706 clc_sk->sk_err = EINTR; in smc_clc_wait_msg() 707 smc->sk.sk_err = EINTR; in smc_clc_wait_msg() 710 if (clc_sk->sk_err) { in smc_clc_wait_msg() 711 reason_code = -clc_sk->sk_err; in smc_clc_wait_msg() 712 if (clc_sk->sk_err == EAGAIN && in smc_clc_wait_msg() 714 clc_sk->sk_err = 0; /* reset for fallback usage */ in smc_clc_wait_msg() 716 smc->sk.sk_err = clc_sk->sk_err; in smc_clc_wait_msg() 720 smc->sk.sk_err = ECONNRESET; in smc_clc_wait_msg() 726 smc->sk.sk_err = -len; in smc_clc_wait_msg() 735 smc->sk.sk_err = EPROTO; in smc_clc_wait_msg() [all …]
|
D | smc_tx.c | 90 if (sk->sk_err || in smc_tx_wait() 116 READ_ONCE(sk->sk_err) || in smc_tx_wait() 196 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) { in smc_tx_sendmsg() 215 (smc->sk.sk_err == ECONNABORTED) || in smc_tx_sendmsg() 565 if (smc->sk.sk_err == ECONNABORTED) in smcr_tx_sndbuf_nonempty() 667 if (smc->sk.sk_err) in smc_tx_pending()
|
D | af_smc.c | 489 nsk->sk_err = osk->sk_err; in smc_copy_sock_settings() 1541 smc->sk.sk_err = ETIMEDOUT; in __smc_connect() 1587 if (smc->clcsock->sk->sk_err) { in smc_connect_work() 1588 smc->sk.sk_err = smc->clcsock->sk->sk_err; in smc_connect_work() 1599 if (rc != 0 || smc->sk.sk_err) { in smc_connect_work() 1602 smc->sk.sk_err = EPIPE; in smc_connect_work() 1604 smc->sk.sk_err = ECONNREFUSED; in smc_connect_work() 1606 smc->sk.sk_err = -sock_intr_errno(timeo); in smc_connect_work() 1613 smc->sk.sk_err = -rc; in smc_connect_work() 1617 if (smc->sk.sk_err) { in smc_connect_work() [all …]
|
D | smc_close.c | 70 READ_ONCE(sk->sk_err) == ECONNABORTED || in smc_close_stream_wait() 71 READ_ONCE(sk->sk_err) == ECONNRESET || in smc_close_stream_wait() 134 sk->sk_err = ECONNABORTED; in smc_close_active_abort()
|
D | smc_rx.c | 270 READ_ONCE(sk->sk_err) || in smc_rx_wait() 400 if (sk->sk_err || in smc_rx_recvmsg() 406 if (sk->sk_err) { in smc_rx_recvmsg()
|
/linux-6.12.1/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 ret = sk_wait_event(sk, ¤t_timeo, READ_ONCE(sk->sk_err) || in sk_stream_wait_memory()
|
/linux-6.12.1/net/vmw_vsock/ |
D | af_vsock.c | 1039 if (sk->sk_err || !skb_queue_empty_lockless(&sk->sk_error_queue)) in vsock_poll() 1395 sk->sk_err = ETIMEDOUT; in vsock_connect_timeout() 1502 while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { in vsock_connect() 1546 if (sk->sk_err) { in vsock_connect() 1547 err = -sk->sk_err; in vsock_connect() 1593 listener->sk_err == 0) { in vsock_accept() 1611 if (listener->sk_err) in vsock_accept() 1612 err = -listener->sk_err; in vsock_accept() 1944 sk->sk_err == 0 && in vsock_connectible_sendmsg() 1980 if (sk->sk_err) { in vsock_connectible_sendmsg() [all …]
|
/linux-6.12.1/net/caif/ |
D | caif_socket.c | 226 cf_sk->sk.sk_err = ECONNREFUSED; in caif_ctrl_cb() 240 cf_sk->sk.sk_err = ECONNRESET; in caif_ctrl_cb() 314 sk->sk_err || in caif_stream_data_wait() 480 *err = -sk->sk_err; in caif_wait_for_flow_on() 481 if (sk->sk_err) in caif_wait_for_flow_on() 941 if (sk->sk_err) in caif_poll()
|
/linux-6.12.1/net/can/ |
D | isotp.c | 202 sk->sk_err = ETIMEDOUT; in isotp_rx_timer_handler() 376 sk->sk_err = EBADMSG; in isotp_rcv_fc() 431 sk->sk_err = EMSGSIZE; in isotp_rcv_fc() 459 sk->sk_err = EBADMSG; in isotp_rcv_sf() 584 sk->sk_err = EILSEQ; in isotp_rcv_cf() 608 sk->sk_err = EBADMSG; in isotp_rcv_cf() 910 sk->sk_err = ECOMM; in isotp_tx_timer_handler() 1347 sk->sk_err = ENETDOWN; in isotp_bind() 1569 sk->sk_err = ENODEV; in isotp_notify() 1575 sk->sk_err = ENETDOWN; in isotp_notify()
|
D | raw.c | 326 sk->sk_err = ENODEV; in raw_notify() 332 sk->sk_err = ENETDOWN; in raw_notify() 525 sk->sk_err = ENETDOWN; in raw_bind()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_io.c | 930 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in csk_wait_memory() 945 ret = sk_wait_event(sk, ¤t_timeo, sk->sk_err || in csk_wait_memory() 1033 if (sk->sk_err || (sk->sk_shutdown & SEND_SHUTDOWN)) in chtls_sendmsg() 1391 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in chtls_pt_recvmsg() 1401 if (sk->sk_err) { in chtls_pt_recvmsg() 1575 if (sk->sk_err) { in peekmsg() 1730 if (sk->sk_err || sk->sk_state == TCP_CLOSE || in chtls_recvmsg() 1737 if (sk->sk_err) { in chtls_recvmsg()
|
/linux-6.12.1/net/tls/ |
D | tls_sw.c | 74 /* sk->sk_err should contain a positive error code. */ in tls_err_abort() 75 WRITE_ONCE(sk->sk_err, -err); in tls_err_abort() 491 if (err || sk->sk_err) { in tls_encrypt_done() 495 if (sk->sk_err) { in tls_encrypt_done() 496 ctx->async_wait.err = -sk->sk_err; in tls_encrypt_done() 860 if (err && err != -EINPROGRESS && sk->sk_err == EBADMSG) { in bpf_exec_tx_verdict() 863 err = -sk->sk_err; in bpf_exec_tx_verdict() 889 if (err && err != -EINPROGRESS && sk->sk_err == EBADMSG) { in bpf_exec_tx_verdict() 892 err = -sk->sk_err; in bpf_exec_tx_verdict() 1042 if (sk->sk_err) { in tls_sw_sendmsg_locked() [all …]
|
/linux-6.12.1/net/ipv4/ |
D | tcp_bpf.c | 286 if (sk->sk_err) { in tcp_bpf_recvmsg_parser() 518 if (sk->sk_err) { in tcp_bpf_sendmsg() 519 err = -sk->sk_err; in tcp_bpf_sendmsg()
|
/linux-6.12.1/include/uapi/linux/ |
D | mptcp_pm.h | 31 * closed. An error (copy of sk_err) could be set if an error has been
|
/linux-6.12.1/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() 503 sk->sk_err = -error; in sctp_generate_probe_event() 1032 /* Helper function to set sk_err on a 1-1 style socket. */ 1038 sk->sk_err = error; in sctp_cmd_set_sk_err()
|
/linux-6.12.1/net/dccp/ |
D | proto.c | 274 sk->sk_err = ECONNRESET; in dccp_disconnect() 276 sk->sk_err = ECONNRESET; in dccp_disconnect() 335 if (READ_ONCE(sk->sk_err)) in dccp_poll() 861 if (sk->sk_err) { in dccp_recvmsg()
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/atm/ |
D | atmtcp.c | 96 sk_atm(vcc)->sk_err = -msg->result; in atmtcp_recv_control() 140 return -sk_atm(vcc)->sk_err; in atmtcp_v_open()
|
/linux-6.12.1/fs/dlm/ |
D | lowcomms.c | 600 "sk_err=%d/%d\n", dlm_our_nodeid(), in lowcomms_error_report() 602 ntohs(inet->inet_dport), sk->sk_err, in lowcomms_error_report() 609 "dport %d, sk_err=%d/%d\n", dlm_our_nodeid(), in lowcomms_error_report() 611 ntohs(inet->inet_dport), sk->sk_err, in lowcomms_error_report() 618 "sk_err=%d/%d\n", dlm_our_nodeid(), in lowcomms_error_report() 619 sk->sk_family, sk->sk_err, in lowcomms_error_report()
|
/linux-6.12.1/net/rose/ |
D | rose_timer.c | 203 sk->sk_err = 0; in rose_idletimer_expiry()
|
/linux-6.12.1/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() 1260 sk->sk_err = ENXIO; in nfc_llcp_recv_dm()
|
/linux-6.12.1/net/netrom/ |
D | nr_timer.c | 196 sk->sk_err = 0; in nr_idletimer_expiry()
|