Home
last modified time | relevance | path

Searched refs:gs_base (Results 1 – 10 of 10) sorted by relevance

/linux/arch/x86/um/shared/sysdep/
H A Dstub-data.h19 unsigned long gs_base; member
H A Dstub_64.h149 stub_syscall2(__NR_arch_prctl, ARCH_SET_GS, arch->gs_base); in stub_seccomp_restore_state()
/linux/arch/x86/include/asm/
H A Duser_64.h92 unsigned long gs_base; member
/linux/arch/x86/um/os-Linux/
H A Dmcontext.c253 if (data->arch_data.gs_base != regs->gp[GS_BASE / sizeof(unsigned long)]) { in set_stub_state()
254 data->arch_data.gs_base = regs->gp[GS_BASE / sizeof(unsigned long)]; in set_stub_state()
/linux/arch/x86/kvm/vmx/
H A Dvmcs.h37 unsigned long gs_base; member
H A Dvmx.c1317 unsigned long fs_base, unsigned long gs_base) in vmx_set_host_fs_gs() argument
1337 if (unlikely(gs_base != host->gs_base)) { in vmx_set_host_fs_gs()
1338 vmcs_writel(HOST_GS_BASE, gs_base); in vmx_set_host_fs_gs()
1339 host->gs_base = gs_base; in vmx_set_host_fs_gs()
1351 unsigned long fs_base, gs_base; in vmx_prepare_switch_to_guest() local
1390 gs_base = cpu_kernelmode_gs_base(cpu); in vmx_prepare_switch_to_guest()
1409 gs_base = segment_base(gs_sel); in vmx_prepare_switch_to_guest()
1412 vmx_set_host_fs_gs(host_state, fs_sel, gs_sel, fs_base, gs_base); in vmx_prepare_switch_to_guest()
H A Dvmx.h357 unsigned long fs_base, unsigned long gs_base);
H A Dnested.c286 vmx_set_host_fs_gs(dest, src->fs_sel, src->gs_sel, src->fs_base, src->gs_base); in vmx_sync_vmcs_host_state()
/linux/tools/testing/selftests/x86/
H A Dfsgsbase_restore.c193 printf("\tChild GS=0x%lx, GSBASE=0x%lx\n", (unsigned long)regs.gs, (unsigned long)regs.gs_base); in main()
/linux/arch/x86/kernel/
H A Dptrace.c395 case offsetof(struct user_regs_struct,gs_base): in putreg()
424 case offsetof(struct user_regs_struct, gs_base): in getreg()