Searched refs:roundup2 (Results 1 – 3 of 3) sorted by relevance
39 #ifndef roundup240 #define roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) /* if y is powers of two */ macro
126 size_t bitmap_size = roundup2(bits, LONG_BIT) / (LONG_BIT / 8); in bitmap_ctor()
2016 #ifndef roundup22017 #define roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) /* if y is powers of two */ macro2058 hdrlen = roundup2(hdrlen, 4); in ieee802_11_print()