Home
last modified time | relevance | path

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

/openbmc/linux/net/rxrpc/
H A 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()
H A Dar-internal.h352 u32 mdev_max_us; /* maximal mdev for the last rtt period */ member
/openbmc/linux/include/linux/
H A Dtcp.h292 u32 mdev_max_us; /* maximal mdev for the last rtt period */ member
/openbmc/linux/net/ipv4/
H A Dtcp_input.c894 if (tp->mdev_us > tp->mdev_max_us) { in tcp_rtt_estimator()
895 tp->mdev_max_us = tp->mdev_us; in tcp_rtt_estimator()
896 if (tp->mdev_max_us > tp->rttvar_us) in tcp_rtt_estimator()
897 tp->rttvar_us = tp->mdev_max_us; in tcp_rtt_estimator()
900 if (tp->mdev_max_us < tp->rttvar_us) in tcp_rtt_estimator()
901 tp->rttvar_us -= (tp->rttvar_us - tp->mdev_max_us) >> 2; in tcp_rtt_estimator()
903 tp->mdev_max_us = tcp_rto_min_us(sk); in tcp_rtt_estimator()
912 tp->mdev_max_us = tp->rttvar_us; in tcp_rtt_estimator()
H A Dtcp_metrics.c536 tp->mdev_us = tp->mdev_max_us = tp->rttvar_us; in tcp_init_metrics()