Home
last modified time | relevance | path

Searched refs:tls_base (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/riscv/riscv/
H A Dvm_machdep.c186 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_upcall()
189 if ((uintptr_t)tls_base >= VM_MAXUSER_ADDRESS) in cpu_set_upcall()
196 td->td_frame->tf_tp = (register_t)tls_base + TP_OFFSET; in cpu_set_user_tls() argument
/freebsd/sys/arm/arm/
H A Dvm_machdep.c231 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() argument
234 td->td_pcb->pcb_regs.sf_tpidrurw = (register_t)tls_base; in cpu_set_user_tls()
236 set_tls(tls_base); in cpu_set_user_tls()
/freebsd/sys/amd64/amd64/
H A Dvm_machdep.c668 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() argument
672 if ((u_int64_t)tls_base >= VM_MAXUSER_ADDRESS) in cpu_set_user_tls()
679 pcb->pcb_gsbase = (register_t)tls_base; in cpu_set_user_tls()
683 pcb->pcb_fsbase = (register_t)tls_base; in cpu_set_user_tls()
/freebsd/sys/sys/
H A Dthr.h52 char *tls_base; /* tls base address. */ member
H A Dproc.h1234 int cpu_set_user_tls(struct thread *, void *tls_base);
/freebsd/sys/i386/i386/
H A Dvm_machdep.c514 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_upcall()
525 base = (uint32_t)tls_base; in cpu_set_user_tls()
524 cpu_set_user_tls(struct thread * td,void * tls_base) cpu_set_user_tls() argument
/freebsd/lib/libthr/thread/
H A Dthr_create.c159 param.tls_base = (char *)new_thread->tcb; in _pthread_create()
/freebsd/sys/powerpc/powerpc/
H A Dexec_machdep.c1094 cpu_set_user_tls(struct thread *td, void *tls_base) in cpu_set_user_tls() argument
1098 td->td_frame->fixreg[13] = (register_t)tls_base + 0x7010; in cpu_set_user_tls()
1100 td->td_frame->fixreg[2] = (register_t)tls_base + 0x7008; in cpu_set_user_tls()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32.h314 uint32_t tls_base; member
H A Dfreebsd32_misc.c3239 param.tls_base = PTRIN(param32.tls_base); in freebsd32_thr_new()
/freebsd/sys/kern/
H A Dkern_thr.c172 return (cpu_set_user_tls(td, param->tls_base)); in thr_new_initthr()