Searched refs:is_power_of_2 (Results 1 – 16 of 16) sorted by relevance
77 static inline int is_power_of_2(unsigned long n) in is_power_of_2() function
465 if (!(is_power_of_2(type & BTRFS_BLOCK_GROUP_PROFILE_MASK) || in btrfs_check_chunk_valid()471 !is_power_of_2(type & BTRFS_BLOCK_GROUP_PROFILE_MASK)) { in btrfs_check_chunk_valid()
50 bool is_power_of_2(unsigned long n) in is_power_of_2() function
39 static int is_power_of_2(int x) in is_power_of_2() function214 if (!is_power_of_2(alignsize)) in main()
67 if (!is_power_of_2(groupsize) || groupsize > 8) in hex_dump_to_buffer()
162 BUG_ON(!is_power_of_2(*info->boot_device_count)); in UNIPHIER_DEFINE_SOCDATA_FUNC()
209 is_power_of_2(__base)) { \
107 return is_power_of_2(div); in clk_divider_is_valid_div()
493 if (!is_power_of_2(ap_size) || ap_size < 4096) in arc_ioc_setup()
657 static inline int is_power_of_2(u64 x) in is_power_of_2() function669 if (data && !is_power_of_2(data->blocksize)) { in bcm2835_send_cmd()
450 if (!is_power_of_2(size)) { in mvebu_config_mbus_bridge()
700 if (!is_power_of_2(ubi->min_io_size)) { in io_init()717 !is_power_of_2(ubi->max_write_size)) { in io_init()
449 if (is_power_of_2(mtd->erasesize)) in add_mtd_device()454 if (is_power_of_2(mtd->writesize)) in add_mtd_device()
720 if (!is_power_of_2(c->min_io_size)) { in init_constants_early()731 !is_power_of_2(c->max_write_size)) { in init_constants_early()
457 if (!is_power_of_2(bufsize)) { in test_addressbus()
1262 if (is_power_of_2(nor->page_size)) { in spi_nor_write()
Completed in 33 milliseconds