Home
last modified time | relevance | path

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

/Linux-v5.10/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.h316 u32 mdev_us; /* medium deviation */ member
/Linux-v5.10/net/ipv4/
Dtcp_metrics.c374 if (m < tp->mdev_us) in tcp_update_metrics()
375 m = tp->mdev_us; in tcp_update_metrics()
516 tp->mdev_us = tp->mdev_max_us = tp->rttvar_us; in tcp_init_metrics()
Dtcp_input.c824 m -= (tp->mdev_us >> 2); /* similar update on mdev */ in tcp_rtt_estimator()
836 m -= (tp->mdev_us >> 2); /* similar update on mdev */ in tcp_rtt_estimator()
838 tp->mdev_us += m; /* mdev = 3/4 mdev + 1/4 new */ in tcp_rtt_estimator()
839 if (tp->mdev_us > tp->mdev_max_us) { in tcp_rtt_estimator()
840 tp->mdev_max_us = tp->mdev_us; in tcp_rtt_estimator()
855 tp->mdev_us = m << 1; /* make sure rto = 3*rtt */ in tcp_rtt_estimator()
856 tp->rttvar_us = max(tp->mdev_us, tcp_rto_min_us(sk)); in tcp_rtt_estimator()
Dtcp.c423 tp->mdev_us = jiffies_to_usecs(TCP_TIMEOUT_INIT); in tcp_init_sock()
2678 tp->mdev_us = jiffies_to_usecs(TCP_TIMEOUT_INIT); in tcp_disconnect()
3444 info->tcpi_rttvar = tp->mdev_us >> 2; in tcp_get_info()
/Linux-v5.10/include/linux/
Dtcp.h259 u32 mdev_us; /* medium deviation */ member