Searched refs:is_power_of_2 (Results 1 – 7 of 7) sorted by relevance
32 inline BOOST_CONSTEXPR bool is_power_of_2(T n) BOOST_NOEXCEPT in is_power_of_2() function
61 static inline int is_power_of_2(long long val) in is_power_of_2() function
62 return is_power_of_2(src->value); in is_pow2()1283 if (value == bits && is_power_of_2(bits)) in simplify_compare_constant()1289 if (value == bits && is_power_of_2(bits)) in simplify_compare_constant()
71 #define is_power_of_2(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
494 if (!boost::log::aux::is_power_of_2(hdr->m_block_size)) in adopt_queue()630 if (!boost::log::aux::is_power_of_2(block_size)) in create()646 if (!boost::log::aux::is_power_of_2(block_size)) in open_or_create()
503 if (!boost::log::aux::is_power_of_2(hdr->m_block_size)) in adopt_region()681 if (!boost::log::aux::is_power_of_2(block_size)) in create()701 if (!boost::log::aux::is_power_of_2(block_size)) in open_or_create()
266 J_ASSERT(is_power_of_2(hash_size)); in jbd2_journal_init_revoke()