Home
last modified time | relevance | path

Searched refs:srtt (Results 1 – 8 of 8) sorted by relevance

/net/sunrpc/
Dtimer.c45 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()
/net/sctp/
Dtransport.c336 if (tp->rttvar || tp->srtt) { in sctp_transport_update_rto()
350 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto()
351 tp->srtt = tp->srtt - (tp->srtt >> net->sctp.rto_alpha) in sctp_transport_update_rto()
357 tp->srtt = rtt; in sctp_transport_update_rto()
368 tp->rto = tp->srtt + (tp->rttvar << 2); in sctp_transport_update_rto()
391 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto()
653 t->srtt = 0; in sctp_transport_reset()
Dsocket.c622 trans->rtt = trans->srtt = trans->rttvar = 0; in sctp_send_asconf_add_ip()
5272 info->sctpi_p_srtt = prim->srtt; in sctp_get_sctp_info()
5475 status.sstat_primary.spinfo_srtt = transport->srtt; in sctp_getsockopt_sctp_status()
5535 pinfo.spinfo_srtt = transport->srtt; in sctp_getsockopt_peer_addr_info()
/net/ipv4/
Dtcp_htcp.c82 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()
Dtcp_input.c735 u32 srtt = tp->srtt_us; in tcp_rtt_estimator() local
753 if (srtt != 0) { in tcp_rtt_estimator()
754 m -= (srtt >> 3); /* m is now error in rtt est */ in tcp_rtt_estimator()
755 srtt += m; /* rtt = 7/8 rtt + 1/8 new */ in tcp_rtt_estimator()
788 srtt = m << 3; /* take the measured time to be rtt */ in tcp_rtt_estimator()
796 tp->srtt_us = max(1U, srtt); in tcp_rtt_estimator()
/net/decnet/
Ddn_nsp_out.c160 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()
/net/batman-adv/
Dtp_meter.c184 if (tp_vars->srtt != 0) { in batadv_tp_update_rto()
185 m -= (tp_vars->srtt >> 3); /* m is now error in rtt est */ in batadv_tp_update_rto()
186 tp_vars->srtt += m; /* rtt = 7/8 srtt + 1/8 new */ in batadv_tp_update_rto()
194 tp_vars->srtt = m << 3; /* take the measured time to be srtt */ in batadv_tp_update_rto()
201 tp_vars->rto = (tp_vars->srtt >> 3) + tp_vars->rttvar; in batadv_tp_update_rto()
409 tp_vars->srtt >> 3, tp_vars->rttvar >> 2, tp_vars->rto); in batadv_tp_sender_end()
1009 tp_vars->srtt = 0; in batadv_tp_start()
Dtypes.h1464 u32 srtt; member