/net/ipv4/ |
D | tcp_cdg.c | 77 struct cdg_minmax rtt; member 143 ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min); in tcp_cdg_hystart_update() 176 if (ca->rtt.min > thresh) { in tcp_cdg_hystart_update() 190 s32 gmin = ca->rtt.min - ca->rtt_prev.min; in tcp_cdg_grad() 191 s32 gmax = ca->rtt.max - ca->rtt_prev.max; in tcp_cdg_grad() 270 if (after(ack, ca->rtt_seq) && ca->rtt.v64) { in tcp_cdg_cong_avoid() 276 ca->rtt_prev = ca->rtt; in tcp_cdg_cong_avoid() 277 ca->rtt.v64 = 0; in tcp_cdg_cong_avoid() 314 ca->rtt.min = min(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked() 322 ca->rtt.min = min_not_zero(ca->rtt.min, sample->rtt_us); in tcp_cdg_acked() [all …]
|
D | tcp_westwood.c | 39 u32 rtt; member 70 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init() 108 w->rtt = usecs_to_jiffies(sample->rtt_us); in tcp_westwood_pkts_acked() 139 if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { in westwood_update_window() 150 w->rtt_min = w->rtt; in update_rtt_min() 153 w->rtt_min = min(w->rtt, w->rtt_min); in update_rtt_min() 268 info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt), in tcp_westwood_info()
|
D | tcp_yeah.c | 132 u32 rtt, queue; in tcp_yeah_cong_avoid() local 146 rtt = yeah->vegas.minRTT; in tcp_yeah_cong_avoid() 152 bw *= rtt - yeah->vegas.baseRTT; in tcp_yeah_cong_avoid() 153 do_div(bw, rtt); in tcp_yeah_cong_avoid() 157 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) { in tcp_yeah_cong_avoid()
|
D | tcp_vegas.c | 197 u32 rtt, diff; in tcp_vegas_cong_avoid() local 211 rtt = vegas->minRTT; in tcp_vegas_cong_avoid() 220 do_div(target_cwnd, rtt); in tcp_vegas_cong_avoid() 226 diff = tp->snd_cwnd * (rtt-vegas->baseRTT) / vegas->baseRTT; in tcp_vegas_cong_avoid()
|
D | tcp_veno.c | 140 u32 rtt; in tcp_veno_cong_avoid() local 146 rtt = veno->minrtt; in tcp_veno_cong_avoid() 150 do_div(target_cwnd, rtt); in tcp_veno_cong_avoid()
|
D | tcp_metrics.c | 374 unsigned long rtt; in tcp_update_metrics() local 400 rtt = tcp_metric_get(tm, TCP_METRIC_RTT); in tcp_update_metrics() 401 m = rtt - tp->srtt_us; in tcp_update_metrics() 409 rtt = tp->srtt_us; in tcp_update_metrics() 411 rtt -= (m >> 3); in tcp_update_metrics() 412 tcp_metric_set(tm, TCP_METRIC_RTT, rtt); in tcp_update_metrics()
|
D | tcp_lp.c | 220 static void tcp_lp_rtt_sample(struct sock *sk, u32 rtt) in tcp_lp_rtt_sample() argument
|
D | tcp_output.c | 2244 u32 rtt = usecs_to_jiffies(tp->srtt_us >> 3); in tcp_schedule_loss_probe() local 2278 timeout = rtt << 1 ? : TCP_TIMEOUT_INIT; in tcp_schedule_loss_probe() 2281 (rtt + (rtt >> 1) + TCP_DELACK_MAX)); in tcp_schedule_loss_probe() 3437 int rtt = max_t(int, usecs_to_jiffies(tp->srtt_us >> 3), in tcp_send_delayed_ack() local 3440 if (rtt < max_ato) in tcp_send_delayed_ack() 3441 max_ato = rtt; in tcp_send_delayed_ack()
|
D | tcp_input.c | 521 u32 new_sample = tp->rcv_rtt_est.rtt; in tcp_rcv_rtt_update() 551 if (tp->rcv_rtt_est.rtt != new_sample) in tcp_rcv_rtt_update() 552 tp->rcv_rtt_est.rtt = new_sample; in tcp_rcv_rtt_update() 589 if (time < (tp->rcv_rtt_est.rtt >> 3) || tp->rcv_rtt_est.rtt == 0) in tcp_rcv_space_adjust()
|
D | tcp.c | 2843 info->tcpi_rcv_rtt = jiffies_to_usecs(tp->rcv_rtt_est.rtt)>>3; in tcp_get_info()
|
/net/ax25/ |
D | ax25_subr.c | 242 ax25->t1 = t * ax25->rtt; in ax25_calculate_t1() 254 ax25->rtt = (9 * ax25->rtt + ax25->t1 - ax25_display_timer(&ax25->t1timer)) / 10; in ax25_calculate_rtt() 256 if (ax25->rtt < AX25_T1CLAMPLO) in ax25_calculate_rtt() 257 ax25->rtt = AX25_T1CLAMPLO; in ax25_calculate_rtt() 259 if (ax25->rtt > AX25_T1CLAMPHI) in ax25_calculate_rtt() 260 ax25->rtt = AX25_T1CLAMPHI; in ax25_calculate_rtt()
|
D | af_ax25.c | 400 ax25->rtt = (ax25_ctl.arg * HZ) / 2; in ax25_ctl_ioctl() 451 ax25->rtt = msecs_to_jiffies(ax25_dev->values[AX25_VALUES_T1]) / 2; in ax25_fillin_cb_from_dev() 485 ax25->rtt = msecs_to_jiffies(AX25_DEF_T1) / 2; in ax25_fillin_cb() 577 ax25->rtt = (opt * HZ) >> 1; in ax25_setsockopt() 922 ax25->rtt = oax25->rtt; in ax25_make_new() 1906 ax25->rtt / HZ, in ax25_info_show()
|
/net/sctp/ |
D | transport.c | 319 void sctp_transport_update_rto(struct sctp_transport *tp, __u32 rtt) in sctp_transport_update_rto() argument 339 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); in sctp_transport_update_rto() 341 + (rtt >> net->sctp.rto_alpha); in sctp_transport_update_rto() 346 tp->srtt = rtt; in sctp_transport_update_rto() 347 tp->rttvar = rtt >> 1; in sctp_transport_update_rto() 372 tp->rtt = rtt; in sctp_transport_update_rto() 380 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto() 535 transport->rtt)) { in sctp_transport_lower_cwnd() 629 t->rtt = 0; in sctp_transport_reset()
|
D | outqueue.c | 1391 __u32 rtt; in sctp_check_transmitted() local 1446 rtt = jiffies - tchunk->sent_at; in sctp_check_transmitted() 1448 rtt); in sctp_check_transmitted()
|
D | socket.c | 632 trans->rtt = trans->srtt = trans->rttvar = 0; in sctp_send_asconf_add_ip()
|
/net/rxrpc/ |
D | peer_event.c | 318 s64 rtt; in rxrpc_peer_add_rtt() local 322 rtt = ktime_to_ns(ktime_sub(resp_time, send_time)); in rxrpc_peer_add_rtt() 323 if (rtt < 0) in rxrpc_peer_add_rtt() 328 sum += rtt; in rxrpc_peer_add_rtt() 329 peer->rtt_cache[cursor] = rtt; in rxrpc_peer_add_rtt() 345 peer->rtt = avg; in rxrpc_peer_add_rtt() 346 trace_rxrpc_rtt_rx(call, why, send_serial, resp_serial, rtt, in rxrpc_peer_add_rtt()
|
D | call_event.c | 298 if (ktime_to_ns(ack_ts) < call->peer->rtt) in rxrpc_resend()
|
D | ar-internal.h | 256 u64 rtt; /* Current RTT estimate (in nS) */ member
|
D | input.c | 102 call->peer->rtt))) in rxrpc_congestion_management()
|
/net/decnet/ |
D | dn_nsp_out.c | 165 static void dn_nsp_rtt(struct sock *sk, long rtt) in dn_nsp_rtt() argument 177 if (rtt < 0) in dn_nsp_rtt() 178 rtt = -rtt; in dn_nsp_rtt() 182 delta = ((rtt << 3) - srtt); in dn_nsp_rtt()
|
/net/sunrpc/ |
D | xprt.c | 550 struct rpc_rtt *rtt = clnt->cl_rtt; in xprt_set_retrans_timeout_rtt() local 554 task->tk_timeout = rpc_calc_rto(rtt, timer); in xprt_set_retrans_timeout_rtt() 555 task->tk_timeout <<= rpc_ntimeo(rtt, timer) + req->rq_retries; in xprt_set_retrans_timeout_rtt() 848 struct rpc_rtt *rtt = task->tk_client->cl_rtt; in xprt_update_rtt() local 854 rpc_update_rtt(rtt, timer, m); in xprt_update_rtt() 855 rpc_set_timeo(rtt, timer, req->rq_ntrans - 1); in xprt_update_rtt()
|
/net/batman-adv/ |
D | tp_meter.c | 642 u32 rtt, recv_ack, cwnd; in batadv_tp_recv_ack() local 674 rtt = jiffies_to_msecs(jiffies) - ntohl(icmp->timestamp); in batadv_tp_recv_ack() 675 if (icmp->timestamp && rtt) in batadv_tp_recv_ack() 676 batadv_tp_update_rto(tp_vars, rtt); in batadv_tp_recv_ack()
|