tb_to_ns
#define cputime_to_nsecs(cputime) tb_to_ns(cputime)
unsigned long long tb_to_ns(unsigned long long tb_ticks);
EXPORT_SYMBOL_GPL(tb_to_ns);
tb_to_ns(tb - per_cpu(wd_timer_tb, cpu)) / 1000000);
cpu, tb, last_reset, tb_to_ns(tb - last_reset) / 1000000);
tb_to_ns(tb - per_cpu(wd_timer_tb, cpu)) / 1000000);
tb_to_ns(tb.tb_total),
tb_to_ns(tb.tb_min),
tb_to_ns(tb.tb_max));
dec_nsec = tb_to_ns(kvmppc_dec_expires_host_tb(vcpu) - now);
l1_to_l2_ns = tb_to_ns(be64_to_cpu(lp->l1_to_l2_cs_tb));
l2_to_l1_ns = tb_to_ns(be64_to_cpu(lp->l2_to_l1_cs_tb));
l2_runtime_ns = tb_to_ns(be64_to_cpu(lp->l2_runtime_tb));
return tb_to_ns(be64_to_cpu(get_lppaca()->l1_to_l2_cs_tb));
return tb_to_ns(be64_to_cpu(get_lppaca()->l2_to_l1_cs_tb));
return tb_to_ns(be64_to_cpu(get_lppaca()->l2_runtime_tb));
dec_time = tb_to_ns(dec_time);
return tb_to_ns(be64_to_cpu(READ_ONCE(lppaca->enqueue_dispatch_tb)) +
u64 latency_us = DIV_ROUND_UP_ULL(tb_to_ns(latency_tb), NSEC_PER_USEC);