Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dnet_dim.h366 #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) & (BIT_ULL(bits) - 1)) macro
374 u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); in net_dim_calc_stats()
375 u32 nbytes = BIT_GAP(BITS_PER_TYPE(u32), end->byte_ctr, in net_dim_calc_stats()
395 nevents = BIT_GAP(BITS_PER_TYPE(u16), in net_dim()