HelenOS sources

futex_trydown      89 uspace/lib/c/generic/private/futex.h #define futex_trylock(fut)  futex_trydown((fut))
futex_trydown     114 uspace/lib/c/generic/thread/futex.c 	bool success = futex_trydown(futex);
HelenOS homepage, sources at GitHub