/linux/net/sunrpc/ |
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/ |
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/ |
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()
|
A D | tcp_input.c | 832 u32 srtt = tp->srtt_us; in tcp_rtt_estimator() local 850 if (srtt != 0) { in tcp_rtt_estimator() 851 m -= (srtt >> 3); /* m is now error in rtt est */ in tcp_rtt_estimator() 852 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in tcp_rtt_estimator() 885 srtt = m << 3; /* take the measured time to be rtt */ in tcp_rtt_estimator() 893 tp->srtt_us = max(1U, srtt); in tcp_rtt_estimator()
|
/linux/net/sctp/ |
A D | transport.c | 497 if (tp->rttvar || tp->srtt) { in sctp_transport_update_rto() 511 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto() 512 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto() 518 tp->srtt = rtt; in sctp_transport_update_rto() 529 tp->rto = tp->srtt + (tp->rttvar << 2); in sctp_transport_update_rto() 552 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto() 814 t->srtt = 0; in sctp_transport_reset()
|
A D | socket.c | 647 trans->rtt = trans->srtt = trans->rttvar = 0; in sctp_send_asconf_add_ip() 5226 info->sctpi_p_srtt = prim->srtt; in sctp_get_sctp_info() 5444 status.sstat_primary.spinfo_srtt = transport->srtt; in sctp_getsockopt_sctp_status() 5512 pinfo.spinfo_srtt = transport->srtt; in sctp_getsockopt_peer_addr_info()
|
/linux/net/decnet/ |
A D | dn_nsp_out.c | 160 long srtt = (long)scp->nsp_srtt; in dn_nsp_rtt() local 174 delta = ((rtt << 3) - srtt); in dn_nsp_rtt() 175 srtt += (delta >> 3); in dn_nsp_rtt() 176 if (srtt >= 1) in dn_nsp_rtt() 177 scp->nsp_srtt = (unsigned long)srtt; in dn_nsp_rtt()
|
/linux/net/batman-adv/ |
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()
|
A D | types.h | 1450 u32 srtt; member
|
/linux/include/linux/qed/ |
A D | tcp_common.h | 89 __le16 srtt; member 240 __le16 srtt; member
|
A D | qed_iscsi_if.h | 77 u16 srtt; member
|
/linux/include/linux/sunrpc/ |
A D | timer.h | 17 unsigned long srtt[5]; /* smoothed round trip time << 3 */ member
|
/linux/include/trace/events/ |
A D | tcp.h | 258 __field(__u32, srtt) 286 __entry->srtt = tp->srtt_us >> 3; 295 __entry->srtt, __entry->rcv_wnd, __entry->sock_cookie)
|
/linux/fs/gfs2/ |
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/drivers/net/ethernet/qlogic/qed/ |
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() 1246 con->srtt = conn_info->srtt; in qed_iscsi_offload_conn()
|
/linux/Documentation/filesystems/ |
A D | gfs2-glocks.rst | 226 srtt Smoothed round trip time for non blocking dlm requests 227 srttvar Variance estimate for srtt
|
/linux/include/net/sctp/ |
A D | structs.h | 834 __u32 srtt; member
|
/linux/drivers/infiniband/hw/irdma/ |
A D | type.h | 951 u32 srtt; member
|
A D | ctrl.c | 997 FIELD_PREP(IRDMAQPC_SRTT, tcp->srtt) | in irdma_sc_qp_setctx()
|
/linux/Documentation/trace/ |
A D | histogram.rst | 2311 onchange($cwnd).save(snd_wnd,srtt,rcv_wnd): \ 2325 changed: 10 snd_wnd: 35456 srtt: 154262 rcv_wnd: 42112 2328 changed: 10 snd_wnd: 28960 srtt: 19604 rcv_wnd: 29312 2331 changed: 10 snd_wnd: 48384 srtt: 260444 rcv_wnd: 55168 2334 changed: 10 snd_wnd: 26960 srtt: 17379 rcv_wnd: 28800 2365 …xe3ae2ff5 snd_una=0xe3ae2ecd snd_cwnd=10 ssthresh=2147483647 snd_wnd=28960 srtt=19604 rcv_wnd=29312
|
/linux/drivers/scsi/qedi/ |
A D | qedi_iscsi.c | 556 conn_info->srtt = 300; in qedi_iscsi_offload_conn()
|
/linux/Documentation/networking/ |
A D | ip-sysctl.rst | 883 to current rate. (current_rate = cwnd * mss / srtt) 892 to current rate. (current_rate = cwnd * mss / srtt)
|