Searched refs:is_power_of_2 (Results 1 – 15 of 15) sorted by relevance
7 static inline bool is_power_of_2(uint64_t val) in is_power_of_2() function
39 static int is_power_of_2(int x) in is_power_of_2() function216 if (!is_power_of_2(alignsize)) in main()
62 #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
194 static int __constfunc is_power_of_2(unsigned int x) in is_power_of_2() function203 if (!is_power_of_2(mi->win_size) || in vesacon_paged_mode_ok()204 !is_power_of_2(mi->win_grain) || mi->win_grain > mi->win_size) in vesacon_paged_mode_ok()
40 static inline bool is_power_of_2(uint32_t x) in is_power_of_2() function370 is_power_of_2(edd_params.sector_size)) in bios_disk_init()
173 static inline int is_power_of_2(unsigned long long n) in is_power_of_2() function
361 ld->is_pow2 = is_power_of_2(ld->entries); in fio_libaio_init()
276 J_ASSERT(is_power_of_2(hash_size)); in journal_init_revoke()
395 if (is_power_of_2(td->o.kb_base)) in calc_thread_status()
589 i2p = is_power_of_2(o->kb_base); in gfio_add_job_op()1166 i2p = is_power_of_2(rs->kb_base); in gfio_show_ddir_status()
290 const int i2p = is_power_of_2(rs->kb_base); in show_group_stats()402 i2p = is_power_of_2(rs->kb_base); in show_ddir_status()681 const int i2p = is_power_of_2(ts->kb_base); in show_ss_normal()
548 if (o->pow2 && !is_power_of_2(ull)) { in __handle_option()
581 power_2 = is_power_of_2(minbs); in __get_next_buflen()
1523 int i2p = is_power_of_2(o->kb_base); in add_job()