Searched refs:u64log2 (Results 1 - 6 of 6) sorted by relevance

/systemd/src/libsystemd/sd-bus/
H A Dbus-bloom.c58 w = (u64log2(m) + 7) / 8;
148 w = (u64log2(m) + 7) / 8;
/systemd/src/basic/
H A Dutil.h130 static inline unsigned u64log2(uint64_t n) { function
H A Dcapability-util.c323 cap_value_t bits[u64log2(keep_capabilities) + 1];
/systemd/src/journal/
H A Djournald-rate-limit.c187 k = u64log2(available);
/systemd/src/test/
H A Dtest-util.c739 assert_se(u64log2(0) == 0);
740 assert_se(u64log2(8) == 3);
741 assert_se(u64log2(9) == 3);
742 assert_se(u64log2(15) == 3);
743 assert_se(u64log2(16) == 4);
744 assert_se(u64log2(1024*1024) == 20);
745 assert_se(u64log2(1024*1024+5) == 20);
/systemd/src/libsystemd/sd-event/
H A Dsd-event.c2664 l = u64log2(this_run - e->last_run);

Completed in 2084 milliseconds