| /linux/net/ipv4/ |
| H A D | tcp_hybla.c | 51 tcp_sk(sk)->srtt_us / (rtt0 * USEC_PER_MSEC), in hybla_init() 76 ca->minrtt_us = tp->srtt_us; in hybla_fraction() 110 if (tp->srtt_us < ca->minrtt_us) { in hybla_cong_avoid() 112 ca->minrtt_us = tp->srtt_us; in hybla_cong_avoid()
|
| H A D | tcp_input.c | 1106 u32 srtt = tp->srtt_us; in tcp_rtt_estimator() 1171 WRITE_ONCE(tp->srtt_us, max(1U, srtt)); 1197 if (likely(tp->srtt_us)) in tcp_set_rto() 1198 do_div(rate, tp->srtt_us); in tcp_set_rto() 2653 unsigned long delay = max(usecs_to_jiffies(tp->srtt_us >> 4), 6274 if (tp->srtt_us && tp->srtt_us < rtt) in tcp_check_urg() 6275 rtt = tp->srtt_us; in tcp_check_urg() 7365 if (!tp->srtt_us) in tcp_rcv_state_process()
|
| H A D | tcp.c | 3419 tp->srtt_us = 0; in tcp_disconnect() 3625 /* If we change tcp_tx_delay on a live flow, adjust tp->srtt_us, in tcp_enable_tx_delay() 3630 s64 srtt = (s64)tp->srtt_us + delta; in tcp_enable_tx_delay() 3632 WRITE_ONCE(tp->srtt_us, 4168 /* tp->srtt_us is u32, and is shifted by 3 */ in do_tcp_setsockopt() 4310 info->tcpi_rtt = tp->srtt_us >> 3; in tcp_get_info() 4477 nla_put_u32(stats, TCP_NLA_SRTT, READ_ONCE(tp->srtt_us) >> 3); in tcp_get_timestamping_opt_stats() 5300 CACHELINE_ASSERT_GROUP_MEMBER(struct tcp_sock, tcp_sock_write_txrx, srtt_us); in tcp_init()
|
| H A D | tcp_output.c | 2586 srtt_in_ns = (u64)(NSEC_PER_USEC >> 3) * tp->srtt_us; in tcp_mtu_check_reprobe() 3192 if (tp->srtt_us) { in tcp_send_loss_probe() 3193 timeout_us = tp->srtt_us >> 2; in tcp_send_loss_probe() 4507 if (tp->srtt_us) { in __tcp_send_ack() 4508 int rtt = max_t(int, usecs_to_jiffies(tp->srtt_us >> 3), in __tcp_send_ack()
|
| H A D | tcp_ipv4.c | 461 icsk->icsk_rto = tp->srtt_us ? __tcp_set_rto(tp) : TCP_TIMEOUT_INIT; in tcp_ld_RTO_revert()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_cc_cubic.c | 61 if (tp->srtt_us) in tcp_update_pacing_rate() 62 rate = div64_u64(rate, (__u64)tp->srtt_us); in tcp_update_pacing_rate()
|
| H A D | tcp_ca_write_sk_pacing.c | 39 (tp->srtt_us ?: 1U << 3); in BPF_PROG()
|
| H A D | test_sock_fields.c | 92 dst->srtt_us = src->srtt_us; in tpcpy()
|
| /linux/net/rxrpc/ |
| H A D | input_rack.c | 191 call->srtt_us >> 3)); in rxrpc_rack_update_reo_wnd() 299 pto = ns_to_ktime(call->srtt_us * NSEC_PER_USEC / 4); in rxrpc_tlp_calc_pto()
|
| H A D | call_event.c | 47 if (call->srtt_us) in rxrpc_propose_delay_ACK() 48 delay = (call->srtt_us >> 3) * NSEC_PER_USEC; in rxrpc_propose_delay_ACK()
|
| H A D | input.c | 78 call->srtt_us >> 3))) in rxrpc_congestion_management() 188 rtt = ns_to_ktime(call->srtt_us * (NSEC_PER_USEC / 8)); in rxrpc_congestion_degrade()
|
| H A D | sendmsg.c | 137 rtt = READ_ONCE(call->srtt_us) >> 3; in rxrpc_wait_for_tx_window_waitall()
|
| H A D | ar-internal.h | 876 u32 srtt_us; /* smoothed round trip time << 3 in usecs */ member
|
| /linux/samples/bpf/ |
| H A D | hbm_kern.h | 95 pkti->rtt = tp->srtt_us >> 3; in get_tcp_info()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sock_fields.c | 92 tp->snd_cwnd, tp->srtt_us, tp->rtt_min, tp->snd_ssthresh, in print_tp()
|
| /linux/include/linux/ |
| H A D | tcp.h | 329 u32 srtt_us; /* smoothed round trip time << 3 in usecs */ 316 u32 srtt_us; /* smoothed round trip time << 3 in usecs */ global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 6629 __u32 srtt_us; /* smoothed round trip time << 3 in usecs */ 7097 __u32 srtt_us; /* Averaged RTT << 3 in usecs */ 6567 __u32 srtt_us; /* smoothed round trip time << 3 in usecs */ global() member 7033 __u32 srtt_us; /* Averaged RTT << 3 in usecs */ global() member
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 6629 __u32 srtt_us; /* smoothed round trip time << 3 in usecs */ 7097 __u32 srtt_us; /* Averaged RTT << 3 in usecs */ 6567 __u32 srtt_us; /* smoothed round trip time << 3 in usecs */ global() member 7033 __u32 srtt_us; /* Averaged RTT << 3 in usecs */ global() member
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 3928 if (tp->srtt_us) in mptcp_subflow_process_delegated() 3929 timeout = usecs_to_jiffies(tp->srtt_us >> (3 - 1)); in mptcp_subflow_process_delegated()
|
| /linux/include/net/ |
| H A D | tcp.h | 167 /* Max RTT sample for tcp_rtt_estimator(). srtt_us holds 8 times the RTT, and 920 u32 rto = usecs_to_jiffies((tp->srtt_us >> 3) + tp->rttvar_us);
|
| /linux/net/core/ |
| H A D | filter.c | 7783 case offsetof(struct bpf_tcp_sock, srtt_us): in BPF_CALL_1() 7784 BPF_TCP_SOCK_GET_COMMON(srtt_us); in BPF_CALL_1() 11269 case offsetof(struct bpf_sock_ops, srtt_us): in bpf_convert_data_end_access() 11270 SOCK_OPS_GET_TCP_SOCK_FIELD(srtt_us); in bpf_convert_data_end_access()
|