Searched refs:_bit_roundup2 (Results 1 – 1 of 1) sorted by relevance
81 #define _bit_roundup2 roundup2 macro83 #define _bit_roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) /* if y is powers of two */ macro116 #define bitstr_size(_nbits) (_bit_roundup2(_nbits, _BITSTR_BITS) / 8)