| /linux/net/ipv4/ |
| H A D | tcp_westwood.c | 40 u32 rtt; member 71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init() 109 w->rtt = usecs_to_jiffies(sample->rtt_us); in tcp_westwood_pkts_acked() 140 if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { in westwood_update_window() 151 w->rtt_min = w->rtt; in update_rtt_min() 154 w->rtt_min = min(w->rtt, w->rtt_min); in update_rtt_min() 270 info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt); in tcp_westwood_info()
|
| H A D | tcp_yeah.c | 114 u32 rtt, queue; in tcp_yeah_cong_avoid() local 128 rtt = yeah->vegas.minRTT; in tcp_yeah_cong_avoid() 134 bw *= rtt - yeah->vegas.baseRTT; in tcp_yeah_cong_avoid() 135 do_div(bw, rtt); in tcp_yeah_cong_avoid() 139 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) { in tcp_yeah_cong_avoid()
|
| H A D | tcp_vegas.c | 198 u32 rtt, diff; in tcp_vegas_cong_avoid() local 212 rtt = vegas->minRTT; in tcp_vegas_cong_avoid() 221 do_div(target_cwnd, rtt); in tcp_vegas_cong_avoid() 227 diff = tcp_snd_cwnd(tp) * (rtt-vegas->baseRTT) / vegas->baseRTT; in tcp_vegas_cong_avoid()
|
| H A D | tcp_veno.c | 141 u32 rtt; in tcp_veno_cong_avoid() local 147 rtt = veno->minrtt; in tcp_veno_cong_avoid() 151 do_div(target_cwnd, rtt); in tcp_veno_cong_avoid()
|
| /linux/fs/afs/ |
| H A D | vl_probe.c | 21 server->rtt = UINT_MAX; in afs_finished_vl_probe() 120 if (rtt_us < server->probe.rtt) { in afs_vlserver_probe_result() 121 server->probe.rtt = rtt_us; in afs_vlserver_probe_result() 122 server->rtt = rtt_us; in afs_vlserver_probe_result() 169 server->probe.rtt = UINT_MAX; in afs_do_probe_vlserver() 233 unsigned int rtt = UINT_MAX, rtt_s; in afs_wait_for_vl_probes() local 289 rtt_s = READ_ONCE(server->rtt); in afs_wait_for_vl_probes() 291 rtt_s < rtt) { in afs_wait_for_vl_probes() 293 rtt = rtt_s; in afs_wait_for_vl_probes()
|
| H A D | fs_probe.c | 86 server->rtt = UINT_MAX; in afs_finished_fs_probe() 212 if (rtt_us < estate->rtt) { in afs_fileserver_probe_result() 213 estate->rtt = rtt_us; in afs_fileserver_probe_result() 214 server->rtt = rtt_us; in afs_fileserver_probe_result() 253 estate->rtt = UINT_MAX; in afs_fs_probe_fileserver()
|
| /linux/samples/bpf/ |
| H A D | hbm_kern.h | 75 int rtt; member 95 pkti->rtt = tp->srtt_us >> 3; in get_tcp_info() 103 pkti->rtt = 0; in get_tcp_info() 115 pkti->rtt = 0; in hbm_get_pkt_info() 192 if (pkti->rtt) in hbm_update_stats() 194 pkti->rtt); in hbm_update_stats()
|
| /linux/net/ax25/ |
| H A D | ax25_subr.c | 239 ax25->t1 = t * ax25->rtt; in ax25_calculate_t1() 251 ax25->rtt = (9 * ax25->rtt + ax25->t1 - ax25_display_timer(&ax25->t1timer)) / 10; in ax25_calculate_rtt() 253 if (ax25->rtt < AX25_T1CLAMPLO) in ax25_calculate_rtt() 254 ax25->rtt = AX25_T1CLAMPLO; in ax25_calculate_rtt() 256 if (ax25->rtt > AX25_T1CLAMPHI) in ax25_calculate_rtt() 257 ax25->rtt = AX25_T1CLAMPHI; in ax25_calculate_rtt()
|
| H A D | af_ax25.c | 420 ax25->rtt = (ax25_ctl.arg * HZ) / 2; in ax25_ctl_ioctl() 472 ax25->rtt = msecs_to_jiffies(ax25_dev->values[AX25_VALUES_T1]) / 2; in ax25_fillin_cb_from_dev() 506 ax25->rtt = msecs_to_jiffies(AX25_DEF_T1) / 2; in ax25_fillin_cb() 598 ax25->rtt = (opt * HZ) >> 1; in ax25_setsockopt() 966 ax25->rtt = oax25->rtt; in ax25_make_new() 1959 * magic dev src_addr dest_addr,digi1,digi2,.. st vs vr va t1 t1 t2 t2 t3 t3 idle idle n2 n2 rtt window paclen Snd-Q Rcv-Q inode in ax25_info_show() 1984 ax25->rtt / HZ, in ax25_info_show()
|
| /linux/net/sctp/ |
| H A D | transport.c | 481 void sctp_transport_update_rto(struct sctp_transport *tp, __u32 rtt) in sctp_transport_update_rto() argument 504 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> rto_beta); in sctp_transport_update_rto() 508 + (rtt >> rto_alpha); in sctp_transport_update_rto() 513 tp->srtt = rtt; in sctp_transport_update_rto() 514 tp->rttvar = rtt >> 1; in sctp_transport_update_rto() 539 tp->rtt = rtt; in sctp_transport_update_rto() 547 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto() 712 transport->rtt)) { in sctp_transport_lower_cwnd() 808 t->rtt = 0; in sctp_transport_reset()
|
| /linux/drivers/rtc/ |
| H A D | rtc-at91sam9.c | 69 void __iomem *rtt; member 82 readl((rtc)->rtt + AT91_RTT_ ## field) 84 writel((val), (rtc)->rtt + AT91_RTT_ ## field) 360 rtc->rtt = devm_platform_ioremap_resource(pdev, 0); in at91_rtc_probe() 361 if (IS_ERR(rtc->rtt)) in at91_rtc_probe() 362 return PTR_ERR(rtc->rtt); in at91_rtc_probe()
|
| /linux/net/rxrpc/ |
| H A D | sendmsg.c | 135 signed long rtt, timeout; in rxrpc_wait_for_tx_window_waitall() local 137 rtt = READ_ONCE(call->srtt_us) >> 3; in rxrpc_wait_for_tx_window_waitall() 138 rtt = usecs_to_jiffies(rtt) * 2; in rxrpc_wait_for_tx_window_waitall() 139 if (rtt < 2) in rxrpc_wait_for_tx_window_waitall() 140 rtt = 2; in rxrpc_wait_for_tx_window_waitall() 142 timeout = rtt; in rxrpc_wait_for_tx_window_waitall() 159 timeout = rtt; in rxrpc_wait_for_tx_window_waitall()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ftm-initiator.c | 1103 s64 rtt_avg, rtt = res->ftm.rtt_avg; in iwl_mvm_ftm_rtt_smoothing() local 1110 WARN_ON(rtt < 0); in iwl_mvm_ftm_rtt_smoothing() 1134 resp->rtt_avg = rtt; in iwl_mvm_ftm_rtt_smoothing() 1143 resp->rtt_avg = rtt; in iwl_mvm_ftm_rtt_smoothing() 1155 rtt_avg = div_s64(alpha * rtt + (100 - alpha) * resp->rtt_avg, 100); in iwl_mvm_ftm_rtt_smoothing() 1159 resp->addr, resp->rtt_avg, rtt_avg, rtt); in iwl_mvm_ftm_rtt_smoothing() 1168 if (rtt_avg > rtt && (rtt_avg - rtt) > undershoot) { in iwl_mvm_ftm_rtt_smoothing() 1173 (rtt_avg - rtt)); in iwl_mvm_ftm_rtt_smoothing() 1174 } else if (rtt_avg < rtt && (rtt - rtt_avg) > in iwl_mvm_ftm_rtt_smoothing() 1179 (rtt - rtt_avg)); in iwl_mvm_ftm_rtt_smoothing() [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91sam9260ek.dts | 117 atmel,wakeup-rtt-timer; 121 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
| H A D | usb_a9260.dts | 19 atmel,wakeup-rtt-timer;
|
| H A D | at91sam9g20ek_common.dtsi | 131 atmel,wakeup-rtt-timer; 135 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
| H A D | usb_a9263.dts | 72 atmel,wakeup-rtt-timer;
|
| H A D | at91-sama7d65_curiosity.dts | 435 &rtt { 436 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
| H A D | at91-qil_a9260.dts | 113 atmel,wakeup-rtt-timer;
|
| /linux/arch/arc/kernel/ |
| H A D | setup.c | 297 int ap_num, ap_full, smart, rtt, n; in arc_cpu_mumbojumbo() local 342 rtt = bcr.ver ? 1 : 0; in arc_cpu_mumbojumbo() 344 if (ap.ver | smart | rtt) { in arc_cpu_mumbojumbo() 347 IS_AVAIL1(rtt, "RTT ")); in arc_cpu_mumbojumbo()
|
| /linux/include/trace/events/ |
| H A D | rxrpc.h | 1609 u32 rtt, u32 srtt, u32 rto), 1611 TP_ARGS(call, why, slot, send_serial, resp_serial, rtt, srtt, rto), 1619 __field(u32, rtt) 1631 __entry->rtt = rtt; 1643 __entry->rtt, 1945 TP_PROTO(struct rxrpc_call *call, ktime_t since_last_tx, ktime_t rtt), 1947 TP_ARGS(call, since_last_tx, rtt), 1957 __field(ktime_t, rtt) 1969 __entry->rtt = rtt; 1981 ktime_to_us(__entry->rtt),
|
| /linux/drivers/nvdimm/ |
| H A D | btt.h | 188 u32 *rtt; member
|
| /linux/net/batman-adv/ |
| H A D | tp_meter.c | 636 u32 rtt, recv_ack, cwnd; in batadv_tp_recv_ack() local 667 rtt = jiffies_to_msecs(jiffies) - ntohl(icmp->timestamp); in batadv_tp_recv_ack() 668 if (icmp->timestamp && rtt) in batadv_tp_recv_ack() 669 batadv_tp_update_rto(tp_vars, rtt); in batadv_tp_recv_ack()
|
| /linux/include/scsi/ |
| H A D | iscsi_proto.h | 281 itt_t rtt; /* Reference Task Tag */ member 313 itt_t rtt; /* Reference Task Tag */ member
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | debugfs.c | 174 *val = ccparam->rtt; in map_cc_config_offset_gen0_ext0() 253 ccparam->rtt = val; in bnxt_re_fill_gen0_ext0()
|