Home
last modified time | relevance | path

Searched refs:rttvar_us (Results 1 – 4 of 4) sorted by relevance

/net/rxrpc/
Drtt.c25 return usecs_to_jiffies((peer->srtt_us >> 3) + peer->rttvar_us); in __rxrpc_set_rto()
87 if (peer->mdev_max_us > peer->rttvar_us) in rxrpc_rtt_estimator()
88 peer->rttvar_us = peer->mdev_max_us; in rxrpc_rtt_estimator()
94 peer->rttvar_us = max(peer->mdev_us, rxrpc_rto_min_us(peer)); in rxrpc_rtt_estimator()
95 peer->mdev_max_us = peer->rttvar_us; in rxrpc_rtt_estimator()
Dar-internal.h310 u32 rttvar_us; /* smoothed mdev_max */ member
/net/ipv4/
Dtcp_metrics.c535 tp->rttvar_us = jiffies_to_usecs(TCP_TIMEOUT_FALLBACK); in tcp_init_metrics()
536 tp->mdev_us = tp->mdev_max_us = tp->rttvar_us; in tcp_init_metrics()
Dtcp_input.c877 if (tp->mdev_max_us > tp->rttvar_us) in tcp_rtt_estimator()
878 tp->rttvar_us = tp->mdev_max_us; in tcp_rtt_estimator()
881 if (tp->mdev_max_us < tp->rttvar_us) in tcp_rtt_estimator()
882 tp->rttvar_us -= (tp->rttvar_us - tp->mdev_max_us) >> 2; in tcp_rtt_estimator()
892 tp->rttvar_us = max(tp->mdev_us, tcp_rto_min_us(sk)); in tcp_rtt_estimator()
893 tp->mdev_max_us = tp->rttvar_us; in tcp_rtt_estimator()