Searched refs:is_power_of_2 (Results 1 – 9 of 9) sorted by relevance
268 bool is_power_of_2(unsigned long n) in is_power_of_2() function
708 else if (!is_power_of_2(pages)) in perf_evlist__mmap()
352 ld->is_pow2 = is_power_of_2(ld->entries); in fio_libaio_init()
608 static inline int is_power_of_2(uint64_t val) in is_power_of_2() function
362 if (is_power_of_2(td->o.kb_base)) in calc_thread_status()
272 const int i2p = is_power_of_2(rs->kb_base); in show_group_stats()378 i2p = is_power_of_2(rs->kb_base); in show_ddir_status()
476 if (!td->o.bs_unaligned && is_power_of_2(minbs)) in __get_next_buflen()
1191 i2p = is_power_of_2(rs->kb_base);
237 } else if (!is_power_of_2(opts->mmap_pages) && in perf_record__open()