/linux/net/sunrpc/ |
H A D | timer.c | 45 rt->srtt[i] = init; in rpc_init_rtt() 63 long *srtt, *sdrtt; in rpc_update_rtt() local 75 srtt = (long *)&rt->srtt[timer]; in rpc_update_rtt() 76 m -= *srtt >> 3; in rpc_update_rtt() 77 *srtt += m; in rpc_update_rtt() 117 res = ((rt->srtt[timer] + 7) >> 3) + rt->sdrtt[timer]; in rpc_calc_rto()
|
/linux/net/rxrpc/ |
H A D | rtt.c | 46 u32 srtt = peer->srtt_us; in rxrpc_rtt_estimator() local 64 if (srtt != 0) { in rxrpc_rtt_estimator() 65 m -= (srtt >> 3); /* m is now error in rtt est */ in rxrpc_rtt_estimator() 66 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in rxrpc_rtt_estimator() 92 srtt = m << 3; /* take the measured time to be rtt */ in rxrpc_rtt_estimator() 98 peer->srtt_us = max(1U, srtt); in rxrpc_rtt_estimator()
|
/linux/net/ipv4/ |
H A D | tcp_htcp.c | 82 static inline void measure_rtt(struct sock *sk, u32 srtt) in measure_rtt() argument 88 if (ca->minRTT > srtt || !ca->minRTT) in measure_rtt() 89 ca->minRTT = srtt; in measure_rtt() 95 if (ca->maxRTT < srtt && in measure_rtt() 96 srtt <= ca->maxRTT + msecs_to_jiffies(20)) in measure_rtt() 97 ca->maxRTT = srtt; in measure_rtt()
|
H A D | tcp_input.c | 873 u32 srtt = tp->srtt_us; in tcp_rtt_estimator() local 891 if (srtt != 0) { in tcp_rtt_estimator() 892 m -= (srtt >> 3); /* m is now error in rtt est */ in tcp_rtt_estimator() 893 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in tcp_rtt_estimator() 922 tcp_bpf_rtt(sk, mrtt_us, srtt); in tcp_rtt_estimator() 926 srtt = m << 3; /* take the measured time to be rtt */ in tcp_rtt_estimator() 932 tcp_bpf_rtt(sk, mrtt_us, srtt); in tcp_rtt_estimator() 934 tp->srtt_us = max(1U, srtt); in tcp_rtt_estimator()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tcp_rtt.c | 16 __u32 srtt; /* args[1] */ member 96 if (val.srtt == 0) { in verify_sk() 97 log_err("%s: unexpected bpf_tcp_sock.args[1] (srtt) %u == 0", msg, val.srtt); in verify_sk()
|
/linux/net/sctp/ |
H A D | transport.c | 494 if (tp->rttvar || tp->srtt) { in sctp_transport_update_rto() 508 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto() 509 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto() 515 tp->srtt = rtt; in sctp_transport_update_rto() 526 tp->rto = tp->srtt + (tp->rttvar << 2); in sctp_transport_update_rto() 549 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto() 811 t->srtt = 0; in sctp_transport_reset()
|
H A D | socket.c | 650 trans->rtt = trans->srtt = trans->rttvar = 0; in sctp_send_asconf_add_ip() 5242 info->sctpi_p_srtt = prim->srtt; in sctp_get_sctp_info() 5460 status.sstat_primary.spinfo_srtt = transport->srtt; in sctp_getsockopt_sctp_status() 5528 pinfo.spinfo_srtt = transport->srtt; in sctp_getsockopt_peer_addr_info()
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | tcp_rtt.c | 15 __u32 srtt; /* args[1] */ member 62 storage->srtt = ctx->args[1]; in _sockops()
|
/linux/include/linux/qed/ |
H A D | tcp_common.h | 89 __le16 srtt; member 240 __le16 srtt; member
|
H A D | qed_iscsi_if.h | 77 u16 srtt; member
|
/linux/net/batman-adv/ |
H A D | tp_meter.c | 185 if (tp_vars->srtt != 0) { in batadv_tp_update_rto() 186 m -= (tp_vars->srtt >> 3); /* m is now error in rtt est */ in batadv_tp_update_rto() 187 tp_vars->srtt += m; /* rtt = 7/8 srtt + 1/8 new */ in batadv_tp_update_rto() 195 tp_vars->srtt = m << 3; /* take the measured time to be srtt */ in batadv_tp_update_rto() 202 tp_vars->rto = (tp_vars->srtt >> 3) + tp_vars->rttvar; in batadv_tp_update_rto() 413 tp_vars->srtt >> 3, tp_vars->rttvar >> 2, tp_vars->rto); in batadv_tp_sender_end() 1008 tp_vars->srtt = 0; in batadv_tp_start()
|
H A D | types.h | 1520 u32 srtt; member
|
/linux/include/linux/sunrpc/ |
H A D | timer.h | 17 unsigned long srtt[5]; /* smoothed round trip time << 3 */ member
|
/linux/fs/gfs2/ |
H A D | trace_gfs2.h | 268 __field( u64, srtt ) 285 __entry->srtt = gl->gl_stats.stats[GFS2_LKS_SRTT]; 300 (long long)__entry->srtt,
|
/linux/include/trace/events/ |
H A D | tcp.h | 284 __field(__u32, srtt) 314 __entry->srtt = tp->srtt_us >> 3; 326 __entry->srtt, __entry->rcv_wnd, __entry->sock_cookie,
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_iscsi.c | 82 u16 srtt; member 366 p_tcp->srtt = cpu_to_le16(p_conn->srtt); in qed_sp_iscsi_conn_offload() 1247 con->srtt = conn_info->srtt; in qed_iscsi_offload_conn()
|
/linux/Documentation/filesystems/ |
H A D | gfs2-glocks.rst | 222 srtt Smoothed round trip time for non blocking dlm requests 223 srttvar Variance estimate for srtt
|
/linux/include/net/ |
H A D | tcp.h | 2729 static inline void tcp_bpf_rtt(struct sock *sk, long mrtt, u32 srtt) in tcp_bpf_rtt() argument 2732 tcp_call_bpf_2arg(sk, BPF_SOCK_OPS_RTT_CB, mrtt, srtt); in tcp_bpf_rtt()
|
/linux/include/net/sctp/ |
H A D | structs.h | 832 __u32 srtt; member
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | type.h | 913 u32 srtt; member
|
H A D | ctrl.c | 1016 FIELD_PREP(IRDMAQPC_SRTT, tcp->srtt) | in irdma_sc_qp_setctx()
|
/linux/drivers/scsi/qedi/ |
H A D | qedi_iscsi.c | 557 conn_info->srtt = 300; in qedi_iscsi_offload_conn()
|
/linux/Documentation/networking/ |
H A D | ip-sysctl.rst | 957 to current rate. (current_rate = cwnd * mss / srtt) 966 to current rate. (current_rate = cwnd * mss / srtt)
|