Searched refs:tlsbase (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/lib/libc/arm/
H A Dstatic_tls.h39 uintptr_t tlsbase; local
42 tlsbase = *(uintptr_t *)ARM_TP_ADDRESS;
44 __asm __volatile("mrc p15, 0, %0, c13, c0, 3" : "=r" (tlsbase));
47 tlsbase += offset;
48 return (tlsbase);
/freebsd-11-stable/lib/libc/mips/
H A Dstatic_tls.h41 uintptr_t tlsbase; local
49 : "=r" (tlsbase));
50 tlsbase -= TLS_TP_OFFSET + TLS_TCB_SIZE;
57 : "=r" (tlsbase));
58 tlsbase -= TLS_TP_OFFSET + TLS_TCB_SIZE;
60 tlsbase += offset;
61 return (tlsbase);
/freebsd-11-stable/lib/libc/powerpc/
H A Dstatic_tls.h39 uintptr_t tlsbase; local
41 __asm __volatile("mr %0,2" : "=r"(tlsbase));
42 tlsbase += offset - 0x7008;
43 return (tlsbase);
/freebsd-11-stable/lib/libc/powerpc64/
H A Dstatic_tls.h39 uintptr_t tlsbase; local
41 __asm __volatile("mr %0,13" : "=r"(tlsbase));
42 tlsbase += offset - 0x7010;
43 return (tlsbase);
/freebsd-11-stable/lib/libc/riscv/
H A Dstatic_tls.h39 uintptr_t tlsbase; local
41 __asm __volatile("mv %0, tp" : "=r"(tlsbase));
42 tlsbase += offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libc/aarch64/
H A Dstatic_tls.h39 uintptr_t tlsbase; local
41 __asm __volatile("mrs %x0, tpidr_el0" : "=r" (tlsbase));
42 tlsbase += offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libc/amd64/
H A Dstatic_tls.h39 uintptr_t tlsbase; local
41 __asm __volatile("movq %%fs:0, %0" : "=r" (tlsbase));
42 tlsbase -= offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libc/i386/
H A Dstatic_tls.h39 uintptr_t tlsbase; local
41 __asm __volatile("movl %%gs:0, %0" : "=r" (tlsbase));
42 tlsbase -= offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libthr/arch/aarch64/include/
H A Dpthread_tls.h39 uintptr_t tlsbase; local
41 tlsbase = (uintptr_t)thr->tcb;
42 tlsbase += offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libthr/arch/amd64/include/
H A Dpthread_tls.h39 uintptr_t tlsbase; local
41 tlsbase = (uintptr_t)thr->tcb;
42 tlsbase -= offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libthr/arch/arm/include/
H A Dpthread_tls.h39 uintptr_t tlsbase; local
41 tlsbase = (uintptr_t)thr->tcb;
42 tlsbase += offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libthr/arch/i386/include/
H A Dpthread_tls.h39 uintptr_t tlsbase; local
41 tlsbase = (uintptr_t)thr->tcb;
42 tlsbase -= offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libthr/arch/mips/include/
H A Dpthread_tls.h39 uintptr_t tlsbase; local
41 tlsbase = (uintptr_t)thr->tcb;
42 tlsbase += offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libthr/arch/powerpc/include/
H A Dpthread_tls.h39 uintptr_t tlsbase; local
41 tlsbase = (uintptr_t)thr->tcb;
42 tlsbase += offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libthr/arch/riscv/include/
H A Dpthread_tls.h39 uintptr_t tlsbase; local
41 tlsbase = (uintptr_t)thr->tcb;
42 tlsbase += offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libthr/arch/sparc64/include/
H A Dpthread_tls.h39 uintptr_t tlsbase; local
41 tlsbase = (uintptr_t)thr->tcb;
42 tlsbase -= offset;
43 return (tlsbase);
/freebsd-11-stable/lib/libc/sparc64/
H A Dstatic_tls.h39 register uintptr_t tlsbase __asm("%g7");
41 return (tlsbase + offset);
/freebsd-11-stable/sys/mips/mips/
H A Dsys_machdep.c55 void *tlsbase; local
62 tlsbase = td->td_md.md_tls;
63 error = copyout(&tlsbase, uap->parms, sizeof(tlsbase));
H A Dfreebsd32_machdep.c471 int32_t tlsbase; local
478 tlsbase = (int32_t)(intptr_t)td->td_md.md_tls;
479 error = copyout(&tlsbase, uap->parms, sizeof(tlsbase));
/freebsd-11-stable/lib/libc/gen/
H A Delf_utils.c92 uintptr_t tlsbase; local
94 tlsbase = _libc_get_static_tls_base(offset);
95 memcpy((void *)tlsbase, src, len);
96 memset((char *)tlsbase + len, 0, total_len - len);
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_list.c368 thr_distribute_static_tls(uintptr_t tlsbase, void *src, size_t len, argument
372 memcpy((void *)tlsbase, src, len);
373 memset((char *)tlsbase + len, 0, total_len - len);
381 uintptr_t tlsbase; local
384 tlsbase = _libc_get_static_tls_base(offset);
385 thr_distribute_static_tls(tlsbase, src, len, total_len);
391 tlsbase = _get_static_tls_base(thrd, offset);
392 thr_distribute_static_tls(tlsbase, src, len, total_len);
/freebsd-11-stable/contrib/binutils/bfd/
H A Delf32-i386.c2111 struct elf_link_hash_entry *tlsbase;
2113 tlsbase = elf_link_hash_lookup (elf_hash_table (info),
2117 if (tlsbase && tlsbase->type == STT_TLS)
2128 tlsbase = (struct elf_link_hash_entry *)bh;
2129 tlsbase->def_regular = 1;
2130 tlsbase->other = STV_HIDDEN;
2131 (*bed->elf_backend_hide_symbol) (info, tlsbase, TRUE);
2109 struct elf_link_hash_entry *tlsbase; local
H A Delf64-x86-64.c1971 struct elf_link_hash_entry *tlsbase;
1973 tlsbase = elf_link_hash_lookup (elf_hash_table (info),
1977 if (tlsbase && tlsbase->type == STT_TLS)
1988 tlsbase = (struct elf_link_hash_entry *)bh;
1989 tlsbase->def_regular = 1;
1990 tlsbase->other = STV_HIDDEN;
1991 (*bed->elf_backend_hide_symbol) (info, tlsbase, TRUE);
1969 struct elf_link_hash_entry *tlsbase; local

Completed in 447 milliseconds