/freebsd/lib/libc/amd64/ |
H A D | static_tls.h | 37 uintptr_t tlsbase; in _libc_get_static_tls_base() local 39 __asm __volatile("movq %%fs:0, %0" : "=r" (tlsbase)); in _libc_get_static_tls_base() 40 tlsbase -= offset; in _libc_get_static_tls_base() 41 return (tlsbase); in _libc_get_static_tls_base()
|
/freebsd/lib/libc/arm/ |
H A D | static_tls.h | 37 uintptr_t tlsbase; in _libc_get_static_tls_base() local 39 __asm __volatile("mrc p15, 0, %0, c13, c0, 3" : "=r" (tlsbase)); in _libc_get_static_tls_base() 41 tlsbase += offset; in _libc_get_static_tls_base() 42 return (tlsbase); in _libc_get_static_tls_base()
|
/freebsd/lib/libc/powerpc/ |
H A D | static_tls.h | 37 uintptr_t tlsbase; in _libc_get_static_tls_base() local 39 __asm __volatile("mr %0,2" : "=r"(tlsbase)); in _libc_get_static_tls_base() 40 tlsbase += offset - 0x7008; in _libc_get_static_tls_base() 41 return (tlsbase); in _libc_get_static_tls_base()
|
/freebsd/lib/libc/powerpc64/ |
H A D | static_tls.h | 37 uintptr_t tlsbase; in _libc_get_static_tls_base() local 39 __asm __volatile("mr %0,13" : "=r"(tlsbase)); in _libc_get_static_tls_base() 40 tlsbase += offset - 0x7010; in _libc_get_static_tls_base() 41 return (tlsbase); in _libc_get_static_tls_base()
|
/freebsd/lib/libc/riscv/ |
H A D | static_tls.h | 37 uintptr_t tlsbase; in _libc_get_static_tls_base() local 39 __asm __volatile("mv %0, tp" : "=r"(tlsbase)); in _libc_get_static_tls_base() 40 tlsbase += offset; in _libc_get_static_tls_base() 41 return (tlsbase); in _libc_get_static_tls_base()
|
/freebsd/lib/libc/aarch64/ |
H A D | static_tls.h | 37 uintptr_t tlsbase; in _libc_get_static_tls_base() local 39 __asm __volatile("mrs %x0, tpidr_el0" : "=r" (tlsbase)); in _libc_get_static_tls_base() 40 tlsbase += offset; in _libc_get_static_tls_base() 41 return (tlsbase); in _libc_get_static_tls_base()
|
/freebsd/lib/libc/i386/ |
H A D | static_tls.h | 37 uintptr_t tlsbase; in _libc_get_static_tls_base() local 39 __asm __volatile("movl %%gs:0, %0" : "=r" (tlsbase)); in _libc_get_static_tls_base() 40 tlsbase -= offset; in _libc_get_static_tls_base() 41 return (tlsbase); in _libc_get_static_tls_base()
|
/freebsd/lib/libthr/arch/aarch64/include/ |
H A D | pthread_tls.h | 37 uintptr_t tlsbase; in _get_static_tls_base() local 39 tlsbase = (uintptr_t)thr->tcb; in _get_static_tls_base() 40 tlsbase += offset; in _get_static_tls_base() 41 return (tlsbase); in _get_static_tls_base()
|
/freebsd/lib/libthr/arch/amd64/include/ |
H A D | pthread_tls.h | 37 uintptr_t tlsbase; in _get_static_tls_base() local 39 tlsbase = (uintptr_t)thr->tcb; in _get_static_tls_base() 40 tlsbase -= offset; in _get_static_tls_base() 41 return (tlsbase); in _get_static_tls_base()
|
/freebsd/lib/libthr/arch/arm/include/ |
H A D | pthread_tls.h | 37 uintptr_t tlsbase; in _get_static_tls_base() local 39 tlsbase = (uintptr_t)thr->tcb; in _get_static_tls_base() 40 tlsbase += offset; in _get_static_tls_base() 41 return (tlsbase); in _get_static_tls_base()
|
/freebsd/lib/libthr/arch/i386/include/ |
H A D | pthread_tls.h | 37 uintptr_t tlsbase; in _get_static_tls_base() local 39 tlsbase = (uintptr_t)thr->tcb; in _get_static_tls_base() 40 tlsbase -= offset; in _get_static_tls_base() 41 return (tlsbase); in _get_static_tls_base()
|
/freebsd/lib/libthr/arch/powerpc/include/ |
H A D | pthread_tls.h | 37 uintptr_t tlsbase; in _get_static_tls_base() local 39 tlsbase = (uintptr_t)thr->tcb; in _get_static_tls_base() 40 tlsbase += offset; in _get_static_tls_base() 41 return (tlsbase); in _get_static_tls_base()
|
/freebsd/lib/libthr/arch/riscv/include/ |
H A D | pthread_tls.h | 37 uintptr_t tlsbase; in _get_static_tls_base() local 39 tlsbase = (uintptr_t)thr->tcb; in _get_static_tls_base() 40 tlsbase += offset; in _get_static_tls_base() 41 return (tlsbase); in _get_static_tls_base()
|
/freebsd/lib/libthr/thread/ |
H A D | thr_list.c | 367 thr_distribute_static_tls(uintptr_t tlsbase, void *src, size_t len, in thr_distribute_static_tls() argument 371 memcpy((void *)tlsbase, src, len); in thr_distribute_static_tls() 372 memset((char *)tlsbase + len, 0, total_len - len); in thr_distribute_static_tls() 380 uintptr_t tlsbase; in __pthread_distribute_static_tls() local 383 tlsbase = _libc_get_static_tls_base(offset); in __pthread_distribute_static_tls() 384 thr_distribute_static_tls(tlsbase, src, len, total_len); in __pthread_distribute_static_tls() 390 tlsbase = _get_static_tls_base(thrd, offset); in __pthread_distribute_static_tls() 391 thr_distribute_static_tls(tlsbase, src, len, total_len); in __pthread_distribute_static_tls()
|
/freebsd/lib/libc/gen/ |
H A D | elf_utils.c | 110 uintptr_t tlsbase; in __libc_distribute_static_tls() local 112 tlsbase = _libc_get_static_tls_base(offset); in __libc_distribute_static_tls() 113 memcpy((void *)tlsbase, src, len); in __libc_distribute_static_tls() 114 memset((char *)tlsbase + len, 0, total_len - len); in __libc_distribute_static_tls()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | RegisterContextNetBSD_i386.cpp | 64 uint32_t tlsbase; member
|