Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A Dtest_spin_lock.c46 #define CREDIT_PER_NS(delta, rate) (((delta) * rate) >> 20) macro
84 q->credit += CREDIT_PER_NS(curtime - q->lasttime, q->rate); in bpf_sping_lock_test()
/linux/samples/bpf/
A Dhbm_out_kern.c103 new_credit = credit + CREDIT_PER_NS(delta, qdp->rate); in _hbm_out_cg()
119 CREDIT_PER_NS(1000000000, qdp->rate) * 8); in _hbm_out_cg()
A Dhbm_kern.h56 #define CREDIT_PER_NS(delta, rate) ((((u64)(delta)) * (rate)) >> 20) macro

Completed in 9 milliseconds