/linux-master/net/ipv4/ |
H A D | tcp_cdg.c | 80 struct cdg_minmax rtt; member in struct:cdg 145 ca->delay_min = min_not_zero(ca->delay_min, ca->rtt.min); 178 if (ca->rtt.min > thresh) { 192 s32 gmin = ca->rtt.min - ca->rtt_prev.min; 193 s32 gmax = ca->rtt.max - ca->rtt_prev.max; 272 if (after(ack, ca->rtt_seq) && ca->rtt.v64) { 278 ca->rtt_prev = ca->rtt; 279 ca->rtt.v64 = 0; 316 ca->rtt.min = min(ca->rtt [all...] |
H A D | tcp_westwood.c | 40 u32 rtt; member in struct:westwood 71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; 109 w->rtt = usecs_to_jiffies(sample->rtt_us); 140 if (w->rtt && delta > max_t(u32, w->rtt, TCP_WESTWOOD_RTT_MIN)) { 151 w->rtt_min = w->rtt; 154 w->rtt_min = min(w->rtt, w->rtt_min); 270 info->vegas.tcpv_rtt = jiffies_to_usecs(ca->rtt);
|
H A D | tcp_yeah.c | 20 #define TCP_YEAH_GAMMA 1 /* fraction of queue to be removed per rtt */ 24 #define TCP_YEAH_RHO 16 /* minimum number of consecutive rtt to consider competition on loss */ 91 * (v_beg_snd_nxt - v_vegas.beg_snd_una) / (rtt duration) 114 u32 rtt, queue; local 128 rtt = yeah->vegas.minRTT; 134 bw *= rtt - yeah->vegas.baseRTT; 135 do_div(bw, rtt); 139 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) {
|
H A D | tcp_veno.c | 28 u8 doing_veno_now; /* if true, do veno for this rtt */ 29 u16 cntrtt; /* # of rtts measured within last rtt */ 30 u32 minrtt; /* min of rtts measured within last rtt (in usec) */ 31 u32 basertt; /* the min of all Veno rtt measurements seen (in usec) */ 72 /* Do rtt sampling needed for Veno. */ 82 /* Never allow zero rtt or baseRTT */ 89 /* Find the min rtt during the last rtt to find 107 * until we get fresh rtt samples. So when we 133 /* We do the Veno calculations only if we got enough rtt sample 141 u32 rtt; local [all...] |
H A D | tcp_vegas.c | 119 /* Never allow zero rtt or baseRTT */ 198 u32 rtt, diff; local 212 rtt = vegas->minRTT; 221 do_div(target_cwnd, rtt); 227 diff = tcp_snd_cwnd(tp) * (rtt-vegas->baseRTT) / vegas->baseRTT;
|
H A D | tcp_metrics.c | 347 unsigned long rtt; local 357 /* This session failed to estimate rtt. Why? 371 rtt = tcp_metric_get(tm, TCP_METRIC_RTT); 372 m = rtt - tp->srtt_us; 374 /* If newly calculated rtt larger than stored one, store new 375 * one. Otherwise, use EWMA. Remember, rtt overestimation is 380 rtt = tp->srtt_us; 382 rtt -= (m >> 3); 383 tcp_metric_set(tm, TCP_METRIC_RTT, rtt);
|
H A D | tcp_lp.c | 217 * @sk: socket to add a rtt sample to 218 * @rtt: round trip time, which is ignored! 227 static void tcp_lp_rtt_sample(struct sock *sk, u32 rtt) argument
|
/linux-master/net/ax25/ |
H A D | ax25_subr.c | 239 ax25->t1 = t * ax25->rtt; 251 ax25->rtt = (9 * ax25->rtt + ax25->t1 - ax25_display_timer(&ax25->t1timer)) / 10; 253 if (ax25->rtt < AX25_T1CLAMPLO) 254 ax25->rtt = AX25_T1CLAMPLO; 256 if (ax25->rtt > AX25_T1CLAMPHI) 257 ax25->rtt = AX25_T1CLAMPHI;
|
H A D | af_ax25.c | 420 ax25->rtt = (ax25_ctl.arg * HZ) / 2; 472 ax25->rtt = msecs_to_jiffies(ax25_dev->values[AX25_VALUES_T1]) / 2; 506 ax25->rtt = msecs_to_jiffies(AX25_DEF_T1) / 2; 598 ax25->rtt = (opt * HZ) >> 1; 955 ax25->rtt = oax25->rtt; 1952 * 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 1977 ax25->rtt / HZ,
|
/linux-master/fs/afs/ |
H A D | vl_probe.c | 21 server->rtt = UINT_MAX; 120 if (rtt_us < server->probe.rtt) { 121 server->probe.rtt = rtt_us; 122 server->rtt = rtt_us; 126 smp_wmb(); /* Set rtt before responded. */ 135 _debug("probe [%u][%u] %pISpc rtt=%d ret=%d", 169 server->probe.rtt = UINT_MAX; 233 unsigned int rtt = UINT_MAX, rtt_s; local 289 rtt_s = READ_ONCE(server->rtt); 291 rtt_s < rtt) { [all...] |
H A D | vl_rotate.c | 98 unsigned int rtt; local 215 rtt = UINT_MAX; 222 if (s->probe.rtt <= rtt) { 224 rtt = s->probe.rtt;
|
H A D | fs_probe.c | 86 server->rtt = UINT_MAX; 212 if (rtt_us < estate->rtt) { 213 estate->rtt = rtt_us; 214 server->rtt = rtt_us; 218 smp_wmb(); /* Set rtt before responded. */ 226 _debug("probe[%x] %pU [%u] %pISpc rtt=%d ret=%d", 253 estate->rtt = UINT_MAX;
|
/linux-master/net/rxrpc/ |
H A D | Makefile | 30 rtt.o \
|
H A D | sendmsg.c | 132 signed long rtt, timeout; local 134 rtt = READ_ONCE(call->peer->srtt_us) >> 3; 135 rtt = usecs_to_jiffies(rtt) * 2; 136 if (rtt < 2) 137 rtt = 2; 139 timeout = rtt; 156 timeout = rtt;
|
/linux-master/samples/bpf/ |
H A D | hbm_kern.h | 75 int rtt; member in struct:hbm_pkt_info 95 pkti->rtt = tp->srtt_us >> 3; 103 pkti->rtt = 0; 115 pkti->rtt = 0; 192 if (pkti->rtt) 194 pkti->rtt);
|
/linux-master/drivers/rtc/ |
H A D | rtc-at91sam9.c | 69 void __iomem *rtt; member in struct:sam9_rtc 82 readl((rtc)->rtt + AT91_RTT_ ## field) 84 writel((val), (rtc)->rtt + AT91_RTT_ ## field) 360 rtc->rtt = devm_platform_ioremap_resource(pdev, 0); 361 if (IS_ERR(rtc->rtt)) 362 return PTR_ERR(rtc->rtt); 365 "atmel,rtt-rtc-time-reg", 1, 0, 525 { .compatible = "atmel,at91sam9260-rtt" },
|
/linux-master/drivers/target/iscsi/ |
H A D | iscsi_target_tmr.c | 40 ref_cmd = iscsit_find_cmd_from_itt(conn, hdr->rtt); 43 " %hu.\n", hdr->rtt, conn->cid); 55 se_tmr->ref_task_tag = (__force u32)hdr->rtt; 119 hdr->itt, hdr->rtt, hdr->exp_datasn, conn->cid); 127 ret = iscsit_find_cmd_for_recovery(conn->sess, &ref_cmd, &cr, hdr->rtt); 134 " connection recovery command list.\n", hdr->rtt); 164 se_tmr->ref_task_tag = (__force u32)hdr->rtt;
|
/linux-master/net/sctp/ |
H A D | transport.c | 488 void sctp_transport_update_rto(struct sctp_transport *tp, __u32 rtt) argument 508 + (((__u32)abs((__s64)tp->srtt - (__s64)rtt)) >> net->sctp.rto_beta); 510 + (rtt >> net->sctp.rto_alpha); 515 tp->srtt = rtt; 516 tp->rttvar = rtt >> 1; 541 tp->rtt = rtt; 548 pr_debug("%s: transport:%p, rtt:%d, srtt:%d rttvar:%d, rto:%ld\n", 549 __func__, tp, rtt, tp->srtt, tp->rttvar, tp->rto); 714 transport->rtt)) { [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | ftm-initiator.c | 1053 s64 rtt_avg, rtt = res->ftm.rtt_avg; local 1060 WARN_ON(rtt < 0); 1084 resp->rtt_avg = rtt; 1093 resp->rtt_avg = rtt; 1105 rtt_avg = div_s64(alpha * rtt + (100 - alpha) * resp->rtt_avg, 100); 1108 "%pM: prev rtt_avg=%lld, new rtt_avg=%lld, rtt=%lld\n", 1109 resp->addr, resp->rtt_avg, rtt_avg, rtt); 1118 if (rtt_avg > rtt && (rtt_avg - rtt) > undershoot) { 1123 (rtt_avg - rtt)); [all...] |
/linux-master/drivers/nvdimm/ |
H A D | btt.h | 156 * @rtt: Pointer to in-memory "Read Tracking Table" 188 u32 *rtt; member in struct:arena_info
|
/linux-master/arch/arc/kernel/ |
H A D | setup.c | 297 int ap_num, ap_full, smart, rtt, n; local 342 rtt = bcr.ver ? 1 : 0; 344 if (ap.ver | smart | rtt) { 347 IS_AVAIL1(rtt, "RTT "));
|
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | location.h | 546 * @IWL_INITIATOR_AP_FLAGS_ALGO_LR: Use LR algo type for rtt calculation. 548 * @IWL_INITIATOR_AP_FLAGS_ALGO_FFT: Use FFT algo type for rtt calculation. 1297 * @rtt: The Round Trip Time that took for the last measurement for 1323 __le32 rtt; member in struct:iwl_tof_range_rsp_ap_entry_ntfy_v3 1346 * @rtt: The Round Trip Time that took for the last measurement for 1375 __le32 rtt; member in struct:iwl_tof_range_rsp_ap_entry_ntfy_v4 1399 * @rtt: The Round Trip Time that took for the last measurement for 1423 * @rttConfidence: a value between 0 - 31 that represents the rtt accuracy. 1430 __le32 rtt; member in struct:iwl_tof_range_rsp_ap_entry_ntfy_v5 1456 * @rtt 1491 __le32 rtt; member in struct:iwl_tof_range_rsp_ap_entry_ntfy_v6 [all...] |
/linux-master/fs/gfs2/ |
H A D | lock_dlm.c | 35 * @delta is the difference between the current rtt sample and the 64 * The rtt (lock round trip time) is an estimate of the time 81 s64 rtt; local 84 rtt = ktime_to_ns(ktime_sub(ktime_get_real(), gl->gl_dstamp)); 86 gfs2_update_stats(&gl->gl_stats, index, rtt); /* Local */ 87 gfs2_update_stats(&lks->lkstats[gltype], index, rtt); /* Global */ 90 trace_gfs2_glock_lock_time(gl, rtt);
|
/linux-master/include/scsi/ |
H A D | iscsi_proto.h | 281 itt_t rtt; /* Reference Task Tag */ member in struct:iscsi_tm 313 itt_t rtt; /* Reference Task Tag */ member in struct:iscsi_tm_rsp
|
/linux-master/net/batman-adv/ |
H A D | tp_meter.c | 186 m -= (tp_vars->srtt >> 3); /* m is now error in rtt est */ 187 tp_vars->srtt += m; /* rtt = 7/8 srtt + 1/8 new */ 636 u32 rtt, recv_ack, cwnd; local 667 rtt = jiffies_to_msecs(jiffies) - ntohl(icmp->timestamp); 668 if (icmp->timestamp && rtt) 669 batadv_tp_update_rto(tp_vars, rtt);
|