HelenOS sources

ARCH_TP_OFFSET     63 uspace/lib/c/arch/arm32/include/libarch/fibril.h 		(c)->tls = ((sysarg_t)(ptls)) + ARCH_TP_OFFSET; \
ARCH_TP_OFFSET     63 uspace/lib/c/arch/arm64/include/libarch/fibril.h 		(c)->tls = ((uint64_t) (ptls)) + ARCH_TP_OFFSET; \
ARCH_TP_OFFSET     50 uspace/lib/c/include/tls.h 	__tcb_raw_set((uint8_t *)tcb + ARCH_TP_OFFSET);
ARCH_TP_OFFSET     55 uspace/lib/c/include/tls.h 	return (tcb_t *)((uint8_t *)__tcb_raw_get() - ARCH_TP_OFFSET);
ARCH_TP_OFFSET     50 uspace/lib/posix/include/libc/tls.h 	__tcb_raw_set((uint8_t *)tcb + ARCH_TP_OFFSET);
ARCH_TP_OFFSET     55 uspace/lib/posix/include/libc/tls.h 	return (tcb_t *)((uint8_t *)__tcb_raw_get() - ARCH_TP_OFFSET);
HelenOS homepage, sources at GitHub