Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dtcp_hybla.c51 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 Dtcp_input.c1106 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 Dtcp.c3419 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 Dtcp_output.c2586 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 Dtcp_ipv4.c461 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 Dbpf_cc_cubic.c61 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 Dtcp_ca_write_sk_pacing.c39 (tp->srtt_us ?: 1U << 3); in BPF_PROG()
H A Dtest_sock_fields.c92 dst->srtt_us = src->srtt_us; in tpcpy()
/linux/net/rxrpc/
H A Dinput_rack.c191 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 Dcall_event.c47 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 Dinput.c78 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 Dsendmsg.c137 rtt = READ_ONCE(call->srtt_us) >> 3; in rxrpc_wait_for_tx_window_waitall()
H A Dar-internal.h876 u32 srtt_us; /* smoothed round trip time << 3 in usecs */ member
/linux/samples/bpf/
H A Dhbm_kern.h95 pkti->rtt = tp->srtt_us >> 3; in get_tcp_info()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_fields.c92 tp->snd_cwnd, tp->srtt_us, tp->rtt_min, tp->snd_ssthresh, in print_tp()
/linux/include/linux/
H A Dtcp.h329 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 Dbpf.h6629 __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 Dbpf.h6629 __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 Dprotocol.c3928 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 Dtcp.h167 /* 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 Dfilter.c7783 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()