Home
last modified time | relevance | path

Searched refs:srtt_us (Results 1 – 17 of 17) sorted by relevance

/net/rxrpc/
Drtt.c25 return usecs_to_jiffies((peer->srtt_us >> 3) + peer->rttvar_us); in __rxrpc_set_rto()
46 u32 srtt = peer->srtt_us; in rxrpc_rtt_estimator()
98 peer->srtt_us = max(1U, srtt); in rxrpc_rtt_estimator()
166 peer->srtt_us >> 3, peer->rto_j); in rxrpc_peer_add_rtt()
Dcall_event.c114 if (call->peer->srtt_us != 0) in __rxrpc_propose_ACK()
115 ack_at = usecs_to_jiffies(call->peer->srtt_us >> 3); in __rxrpc_propose_ACK()
229 if (ktime_to_us(ack_ts) < (call->peer->srtt_us >> 3)) in rxrpc_resend()
Dproc.c240 peer->srtt_us >> 3, in rxrpc_peer_seq_show()
Dpeer_object.c525 *_srtt = call->peer->srtt_us >> 3; in rxrpc_kernel_get_srtt()
Dsendmsg.c68 rtt = READ_ONCE(call->peer->srtt_us) >> 3; in rxrpc_wait_for_tx_window_waitall()
Dar-internal.h322 u32 srtt_us; /* smoothed round trip time << 3 in usecs */ member
Dinput.c98 call->peer->srtt_us >> 3))) in rxrpc_congestion_management()
/net/ipv4/
Dtcp_hybla.c39 tcp_sk(sk)->srtt_us / (rtt0 * USEC_PER_MSEC), in hybla_recalc_param()
64 ca->minrtt_us = tp->srtt_us; in hybla_init()
98 if (tp->srtt_us < ca->minrtt_us) { in hybla_cong_avoid()
100 ca->minrtt_us = tp->srtt_us; in hybla_cong_avoid()
Dtcp_metrics.c356 if (icsk->icsk_backoff || !tp->srtt_us) { in tcp_update_metrics()
372 m = rtt - tp->srtt_us; in tcp_update_metrics()
380 rtt = tp->srtt_us; in tcp_update_metrics()
524 if (crtt > tp->srtt_us) { in tcp_init_metrics()
528 } else if (tp->srtt_us == 0) { in tcp_init_metrics()
Dtcp_recovery.c29 tp->srtt_us >> 3); in tcp_rack_reo_wnd()
Dtcp_bbr.c273 if (tp->srtt_us) { /* any RTT sample yet? */ in bbr_init_pacing_rate_from_rtt()
274 rtt_us = max(tp->srtt_us >> 3, 1U); in bbr_init_pacing_rate_from_rtt()
291 if (unlikely(!bbr->has_seen_rtt && tp->srtt_us)) in bbr_set_pacing_rate()
Dtcp_input.c844 u32 srtt = tp->srtt_us; in tcp_rtt_estimator()
905 tp->srtt_us = max(1U, srtt); in tcp_rtt_estimator()
931 if (likely(tp->srtt_us)) in tcp_update_pacing_rate()
932 do_div(rate, tp->srtt_us); in tcp_update_pacing_rate()
2210 unsigned long delay = max(usecs_to_jiffies(tp->srtt_us >> 4), in tcp_check_sack_reneging()
5575 if (tp->srtt_us && tp->srtt_us < rtt) in __tcp_ack_snd_check()
5576 rtt = tp->srtt_us; in __tcp_ack_snd_check()
6562 if (!tp->srtt_us) in tcp_rcv_state_process()
Dtcp_output.c2247 if ((s64)(delta - (u64)NSEC_PER_USEC * (tp->srtt_us >> 4)) < 0) in tcp_tso_should_defer()
2771 if (tp->srtt_us) { in tcp_schedule_loss_probe()
2772 timeout_us = tp->srtt_us >> 2; in tcp_schedule_loss_probe()
3933 if (tp->srtt_us) { in tcp_send_delayed_ack()
3934 int rtt = max_t(int, usecs_to_jiffies(tp->srtt_us >> 3), in tcp_send_delayed_ack()
Dtcp.c3126 tp->srtt_us = 0; in tcp_disconnect()
3929 info->tcpi_rtt = tp->srtt_us >> 3; in tcp_get_info()
4065 nla_put_u32(stats, TCP_NLA_SRTT, tp->srtt_us >> 3); in tcp_get_timestamping_opt_stats()
Dtcp_ipv4.c439 icsk->icsk_rto = tp->srtt_us ? __tcp_set_rto(tp) : TCP_TIMEOUT_INIT; in tcp_ld_RTO_revert()
/net/mptcp/
Dprotocol.c3457 if (tp->srtt_us) in schedule_3rdack_retransmission()
3458 timeout = usecs_to_jiffies(tp->srtt_us >> (3 - 1)); in schedule_3rdack_retransmission()
/net/core/
Dfilter.c6963 case offsetof(struct bpf_tcp_sock, srtt_us): in bpf_tcp_sock_convert_ctx_access()
6964 BPF_TCP_SOCK_GET_COMMON(srtt_us); in bpf_tcp_sock_convert_ctx_access()
10429 case offsetof(struct bpf_sock_ops, srtt_us): in sock_ops_convert_ctx_access()
10430 SOCK_OPS_GET_TCP_SOCK_FIELD(srtt_us); in sock_ops_convert_ctx_access()