Home
last modified time | relevance | path

Searched refs:tls_tcb (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/libexec/ld.elf_so/
H A Dtls.c58 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 DREADME.TLS4 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 Dtls.c83 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 Dmcontext.h
/netbsd-src/sys/arch/mips/include/
H A Dmcontext.h
/netbsd-src/sys/sys/
H A Dtls.h43 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 Dpthread_int.h94 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 Dmcontext.h
/netbsd-src/sys/arch/powerpc/include/
H A Dmcontext.h
/netbsd-src/sys/arch/riscv/include/
H A Dmcontext.h
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cc407 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.c67 sizeof(struct tls_tcb); in _lwp_makecontext()
/netbsd-src/lib/libc/arch/powerpc/gen/
H A D_lwp.c74 (uintptr_t)tcb + TLS_TP_OFFSET + sizeof(struct tls_tcb); in _lwp_makecontext()
/netbsd-src/lib/libc/arch/or1k/gen/
H A D_lwp.c73 (uintptr_t)tcb + TLS_TP_OFFSET + sizeof(struct tls_tcb);
/netbsd-src/lib/libc/arch/riscv/gen/
H A D_lwp.c73 (uintptr_t)tcb + TLS_TP_OFFSET + sizeof(struct tls_tcb);
/netbsd-src/lib/libc/arch/mips/gen/
H A D_lwp.c72 (uintptr_t)tcb + TLS_TP_OFFSET + sizeof(struct tls_tcb); in _lwp_makecontext()
/netbsd-src/libexec/ld.elf_so/arch/aarch64/
H A Dmdreloc.c179 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 Dmdreloc.c191 sizeof(struct tls_tcb); in _rtld_relocate_nonplt_objects()
/netbsd-src/libexec/ld.elf_so/arch/i386/
H A Dmdreloc.c313 struct tls_tcb *tcb = __lwp_getprivate_fast(); in ___tls_get_addr()
/netbsd-src/libexec/ld.elf_so/arch/arm/
H A Dmdreloc.c248 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 Dalpha_reloc.c288 sizeof(struct tls_tcb) + defobj->tlsoffset + in _rtld_relocate_nonplt_objects()
/netbsd-src/libexec/ld.elf_so/arch/hppa/
H A Dhppa_reloc.c578 rela->r_addend + sizeof(struct tls_tcb)); in _rtld_relocate_nonplt_objects()