/linux-3.4.99/net/ipv4/ |
D | tcp_westwood.c | 39 u32 rtt; member 71 w->rtt_min = w->rtt = TCP_WESTWOOD_INIT_RTT; in tcp_westwood_init() 103 static void tcp_westwood_pkts_acked(struct sock *sk, u32 cnt, s32 rtt) in tcp_westwood_pkts_acked() argument 107 if (rtt > 0) in tcp_westwood_pkts_acked() 108 w->rtt = usecs_to_jiffies(rtt); 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() 266 .tcpv_rtt = jiffies_to_usecs(ca->rtt), in tcp_westwood_info()
|
D | tcp_illinois.c | 86 static void tcp_illinois_acked(struct sock *sk, u32 pkts_acked, s32 rtt) in tcp_illinois_acked() argument 93 if (rtt < 0) in tcp_illinois_acked() 97 if (rtt > RTT_MAX) in tcp_illinois_acked() 98 rtt = RTT_MAX; in tcp_illinois_acked() 101 if (ca->base_rtt > rtt) in tcp_illinois_acked() 102 ca->base_rtt = rtt; in tcp_illinois_acked() 105 if (ca->max_rtt < rtt) in tcp_illinois_acked() 106 ca->max_rtt = rtt; in tcp_illinois_acked() 109 ca->sum_rtt += rtt; in tcp_illinois_acked()
|
D | tcp_yeah.c | 134 u32 rtt, queue; in tcp_yeah_cong_avoid() local 148 rtt = yeah->vegas.minRTT; in tcp_yeah_cong_avoid() 154 bw *= rtt - yeah->vegas.baseRTT; in tcp_yeah_cong_avoid() 155 do_div(bw, rtt); in tcp_yeah_cong_avoid() 159 rtt - yeah->vegas.baseRTT > (yeah->vegas.baseRTT / TCP_YEAH_PHY)) { in tcp_yeah_cong_avoid()
|
D | tcp_vegas.c | 199 u32 rtt, diff; in tcp_vegas_cong_avoid() local 213 rtt = vegas->minRTT; in tcp_vegas_cong_avoid() 221 target_cwnd = tp->snd_cwnd * vegas->baseRTT / rtt; in tcp_vegas_cong_avoid() 227 diff = tp->snd_cwnd * (rtt-vegas->baseRTT) / vegas->baseRTT; in tcp_vegas_cong_avoid()
|
D | tcp_veno.c | 139 u32 rtt; in tcp_veno_cong_avoid() local 145 rtt = veno->minrtt; in tcp_veno_cong_avoid() 149 do_div(target_cwnd, rtt); in tcp_veno_cong_avoid()
|
D | tcp_htcp.c | 101 static void measure_achieved_throughput(struct sock *sk, u32 pkts_acked, s32 rtt) in measure_achieved_throughput() argument 111 if (rtt > 0) in measure_achieved_throughput() 112 measure_rtt(sk, usecs_to_jiffies(rtt)); in measure_achieved_throughput()
|
D | tcp_bic.c | 203 static void bictcp_acked(struct sock *sk, u32 cnt, s32 rtt) in bictcp_acked() argument
|
D | tcp_lp.c | 220 static void tcp_lp_rtt_sample(struct sock *sk, u32 rtt) in tcp_lp_rtt_sample() argument
|
/linux-3.4.99/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 | 406 ax25->rtt = (ax25_ctl.arg * HZ) / 2; in ax25_ctl_ioctl() 457 ax25->rtt = msecs_to_jiffies(ax25_dev->values[AX25_VALUES_T1]) / 2; in ax25_fillin_cb_from_dev() 491 ax25->rtt = msecs_to_jiffies(AX25_DEF_T1) / 2; in ax25_fillin_cb() 583 ax25->rtt = (opt * HZ) >> 1; in ax25_setsockopt() 924 ax25->rtt = oax25->rtt; in ax25_make_new() 1908 ax25->rtt / HZ, in ax25_info_show()
|
/linux-3.4.99/net/sctp/ |
D | transport.c | 299 void sctp_transport_update_rto(struct sctp_transport *tp, __u32 rtt) in sctp_transport_update_rto() argument 320 + ((abs(tp->srtt - rtt)) >> sctp_rto_beta); in sctp_transport_update_rto() 322 + (rtt >> sctp_rto_alpha); in sctp_transport_update_rto() 327 tp->srtt = rtt; in sctp_transport_update_rto() 328 tp->rttvar = rtt >> 1; in sctp_transport_update_rto() 352 tp->rtt = rtt; in sctp_transport_update_rto() 361 tp, rtt, tp->srtt, tp->rttvar, tp->rto); in sctp_transport_update_rto() 517 transport->rtt)) { in sctp_transport_lower_cwnd() 608 t->rtt = 0; in sctp_transport_reset()
|
D | outqueue.c | 1335 __u32 rtt; in sctp_check_transmitted() local 1402 rtt = jiffies - tchunk->sent_at; in sctp_check_transmitted() 1404 rtt); in sctp_check_transmitted()
|
/linux-3.4.99/drivers/rtc/ |
D | rtc-at91sam9.c | 57 void __iomem *rtt; member 64 __raw_readl((rtc)->rtt + AT91_RTT_ ## field) 66 __raw_writel((val), (rtc)->rtt + AT91_RTT_ ## field) 314 rtc->rtt = ioremap(r->start, resource_size(r)); in at91_rtc_probe() 315 if (!rtc->rtt) { in at91_rtc_probe() 372 iounmap(rtc->rtt); in at91_rtc_probe() 394 iounmap(rtc->rtt); in at91_rtc_remove()
|
/linux-3.4.99/drivers/target/iscsi/ |
D | iscsi_target_tmr.c | 48 ref_cmd = iscsit_find_cmd_from_itt(conn, hdr->rtt); in iscsit_tmr_abort_task() 51 " %hu.\n", hdr->rtt, conn->cid); in iscsit_tmr_abort_task() 63 se_tmr->ref_task_tag = hdr->rtt; in iscsit_tmr_abort_task() 131 hdr->itt, hdr->rtt, hdr->exp_datasn, conn->cid); in iscsit_tmr_task_reassign() 139 ret = iscsit_find_cmd_for_recovery(conn->sess, &ref_cmd, &cr, hdr->rtt); in iscsit_tmr_task_reassign() 146 " connection recovery command list.\n", hdr->rtt); in iscsit_tmr_task_reassign() 161 se_tmr->ref_task_tag = hdr->rtt; in iscsit_tmr_task_reassign()
|
/linux-3.4.99/arch/arm/mach-at91/ |
D | pm.c | 54 static char rtt[] __initdata = "rtt"; in show_reset_status() local 80 reason = rtt; in show_reset_status()
|
/linux-3.4.99/net/decnet/ |
D | dn_nsp_out.c | 166 static void dn_nsp_rtt(struct sock *sk, long rtt) in dn_nsp_rtt() argument 178 if (rtt < 0) in dn_nsp_rtt() 179 rtt = -rtt; in dn_nsp_rtt() 183 delta = ((rtt << 3) - srtt); in dn_nsp_rtt()
|
/linux-3.4.99/Documentation/devicetree/bindings/arm/ |
D | atmel-at91.txt | 78 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up. 82 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up.
|
/linux-3.4.99/net/sunrpc/ |
D | xprt.c | 548 struct rpc_rtt *rtt = clnt->cl_rtt; in xprt_set_retrans_timeout_rtt() local 552 task->tk_timeout = rpc_calc_rto(rtt, timer); in xprt_set_retrans_timeout_rtt() 553 task->tk_timeout <<= rpc_ntimeo(rtt, timer) + req->rq_retries; in xprt_set_retrans_timeout_rtt() 789 struct rpc_rtt *rtt = task->tk_client->cl_rtt; in xprt_update_rtt() local 795 rpc_update_rtt(rtt, timer, m); in xprt_update_rtt() 796 rpc_set_timeo(rtt, timer, req->rq_ntrans - 1); in xprt_update_rtt()
|
/linux-3.4.99/fs/gfs2/ |
D | lock_dlm.c | 77 s64 rtt; in gfs2_update_reply_times() local 80 rtt = ktime_to_ns(ktime_sub(ktime_get_real(), gl->gl_dstamp)); in gfs2_update_reply_times() 82 gfs2_update_stats(&gl->gl_stats, index, rtt); /* Local */ in gfs2_update_reply_times() 83 gfs2_update_stats(&lks->lkstats[gltype], index, rtt); /* Global */ in gfs2_update_reply_times() 86 trace_gfs2_glock_lock_time(gl, rtt); in gfs2_update_reply_times()
|
/linux-3.4.99/include/net/ |
D | dst.h | 226 unsigned long rtt) in set_dst_metric_rtt() argument 228 dst_metric_set(dst, metric, jiffies_to_msecs(rtt)); in set_dst_metric_rtt()
|
D | ax25.h | 236 unsigned long t1, t2, t3, idle, rtt; member
|
/linux-3.4.99/drivers/net/wireless/ath/ath9k/ |
D | ar9003_calib.c | 931 bool rtt = !!(ah->caps.hw_caps & ATH9K_HW_CAP_RTT); in ar9003_hw_init_cal() local 944 if (rtt) { in ar9003_hw_init_cal() 959 if (rtt && !run_rtt_cal) { in ar9003_hw_init_cal() 1027 if (rtt && !run_rtt_cal) { in ar9003_hw_init_cal()
|
/linux-3.4.99/include/scsi/ |
D | iscsi_proto.h | 292 itt_t rtt; /* Reference Task Tag */ member 324 itt_t rtt; /* Reference Task Tag */ member
|
/linux-3.4.99/include/linux/ |
D | tcp.h | 444 u32 rtt; member
|
/linux-3.4.99/drivers/block/aoe/ |
D | aoecmd.c | 687 calc_rttavg(struct aoedev *d, int rtt) in calc_rttavg() argument 691 n = rtt; in calc_rttavg() 693 n = -rtt; in calc_rttavg()
|