Home
last modified time | relevance | path

Searched refs:ALIGN_POWER2 (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/test/ !
Dtest-macro.c21 assert_se(ALIGN_POWER2(0) == 0); in TEST()
22 assert_se(ALIGN_POWER2(1) == 1); in TEST()
23 assert_se(ALIGN_POWER2(2) == 2); in TEST()
24 assert_se(ALIGN_POWER2(3) == 4); in TEST()
25 assert_se(ALIGN_POWER2(4) == 4); in TEST()
26 assert_se(ALIGN_POWER2(5) == 8); in TEST()
27 assert_se(ALIGN_POWER2(6) == 8); in TEST()
28 assert_se(ALIGN_POWER2(7) == 8); in TEST()
29 assert_se(ALIGN_POWER2(9) == 16); in TEST()
30 assert_se(ALIGN_POWER2(10) == 16); in TEST()
[all …]
/systemd-251/src/basic/ !
Dmacro.h151 static inline unsigned long ALIGN_POWER2(unsigned long u) { in ALIGN_POWER2() function
184 m = ALIGN_POWER2(l); in GREEDY_ALLOC_ROUND_UP()