Home
last modified time | relevance | path

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

/net/rxrpc/
Drtt.c69 m -= (peer->mdev_us >> 2); /* similar update on mdev */ in rxrpc_rtt_estimator()
81 m -= (peer->mdev_us >> 2); /* similar update on mdev */ in rxrpc_rtt_estimator()
84 peer->mdev_us += m; /* mdev = 3/4 mdev + 1/4 new */ in rxrpc_rtt_estimator()
85 if (peer->mdev_us > peer->mdev_max_us) { in rxrpc_rtt_estimator()
86 peer->mdev_max_us = peer->mdev_us; in rxrpc_rtt_estimator()
93 peer->mdev_us = m << 1; /* make sure rto = 3*rtt */ in rxrpc_rtt_estimator()
94 peer->rttvar_us = max(peer->mdev_us, rxrpc_rto_min_us(peer)); in rxrpc_rtt_estimator()
192 peer->mdev_us = jiffies_to_usecs(RXRPC_TIMEOUT_INIT); in rxrpc_peer_init_rtt()
Dar-internal.h308 u32 mdev_us; /* medium deviation */ member
/net/ipv4/
Dtcp_metrics.c394 if (m < tp->mdev_us) in tcp_update_metrics()
395 m = tp->mdev_us; in tcp_update_metrics()
536 tp->mdev_us = tp->mdev_max_us = tp->rttvar_us; in tcp_init_metrics()
Dtcp_input.c860 m -= (tp->mdev_us >> 2); /* similar update on mdev */ in tcp_rtt_estimator()
872 m -= (tp->mdev_us >> 2); /* similar update on mdev */ in tcp_rtt_estimator()
874 tp->mdev_us += m; /* mdev = 3/4 mdev + 1/4 new */ in tcp_rtt_estimator()
875 if (tp->mdev_us > tp->mdev_max_us) { in tcp_rtt_estimator()
876 tp->mdev_max_us = tp->mdev_us; in tcp_rtt_estimator()
891 tp->mdev_us = m << 1; /* make sure rto = 3*rtt */ in tcp_rtt_estimator()
892 tp->rttvar_us = max(tp->mdev_us, tcp_rto_min_us(sk)); in tcp_rtt_estimator()
Dtcp.c425 tp->mdev_us = jiffies_to_usecs(TCP_TIMEOUT_INIT); in tcp_init_sock()
2798 tp->mdev_us = jiffies_to_usecs(TCP_TIMEOUT_INIT); in tcp_disconnect()
3577 info->tcpi_rttvar = tp->mdev_us >> 2; in tcp_get_info()