Home
last modified time | relevance | path

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

/linux-5.19.10/lib/dim/
Ddim.c62 u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); in dim_calc_stats()
63 u32 nbytes = BIT_GAP(BITS_PER_TYPE(u32), end->byte_ctr, in dim_calc_stats()
65 u32 ncomps = BIT_GAP(BITS_PER_TYPE(u32), end->comp_ctr, in dim_calc_stats()
Dnet_dim.c225 nevents = BIT_GAP(BITS_PER_TYPE(u16), in net_dim()
/linux-5.19.10/include/linux/
Ddim.h30 #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) \ macro