HelenOS sources
uspace/lib/c/arch/abs32le/include/libarch/tls.h
uspace/lib/c/arch/amd64/include/libarch/tls.h
uspace/lib/c/arch/arm32/include/libarch/tls.h
uspace/lib/c/arch/arm64/include/libarch/tls.h
uspace/lib/c/arch/ia32/include/libarch/tls.h
uspace/lib/c/arch/ia64/include/libarch/tls.h
uspace/lib/c/arch/mips32/include/libarch/tls.h
uspace/lib/c/arch/ppc32/include/libarch/tls.h
uspace/lib/c/arch/riscv64/include/libarch/tls.h
uspace/lib/c/arch/sparc64/include/libarch/tls.h
uspace/lib/c/include/tls.h
uspace/lib/posix/include/libc/tls.h
HelenOS homepage, sources at GitHub