Searched refs:tls_base (Results 1 - 15 of 15) sorted by relevance

/freebsd-11-stable/sys/sys/
H A Dthr.h52 char *tls_base; /* tls base address. */ member in struct:thr_param
H A Dproc.h1080 int cpu_set_user_tls(struct thread *, void *tls_base);
/freebsd-11-stable/sys/arm/arm/
H A Dvm_machdep.c280 cpu_set_user_tls(struct thread *td, void *tls_base) argument
284 td->td_pcb->pcb_regs.sf_tpidrurw = (register_t)tls_base;
286 set_tls(tls_base);
288 td->td_md.md_tp = (register_t)tls_base;
291 *(register_t *)ARM_TP_ADDRESS = (register_t)tls_base;
/freebsd-11-stable/sys/riscv/riscv/
H A Dvm_machdep.c188 cpu_set_user_tls(struct thread *td, void *tls_base) argument
192 if ((uintptr_t)tls_base >= VM_MAXUSER_ADDRESS)
196 pcb->pcb_tp = (register_t)tls_base;
/freebsd-11-stable/sys/arm64/arm64/
H A Dvm_machdep.c205 cpu_set_user_tls(struct thread *td, void *tls_base) argument
209 if ((uintptr_t)tls_base >= VM_MAXUSER_ADDRESS)
213 pcb->pcb_tpidr_el0 = (register_t)tls_base;
215 WRITE_SPECIALREG(tpidr_el0, tls_base);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_rtems.cpp234 void *tls_base, size_t tls_size) {
238 reinterpret_cast<uptr>(tls_base), tls_size);
231 __sanitizer_before_thread_create_hook(uptr thread, bool detached, const char *name, void *stack_base, size_t stack_size, void *tls_base, size_t tls_size) argument
/freebsd-11-stable/sys/amd64/amd64/
H A Dvm_machdep.c537 cpu_set_user_tls(struct thread *td, void *tls_base) argument
541 if ((u_int64_t)tls_base >= VM_MAXUSER_ADDRESS)
548 pcb->pcb_gsbase = (register_t)tls_base;
552 pcb->pcb_fsbase = (register_t)tls_base;
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dvm_machdep.c220 cpu_set_user_tls(struct thread *td, void *tls_base) argument
225 td->td_frame->tf_global[7] = (uint64_t)tls_base;
/freebsd-11-stable/sys/i386/i386/
H A Dvm_machdep.c525 cpu_set_user_tls(struct thread *td, void *tls_base) argument
536 base = (uint32_t)tls_base;
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_create.c161 param.tls_base = (char *)new_thread->tcb;
/freebsd-11-stable/sys/compat/freebsd32/
H A Dfreebsd32.h207 uint32_t tls_base; member in struct:thr_param32
H A Dfreebsd32_misc.c2512 param.tls_base = PTRIN(param32.tls_base);
/freebsd-11-stable/sys/mips/mips/
H A Dvm_machdep.c490 cpu_set_user_tls(struct thread *td, void *tls_base) argument
493 td->td_md.md_tls = (char*)tls_base;
/freebsd-11-stable/sys/powerpc/powerpc/
H A Dexec_machdep.c949 cpu_set_user_tls(struct thread *td, void *tls_base) argument
953 td->td_frame->fixreg[13] = (register_t)tls_base + 0x7010;
955 td->td_frame->fixreg[2] = (register_t)tls_base + 0x7008;
/freebsd-11-stable/sys/kern/
H A Dkern_thr.c169 return (cpu_set_user_tls(td, param->tls_base));

Completed in 140 milliseconds