Home
last modified time | relevance | path

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

/Linux-v6.6/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.h343 u32 mdev_us; /* medium deviation */ member
/Linux-v6.6/net/ipv4/
Dtcp_metrics.c394 if (m < tp->mdev_us) in tcp_update_metrics()
395 m = tp->mdev_us; in tcp_update_metrics()
537 tp->mdev_us = tp->mdev_max_us = tp->rttvar_us; in tcp_init_metrics()
Dtcp_input.c872 m -= (tp->mdev_us >> 2); /* similar update on mdev */ in tcp_rtt_estimator()
884 m -= (tp->mdev_us >> 2); /* similar update on mdev */ in tcp_rtt_estimator()
886 tp->mdev_us += m; /* mdev = 3/4 mdev + 1/4 new */ in tcp_rtt_estimator()
887 if (tp->mdev_us > tp->mdev_max_us) { in tcp_rtt_estimator()
888 tp->mdev_max_us = tp->mdev_us; in tcp_rtt_estimator()
903 tp->mdev_us = m << 1; /* make sure rto = 3*rtt */ in tcp_rtt_estimator()
904 tp->rttvar_us = max(tp->mdev_us, tcp_rto_min_us(sk)); in tcp_rtt_estimator()
Dtcp.c426 tp->mdev_us = jiffies_to_usecs(TCP_TIMEOUT_INIT); in tcp_init_sock()
3011 tp->mdev_us = jiffies_to_usecs(TCP_TIMEOUT_INIT); in tcp_disconnect()
3779 info->tcpi_rttvar = tp->mdev_us >> 2; in tcp_get_info()
/Linux-v6.6/include/linux/
Dtcp.h291 u32 mdev_us; /* medium deviation */ member