HelenOS sources
kernel/generic/include/bitops.h
uspace/lib/c/include/bitops.h
uspace/lib/posix/include/libc/bitops.h
HelenOS homepage
,
sources at GitHub