/* Round a given value up to a multiple of n (assuming n is a power of 2). */
#define ROUND_UP(s, n) (((s) + (n) - 1) & (~(n - 1)))
/* Round a given value up to a multiple of n (assuming n is a power of 2). */
#define ROUND_UP(s, n) (((s) + (n) - 1) & (~(n - 1)))