Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libc/gen/
H A Dtls.c235 char *tls_block, *tls; in __libc_allocate_tls() local
257 tls_block = libc_malloc_aligned(tls_block_size, maxalign); in __libc_allocate_tls()
258 if (tls_block == NULL) { in __libc_allocate_tls()
262 memset(tls_block, 0, tls_block_size); in __libc_allocate_tls()
263 tcb = (Elf_Addr **)(tls_block + pre_size + extra_size); in __libc_allocate_tls()
267 memcpy(tls_block, get_tls_block_ptr(oldtcb, tcbsize), in __libc_allocate_tls()
/freebsd-14.2/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-14.2/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp784 addr_t tls_block = ReadPointer(dtv_slot + metadata.tls_offset); in GetThreadLocalData() local
791 (int64_t)modid, tls_block); in GetThreadLocalData()
793 if (tls_block == LLDB_INVALID_ADDRESS) { in GetThreadLocalData()
797 return tls_block + tls_file_addr; in GetThreadLocalData()
/freebsd-14.2/libexec/rtld-elf/
H A Drtld.c5282 char *tls_block; in allocate_tls() local
5304 tls_block = xmalloc_aligned(tls_block_size, maxalign, 0); in allocate_tls()
5305 tcb = (Elf_Addr **)(tls_block + pre_size + extra_size); in allocate_tls()
5308 memcpy(tls_block, get_tls_block_ptr(oldtcb, tcbsize), in allocate_tls()