Searched refs:gs_base (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | user_64.h | 92 unsigned long gs_base; member
|
D | processor.h | 445 char gs_base[40]; member 454 return (unsigned long)per_cpu(fixed_percpu_data.gs_base, cpu); in cpu_kernelmode_gs_base()
|
/kernel/linux/linux-5.10/arch/x86/kvm/vmx/ |
D | vmcs.h | 35 unsigned long gs_base; member
|
D | vmx.h | 342 unsigned long fs_base, unsigned long gs_base);
|
D | vmx.c | 1247 unsigned long fs_base, unsigned long gs_base) in vmx_set_host_fs_gs() argument 1267 if (unlikely(gs_base != host->gs_base)) { in vmx_set_host_fs_gs() 1268 vmcs_writel(HOST_GS_BASE, gs_base); in vmx_set_host_fs_gs() 1269 host->gs_base = gs_base; in vmx_set_host_fs_gs() 1280 unsigned long fs_base, gs_base; in vmx_prepare_switch_to_guest() local 1318 gs_base = cpu_kernelmode_gs_base(cpu); in vmx_prepare_switch_to_guest() 1337 gs_base = segment_base(gs_sel); in vmx_prepare_switch_to_guest() 1340 vmx_set_host_fs_gs(host_state, fs_sel, gs_sel, fs_base, gs_base); in vmx_prepare_switch_to_guest()
|
D | nested.c | 248 vmx_set_host_fs_gs(dest, src->fs_sel, src->gs_sel, src->fs_base, src->gs_base); in vmx_sync_vmcs_host_state()
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
D | fsgsbase.c | 473 unsigned long base_offset = USER_REGS_OFFSET(gs_base); in test_ptrace_write_gs_read_base() 533 unsigned long base_offset = USER_REGS_OFFSET(gs_base); in test_ptrace_write_gsbase()
|
D | fsgsbase_restore.c | 194 printf("\tChild GS=0x%lx, GSBASE=0x%lx\n", (unsigned long)regs.gs, (unsigned long)regs.gs_base); in main()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
D | svm.h | 123 u64 gs_base; member
|
D | svm.c | 1373 rdmsrl(MSR_GS_BASE, to_svm(vcpu)->host.gs_base); in svm_vcpu_load() 3518 native_wrmsrl(MSR_GS_BASE, svm->host.gs_base); in svm_vcpu_enter_exit()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | ptrace.c | 376 case offsetof(struct user_regs_struct,gs_base): in putreg() 405 case offsetof(struct user_regs_struct, gs_base): in getreg()
|