Searched refs:is_power_of_two (Results 1 – 4 of 4) sorted by relevance
168 #define is_power_of_two(x) ( !((x) & ((x)-1)) ) macro170 #define is_valid_mask(x) is_power_of_two(1LU + (x) + low_bit_mask(x))
509 #define is_power_of_two(x) ((x) && !((x) & ((x) - 1))) in reader_changes_copy_to_user() macro510 static_assert(is_power_of_two( in reader_changes_copy_to_user()512 #undef is_power_of_two in reader_changes_copy_to_user()
502 is_power_of_two (unsigned long word) in is_power_of_two() function
338 if (is_power_of_two (INFO->journal_block_count)) in reiserfs_mount()