Home
last modified time | relevance | path

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

/linux/net/rxrpc/
H A Drtt.c25 return (peer->srtt_us >> 3) + peer->rttvar_us; in __rxrpc_set_rto()
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()
94 peer->rttvar_us = max(peer->mdev_us, rxrpc_rto_min_us(peer)); in rxrpc_rtt_estimator()
95 peer->mdev_max_us = peer->rttvar_us; in rxrpc_rtt_estimator()
H A Dar-internal.h357 u32 rttvar_us; /* smoothed mdev_max */ member
/linux/net/ipv4/
H A Dtcp_metrics.c535 tp->rttvar_us = jiffies_to_usecs(TCP_TIMEOUT_FALLBACK); in tcp_init_metrics()
536 tp->mdev_us = tp->mdev_max_us = tp->rttvar_us; in tcp_init_metrics()
H A Dtcp_input.c913 if (tp->mdev_max_us > tp->rttvar_us) in tcp_rtt_estimator()
914 tp->rttvar_us = tp->mdev_max_us; in tcp_rtt_estimator()
917 if (tp->mdev_max_us < tp->rttvar_us) in tcp_rtt_estimator()
918 tp->rttvar_us -= (tp->rttvar_us - tp->mdev_max_us) >> 2; in tcp_rtt_estimator()
928 tp->rttvar_us = max(tp->mdev_us, tcp_rto_min_us(sk)); in tcp_rtt_estimator()
929 tp->mdev_max_us = tp->rttvar_us; in tcp_rtt_estimator()
H A Dtcp.c4987 CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, tcp_sock_read_rx, rttvar_us); in tcp_struct_check()
/linux/include/net/
H A Dtcp.h750 return usecs_to_jiffies((tp->srtt_us >> 3) + tp->rttvar_us); in __tcp_set_rto()