Searched refs:rttvar_us (Results 1 – 4 of 4) sorted by relevance
25 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()
353 u32 rttvar_us; /* smoothed mdev_max */ member
535 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()
899 if (tp->mdev_max_us > tp->rttvar_us) in tcp_rtt_estimator()900 tp->rttvar_us = tp->mdev_max_us; in tcp_rtt_estimator()903 if (tp->mdev_max_us < tp->rttvar_us) in tcp_rtt_estimator()904 tp->rttvar_us -= (tp->rttvar_us - tp->mdev_max_us) >> 2; in tcp_rtt_estimator()914 tp->rttvar_us = max(tp->mdev_us, tcp_rto_min_us(sk)); in tcp_rtt_estimator()915 tp->mdev_max_us = tp->rttvar_us; in tcp_rtt_estimator()