Home
last modified time | relevance | path

Searched refs:is_power_of_2 (Results 1 – 15 of 15) sorted by relevance

/external/fio/lib/
Dpow2.h7 static inline bool is_power_of_2(uint64_t val) in is_power_of_2() function
/external/dtc/
Ddtc.c39 static int is_power_of_2(int x) in is_power_of_2() function
216 if (!is_power_of_2(alignsize)) in main()
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h62 #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
/external/syslinux/core/
Dbios.c194 static int __constfunc is_power_of_2(unsigned int x) in is_power_of_2() function
203 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()
/external/syslinux/core/fs/
Ddiskio_bios.c40 static inline bool is_power_of_2(uint32_t x) in is_power_of_2() function
370 is_power_of_2(edd_params.sector_size)) in bios_disk_init()
/external/fio/oslib/
Dlibmtd_common.h173 static inline int is_power_of_2(unsigned long long n) in is_power_of_2() function
/external/fio/engines/
Dlibaio.c361 ld->is_pow2 = is_power_of_2(ld->entries); in fio_libaio_init()
/external/e2fsprogs/e2fsck/
Drevoke.c276 J_ASSERT(is_power_of_2(hash_size)); in journal_init_revoke()
/external/e2fsprogs/debugfs/
Drevoke.c276 J_ASSERT(is_power_of_2(hash_size)); in journal_init_revoke()
/external/fio/
Deta.c395 if (is_power_of_2(td->o.kb_base)) in calc_thread_status()
Dgclient.c589 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()
Dstat.c290 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()
Dparse.c548 if (o->pow2 && !is_power_of_2(ull)) { in __handle_option()
Dio_u.c581 power_2 = is_power_of_2(minbs); in __get_next_buflen()
Dinit.c1523 int i2p = is_power_of_2(o->kb_base); in add_job()