is_power_of_two
bool is_power_of_two = IS_ALIGNED(size, size);
return is_power_of_two && (size & kvm_supported_block_sizes());
#define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x))