Lines Matching refs:rate64
394 u64 rate64 = 0; in tcp_compute_delivery_rate() local
397 rate64 = (u64)rate * tp->mss_cache * USEC_PER_SEC; in tcp_compute_delivery_rate()
398 do_div(rate64, intv); in tcp_compute_delivery_rate()
400 return rate64; in tcp_compute_delivery_rate()
3201 u64 rate64; in tcp_get_info() local
3212 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info()
3213 info->tcpi_pacing_rate = rate64; in tcp_get_info()
3216 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_info()
3217 info->tcpi_max_pacing_rate = rate64; in tcp_get_info()
3297 rate64 = tcp_compute_delivery_rate(tp); in tcp_get_info()
3298 if (rate64) in tcp_get_info()
3299 info->tcpi_delivery_rate = rate64; in tcp_get_info()
3346 u64 rate64; in tcp_get_timestamping_opt_stats() local
3365 rate64 = (rate != ~0UL) ? rate : ~0ULL; in tcp_get_timestamping_opt_stats()
3366 nla_put_u64_64bit(stats, TCP_NLA_PACING_RATE, rate64, TCP_NLA_PAD); in tcp_get_timestamping_opt_stats()
3368 rate64 = tcp_compute_delivery_rate(tp); in tcp_get_timestamping_opt_stats()
3369 nla_put_u64_64bit(stats, TCP_NLA_DELIVERY_RATE, rate64, TCP_NLA_PAD); in tcp_get_timestamping_opt_stats()