Home
last modified time | relevance | path

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

/net/rxrpc/
Drtt.c85 if (peer->mdev_us > peer->mdev_max_us) { in rxrpc_rtt_estimator()
86 peer->mdev_max_us = peer->mdev_us; in rxrpc_rtt_estimator()
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()
95 peer->mdev_max_us = peer->rttvar_us; in rxrpc_rtt_estimator()
Dar-internal.h352 u32 mdev_max_us; /* maximal mdev for the last rtt period */ member
/net/ipv4/
Dtcp_input.c897 if (tp->mdev_us > tp->mdev_max_us) { in tcp_rtt_estimator()
898 tp->mdev_max_us = tp->mdev_us; in tcp_rtt_estimator()
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()
906 tp->mdev_max_us = tcp_rto_min_us(sk); in tcp_rtt_estimator()
915 tp->mdev_max_us = tp->rttvar_us; in tcp_rtt_estimator()
Dtcp_metrics.c536 tp->mdev_us = tp->mdev_max_us = tp->rttvar_us; in tcp_init_metrics()