Home
last modified time | relevance | path

Searched refs:tls_block (Results 1 – 4 of 4) sorted by relevance

/freebsd/lib/libc/gen/
H A Dtls.c237 char *tls_block, *tls; in __libc_allocate_tls() local
259 tls_block = libc_malloc_aligned(tls_block_size, maxalign); in __libc_allocate_tls()
260 if (tls_block == NULL) { in __libc_allocate_tls()
264 memset(tls_block, 0, tls_block_size); in __libc_allocate_tls()
265 tcb = (Elf_Addr **)(tls_block + pre_size + extra_size); in __libc_allocate_tls()
269 memcpy(tls_block, get_tls_block_ptr(oldtcb, tcbsize), in __libc_allocate_tls()
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp586 addr_t tls_block = ReadPointer(dtv_slot + metadata.tls_offset); in GetThreadLocalData() local
594 mod->GetObjectName().AsCString(""), link_map, tp, modid, tls_block); in GetThreadLocalData()
596 if (tls_block == LLDB_INVALID_ADDRESS) in GetThreadLocalData()
599 return tls_block + tls_file_addr; in GetThreadLocalData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp804 addr_t tls_block = ReadPointer(dtv_slot + metadata.tls_offset); in GetThreadLocalData() local
811 (int64_t)modid, tls_block); in GetThreadLocalData()
813 if (tls_block == LLDB_INVALID_ADDRESS) { in GetThreadLocalData()
817 return tls_block + tls_file_addr; in GetThreadLocalData()
/freebsd/libexec/rtld-elf/
H A Drtld.c5364 char *tls_block; in allocate_tls() local
5387 tls_block = xmalloc_aligned(tls_block_size, maxalign, 0); in allocate_tls()
5388 tcb = (Elf_Addr **)(tls_block + pre_size + extra_size); in allocate_tls()
5391 memcpy(tls_block, get_tls_block_ptr(oldtcb, tcbsize), in allocate_tls()