Home
last modified time | relevance | path

Searched refs:tlsbase (Results 1 – 16 of 16) sorted by last modified time

/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextNetBSD_i386.cpp64 uint32_t tlsbase; member
/freebsd/lib/libthr/thread/
H A Dthr_list.c367 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/libthr/arch/riscv/include/
H A Dpthread_tls.h37 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 Dpthread_tls.h37 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/aarch64/include/
H A Dpthread_tls.h37 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 Dpthread_tls.h37 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 Dpthread_tls.h37 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 Dpthread_tls.h37 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/libc/riscv/
H A Dstatic_tls.h37 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/powerpc/
H A Dstatic_tls.h37 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 Dstatic_tls.h37 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/i386/
H A Dstatic_tls.h37 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/libc/gen/
H A Delf_utils.c110 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/lib/libc/arm/
H A Dstatic_tls.h37 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/amd64/
H A Dstatic_tls.h37 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/aarch64/
H A Dstatic_tls.h37 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()