Searched refs:log2u64 (Results 1 – 6 of 6) sorted by relevance
53 TEST(log2u64) { in TEST() argument54 assert_se(log2u64(0) == 0); in TEST()55 assert_se(log2u64(1) == 0); in TEST()56 assert_se(log2u64(8) == 3); in TEST()57 assert_se(log2u64(9) == 3); in TEST()58 assert_se(log2u64(15) == 3); in TEST()59 assert_se(log2u64(16) == 4); in TEST()60 assert_se(log2u64(1024*1024) == 20); in TEST()61 assert_se(log2u64(1024*1024+5) == 20); in TEST()
38 static inline unsigned log2u64(uint64_t x) { in log2u64() function
339 cap_value_t bits[log2u64(keep_capabilities) + 1]; in drop_privileges()
165 k = log2u64(available); in burst_modulate()
4213 l = log2u64(this_run - e->last_run_usec); in sd_event_run()
1631 if (secsz < 512 || secsz != 1UL << log2u64(secsz)) in context_load_partition_table()