HelenOS sources
ALIGN_UP 49 boot/generic/include/align.h #define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((a) - 1))
ALIGN_UP 43 kernel/generic/include/align.h #define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((a) - 1))
ALIGN_UP 58 kernel/generic/include/align.h #define ALIGN_UP(s, a) (((s) + ((a) - 1)) & ~((typeof(s))(a) - 1))
ALIGN_UP 50 uspace/lib/c/include/align.h #define ALIGN_UP(s, a) ((((s) + ((a) - 1)) & ~((typeof(s))(a) - 1)))
ALIGN_UP 50 uspace/lib/posix/include/libc/align.h #define ALIGN_UP(s, a) ((((s) + ((a) - 1)) & ~((typeof(s))(a) - 1)))
HelenOS homepage, sources at GitHub