| /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/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()
|
| H A D | input_rack.c | 69 ktime_t rtt = ktime_sub(call->acks_latest_ts, xmit_ts); in rxrpc_rack_update() local 78 if (rtt < minmax_get(&call->min_rtt)) in rxrpc_rack_update() 89 call->rack_rtt = rtt; in rxrpc_rack_update() 94 call->rack_rtt = rtt; in rxrpc_rack_update()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ftm-initiator.c | 1134 s64 rtt_avg, rtt = res->ftm.rtt_avg; in iwl_mvm_ftm_rtt_smoothing() local 1141 WARN_ON(rtt < 0); in iwl_mvm_ftm_rtt_smoothing() 1165 resp->rtt_avg = rtt; in iwl_mvm_ftm_rtt_smoothing() 1174 resp->rtt_avg = rtt; in iwl_mvm_ftm_rtt_smoothing() 1186 rtt_avg = div_s64(alpha * rtt + (100 - alpha) * resp->rtt_avg, 100); in iwl_mvm_ftm_rtt_smoothing() 1190 resp->addr, resp->rtt_avg, rtt_avg, rtt); in iwl_mvm_ftm_rtt_smoothing() 1199 if (rtt_avg > rtt && (rtt_avg - rtt) > undershoot) { in iwl_mvm_ftm_rtt_smoothing() 1204 (rtt_avg - rtt)); in iwl_mvm_ftm_rtt_smoothing() 1205 } else if (rtt_avg < rtt && (rtt - rtt_avg) > in iwl_mvm_ftm_rtt_smoothing() 1210 (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-qil_a9260.dts | 113 atmel,wakeup-rtt-timer;
|
| H A D | at91-sama7d65_curiosity.dts | 435 &rtt { 436 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
| H A D | sama7g5.dtsi | 280 atmel,wakeup-rtt-timer; 284 rtt: rtc@e001d020 { label 285 compatible = "microchip,sama7g5-rtt", "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
|
| H A D | at91-sama7g54_curiosity.dts | 497 &rtt { 498 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
| H A D | at91-sam9x60_curiosity.dts | 443 &rtt { 444 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
| H A D | at91sam9rlek.dts | 216 atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
|
| /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/drivers/nvdimm/ |
| H A D | btt.c | 724 arena->rtt = kcalloc(arena->nfree, sizeof(u32), GFP_KERNEL); in btt_rtt_init() 725 if (arena->rtt == NULL) in btt_rtt_init() 808 kfree(arena->rtt); in free_arenas() 931 kfree(arena->rtt); in discover_arenas() 1244 arena->rtt[lane] = RTT_VALID | postmap; in btt_read_pg() 1281 arena->rtt[lane] = RTT_INVALID; in btt_read_pg() 1292 arena->rtt[lane] = RTT_INVALID; in btt_read_pg() 1359 while (arena->rtt[i] == (RTT_VALID | new_postmap)) in btt_write_pg()
|
| H A D | btt.h | 188 u32 *rtt; member
|
| /linux/include/trace/events/ |
| H A D | rxrpc.h | 1616 u32 rtt, u32 srtt, u32 rto), 1618 TP_ARGS(call, why, slot, send_serial, resp_serial, rtt, srtt, rto), 1626 __field(u32, rtt) 1638 __entry->rtt = rtt; 1650 __entry->rtt, 1952 TP_PROTO(struct rxrpc_call *call, ktime_t since_last_tx, ktime_t rtt), 1954 TP_ARGS(call, since_last_tx, rtt), 1964 __field(ktime_t, rtt) 1976 __entry->rtt = rtt; 1988 ktime_to_us(__entry->rtt),
|
| /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/net/sunrpc/ |
| H A D | xprt.c | 1198 struct rpc_rtt *rtt = task->tk_client->cl_rtt; in xprt_update_rtt() local 1204 rpc_update_rtt(rtt, timer, m); in xprt_update_rtt() 1205 rpc_set_timeo(rtt, timer, req->rq_ntrans - 1); in xprt_update_rtt() 1281 struct rpc_rtt *rtt = clnt->cl_rtt; in xprt_wait_for_reply_request_rtt() local 1286 timeout = rpc_calc_rto(rtt, timer); in xprt_wait_for_reply_request_rtt() 1287 timeout <<= rpc_ntimeo(rtt, timer) + req->rq_retries; in xprt_wait_for_reply_request_rtt()
|
| /linux/net/batman-adv/ |
| H A D | tp_meter.c | 793 u32 rtt; in batadv_tp_recv_ack() local 825 rtt = jiffies_to_msecs(jiffies) - ntohl(icmp->timestamp); in batadv_tp_recv_ack() 826 if (icmp->timestamp && rtt) in batadv_tp_recv_ack() 827 batadv_tp_update_rto(tp_vars, rtt); in batadv_tp_recv_ack()
|