| /netbsd-src/libexec/ld.elf_so/ |
| H A D | tls.c | 58 static struct tls_tcb *_rtld_tls_allocate_locked(void); 59 static void *_rtld_tls_module_allocate(struct tls_tcb *, size_t); 87 * The TCB itself, struct tls_tcb, has a pointer to the DTV at in _rtld_tls_get_addr() 146 * just `struct tls_tcb *tcb'? in _rtld_tls_allocate_locked() 151 struct tls_tcb *tcb = tls; in _rtld_tls_allocate_locked() 207 struct tls_tcb *tcb; in _rtld_tls_module_allocate() 240 static struct tls_tcb * in _rtld_tls_offset_allocate() 244 struct tls_tcb *tcb; in _rtld_tls_offset_allocate() 247 p = xcalloc(_rtld_tls_static_space + sizeof(struct tls_tcb)); in _rtld_tls_offset_allocate() 249 tcb = (struct tls_tcb *) in _rtld_tls_offset_allocate() [all...] |
| H A D | README.TLS | 4 variable-size structure headed by `struct tls_tcb' from <sys/tls.h>, 21 tp = tcb + sizeof(struct tls_tcb) + TLS_TP_OFFSET. 39 | dtv pointer | tcb points here (struct tls_tcb) 79 | tcb pointer | tcb points here (struct tls_tcb) 153 def->st_value + rela->r_addend + defobj->tlsoffset + sizeof(struct tls_tcb)
|
| /netbsd-src/lib/libc/tls/ |
| H A D | tls.c | 83 struct tls_tcb * in __weak_alias() 86 struct tls_tcb *tcb; in __weak_alias() 111 tcb = (struct tls_tcb *)p; in __weak_alias() 112 p += sizeof(struct tls_tcb); in __weak_alias() 115 tcb = (struct tls_tcb *)(p + tls_allocation); in __weak_alias() 127 _rtld_tls_free(struct tls_tcb *tcb) in __weak_alias() 172 struct tls_tcb *tcb; in __libc_static_tls_setup()
|
| /netbsd-src/sys/arch/m68k/include/ |
| H A D | mcontext.h | |
| /netbsd-src/sys/arch/mips/include/ |
| H A D | mcontext.h | |
| /netbsd-src/sys/sys/ |
| H A D | tls.h | 43 struct tls_tcb { struct 55 struct tls_tcb *_rtld_tls_allocate(void); argument 56 void _rtld_tls_free(struct tls_tcb *);
|
| /netbsd-src/lib/libpthread/ |
| H A D | pthread_int.h | 94 struct tls_tcb *pt_tls; /* Thread Local Storage area */ 259 struct tls_tcb *_PTHREAD_GETTCB_EXT(void); 266 struct tls_tcb * const tcb = _PTHREAD_GETTCB_EXT(); in pthread__self() 268 struct tls_tcb * const tcb = __lwp_gettcb_fast(); in pthread__self() 270 struct tls_tcb * const tcb = __lwp_getprivate_fast(); in pthread__self()
|
| /netbsd-src/sys/arch/or1k/include/ |
| H A D | mcontext.h | |
| /netbsd-src/sys/arch/powerpc/include/ |
| H A D | mcontext.h | |
| /netbsd-src/sys/arch/riscv/include/ |
| H A D | mcontext.h | |
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_linux_libcdep.cc | 407 static struct tls_tcb * ThreadSelfTlsTcb() { 408 struct tls_tcb * tcb; in ThreadSelfTlsTcb() 410 tcb = (struct tls_tcb *)__lwp_gettcb_fast(); in ThreadSelfTlsTcb() 412 tcb = (struct tls_tcb *)__lwp_getprivate_fast(); in ThreadSelfTlsTcb() 465 struct tls_tcb * const tcb = ThreadSelfTlsTcb(); in GetTls()
|
| /netbsd-src/lib/libc/arch/m68k/gen/ |
| H A D | _lwp.c | 67 sizeof(struct tls_tcb); in _lwp_makecontext()
|
| /netbsd-src/lib/libc/arch/powerpc/gen/ |
| H A D | _lwp.c | 74 (uintptr_t)tcb + TLS_TP_OFFSET + sizeof(struct tls_tcb); in _lwp_makecontext()
|
| /netbsd-src/lib/libc/arch/or1k/gen/ |
| H A D | _lwp.c | 73 (uintptr_t)tcb + TLS_TP_OFFSET + sizeof(struct tls_tcb);
|
| /netbsd-src/lib/libc/arch/riscv/gen/ |
| H A D | _lwp.c | 73 (uintptr_t)tcb + TLS_TP_OFFSET + sizeof(struct tls_tcb);
|
| /netbsd-src/lib/libc/arch/mips/gen/ |
| H A D | _lwp.c | 72 (uintptr_t)tcb + TLS_TP_OFFSET + sizeof(struct tls_tcb); in _lwp_makecontext()
|
| /netbsd-src/libexec/ld.elf_so/arch/aarch64/ |
| H A D | mdreloc.c | 179 sizeof(struct tls_tcb); 322 rela->r_addend + sizeof(struct tls_tcb)); in _rtld_relocate_nonplt_objects()
|
| /netbsd-src/libexec/ld.elf_so/arch/sh3/ |
| H A D | mdreloc.c | 191 sizeof(struct tls_tcb); in _rtld_relocate_nonplt_objects()
|
| /netbsd-src/libexec/ld.elf_so/arch/i386/ |
| H A D | mdreloc.c | 313 struct tls_tcb *tcb = __lwp_getprivate_fast(); in ___tls_get_addr()
|
| /netbsd-src/libexec/ld.elf_so/arch/arm/ |
| H A D | mdreloc.c | 248 tmp += (Elf_Addr)def->st_value + defobj->tlsoffset + sizeof(struct tls_tcb); in _rtld_relocate_nonplt_objects()
|
| /netbsd-src/libexec/ld.elf_so/arch/alpha/ |
| H A D | alpha_reloc.c | 288 sizeof(struct tls_tcb) + defobj->tlsoffset + in _rtld_relocate_nonplt_objects()
|
| /netbsd-src/libexec/ld.elf_so/arch/hppa/ |
| H A D | hppa_reloc.c | 578 rela->r_addend + sizeof(struct tls_tcb)); in _rtld_relocate_nonplt_objects()
|