Home
last modified time | relevance | path

Searched refs:pcb_gsbase (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/amd64/amd64/
H A Dptrace_machdep.c69 reg->r_gsbase = pcb->pcb_gsbase; in get_segbases()
89 pcb->pcb_gsbase = reg->r_gsbase; in set_segbases()
119 reg->r_gsbase = (uint32_t)pcb->pcb_gsbase; in get_segbases32()
139 pcb->pcb_gsbase = reg->r_gsbase; in set_segbases32()
254 pcb->pcb_gsbase = r; in cpu_ptrace_setbase()
302 r = req == PT_GETFSBASE ? pcb->pcb_fsbase : pcb->pcb_gsbase; in cpu32_ptrace()
359 r = req == PT_GETFSBASE ? &pcb->pcb_fsbase : &pcb->pcb_gsbase; in cpu_ptrace()
H A Dsys_machdep.c297 i386base = pcb->pcb_gsbase; in sysarch()
304 pcb->pcb_gsbase = i386base; in sysarch()
329 error = copyout(&pcb->pcb_gsbase, uap->parms, in sysarch()
330 sizeof(pcb->pcb_gsbase)); in sysarch()
338 pcb->pcb_gsbase = a64base; in sysarch()
H A Dexec_machdep.c144 sf.sf_uc.uc_mcontext.mc_gsbase = pcb->pcb_gsbase; in sendsig()
315 pcb->pcb_gsbase = ucp->uc_mcontext.mc_gsbase; in sys_sigreturn()
383 pcb->pcb_gsbase = 0; in exec_setregs()
633 mcp->mc_gsbase = pcb->pcb_gsbase; in get_mcontext()
708 pcb->pcb_gsbase = mcp->mc_gsbase; in set_mcontext()
H A Dvm_machdep.c160 pcb2->pcb_gsbase = 0; in copy_thread()
679 pcb->pcb_gsbase = (register_t)tls_base; in cpu_set_user_tls()
H A Dgenassym.c126 ASSYM(PCB_GSBASE, offsetof(struct pcb, pcb_gsbase));
H A Dmachdep.c1811 pcb->pcb_gsbase = rdmsr(MSR_KGSBASE); in set_pcb_flags_fsgsbase()
/freebsd/sys/amd64/linux/
H A Dlinux_machdep.c125 pcb->pcb_gsbase = args->addr; in linux_arch_prctl()
145 error = copyout(&pcb->pcb_gsbase, PTRIN(args->addr), in linux_arch_prctl()
307 l_regset->gs_base = pcb->pcb_gsbase; in linux_ptrace_getregs_machdep()
H A Dlinux_sysvec.c249 pcb->pcb_gsbase = 0; in linux_exec_setregs()
/freebsd/sys/amd64/include/
H A Dpcb.h60 register_t pcb_gsbase; member
/freebsd/sys/amd64/ia32/
H A Dia32_reg.c281 reg->r_gsbase = pcb->pcb_gsbase; in get_i386_segbases()
301 pcb->pcb_gsbase = reg->r_gsbase; in set_i386_segbases()
H A Dia32_signal.c184 mcp->mc_gsbase = pcb->pcb_gsbase; in ia32_get_mcontext()
616 sf.sf_uc.uc_mcontext.mc_gsbase = td->td_pcb->pcb_gsbase; in ia32_sendsig()
938 pcb->pcb_gsbase = 0; in ia32_setregs()
/freebsd/sys/amd64/linux32/
H A Dlinux32_machdep.c287 pcb->pcb_gsbase = (register_t)info.base_addr; in linux_set_cloned_tls()
523 pcb->pcb_gsbase = (register_t)info.base_addr; in linux_set_thread_area()
H A Dlinux32_sysvec.c587 pcb->pcb_gsbase = 0; in linux_exec_setregs()