Home
last modified time | relevance | path

Searched refs:interval_us (Results 1 – 3 of 3) sorted by relevance

/net/ipv4/
Dtcp_rate.c102 rs->interval_us = tcp_stamp_us_delta(tp->first_tx_mstamp, in tcp_rate_skb_delivered()
141 rs->interval_us = -1; in tcp_rate_gen()
151 snd_us = rs->interval_us; /* send phase */ in tcp_rate_gen()
154 rs->interval_us = max(snd_us, ack_us); in tcp_rate_gen()
167 if (unlikely(rs->interval_us < tcp_min_rtt(tp))) { in tcp_rate_gen()
170 rs->interval_us, rs->delivered, in tcp_rate_gen()
173 rs->interval_us = -1; in tcp_rate_gen()
180 (u64)tp->rate_delivered * rs->interval_us)) { in tcp_rate_gen()
182 tp->rate_interval_us = rs->interval_us; in tcp_rate_gen()
Dtcp_bbr.c438 u64 now_ns, edt_ns, interval_us; in bbr_packets_in_net_at_edt() local
443 interval_us = div_u64(edt_ns - now_ns, NSEC_PER_USEC); in bbr_packets_in_net_at_edt()
444 interval_delivered = (u64)bbr_bw(sk) * interval_us >> BW_SCALE; in bbr_packets_in_net_at_edt()
765 if (rs->delivered < 0 || rs->interval_us <= 0) in bbr_update_bw()
782 bw = div64_long((u64)rs->delivered * BW_UNIT, rs->interval_us); in bbr_update_bw()
822 rs->delivered < 0 || rs->interval_us <= 0) in bbr_update_ack_aggregation()
/net/bridge/
Dbr_cfm.c130 u32 interval_us; in ccm_rx_timer_start() local
132 interval_us = interval_to_us(peer_mep->mep->cc_config.exp_interval); in ccm_rx_timer_start()
138 usecs_to_jiffies(interval_us / 4)); in ccm_rx_timer_start()
272 u32 interval_us; in ccm_tx_work_expired() local
287 interval_us = interval_to_us(mep->cc_config.exp_interval); in ccm_tx_work_expired()
289 usecs_to_jiffies(interval_us)); in ccm_tx_work_expired()