Home
last modified time | relevance | path

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

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dnet_dim.h349 #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) & (BIT_ULL(bits) - 1)) macro
358 u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); in net_dim_calc_stats()
359 u32 nbytes = BIT_GAP(BITS_PER_TYPE(u32), end->byte_ctr, in net_dim_calc_stats()
383 nevents = BIT_GAP(BITS_PER_TYPE(u16), in net_dim()