Searched refs:srtt_us (Results 1 – 17 of 17) sorted by relevance
/net/rxrpc/ |
D | rtt.c | 25 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()
|
D | call_event.c | 114 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()
|
D | proc.c | 240 peer->srtt_us >> 3, in rxrpc_peer_seq_show()
|
D | peer_object.c | 525 *_srtt = call->peer->srtt_us >> 3; in rxrpc_kernel_get_srtt()
|
D | sendmsg.c | 68 rtt = READ_ONCE(call->peer->srtt_us) >> 3; in rxrpc_wait_for_tx_window_waitall()
|
D | ar-internal.h | 322 u32 srtt_us; /* smoothed round trip time << 3 in usecs */ member
|
D | input.c | 98 call->peer->srtt_us >> 3))) in rxrpc_congestion_management()
|
/net/ipv4/ |
D | tcp_hybla.c | 39 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()
|
D | tcp_metrics.c | 356 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()
|
D | tcp_recovery.c | 29 tp->srtt_us >> 3); in tcp_rack_reo_wnd()
|
D | tcp_bbr.c | 273 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()
|
D | tcp_input.c | 844 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()
|
D | tcp_output.c | 2247 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()
|
D | tcp.c | 3126 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()
|
D | tcp_ipv4.c | 439 icsk->icsk_rto = tp->srtt_us ? __tcp_set_rto(tp) : TCP_TIMEOUT_INIT; in tcp_ld_RTO_revert()
|
/net/mptcp/ |
D | protocol.c | 3457 if (tp->srtt_us) in schedule_3rdack_retransmission() 3458 timeout = usecs_to_jiffies(tp->srtt_us >> (3 - 1)); in schedule_3rdack_retransmission()
|
/net/core/ |
D | filter.c | 6963 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()
|