Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/include/asm/
A Duser_64.h92 unsigned long gs_base; member
A Dprocessor.h390 char gs_base[40]; member
399 return (unsigned long)per_cpu(fixed_percpu_data.gs_base, cpu); in cpu_kernelmode_gs_base()
/linux-6.3-rc2/arch/x86/kvm/vmx/
A Dvmcs.h37 unsigned long gs_base; member
A Dvmx.h397 unsigned long fs_base, unsigned long gs_base);
A Dvmx.c1229 unsigned long fs_base, unsigned long gs_base) in vmx_set_host_fs_gs() argument
1249 if (unlikely(gs_base != host->gs_base)) { in vmx_set_host_fs_gs()
1250 vmcs_writel(HOST_GS_BASE, gs_base); in vmx_set_host_fs_gs()
1251 host->gs_base = gs_base; in vmx_set_host_fs_gs()
1262 unsigned long fs_base, gs_base; in vmx_prepare_switch_to_guest() local
1303 gs_base = cpu_kernelmode_gs_base(cpu); in vmx_prepare_switch_to_guest()
1322 gs_base = segment_base(gs_sel); in vmx_prepare_switch_to_guest()
1325 vmx_set_host_fs_gs(host_state, fs_sel, gs_sel, fs_base, gs_base); in vmx_prepare_switch_to_guest()
A Dnested.c257 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-6.3-rc2/tools/testing/selftests/x86/
A Dfsgsbase.c481 unsigned long base_offset = USER_REGS_OFFSET(gs_base); in test_ptrace_write_gs_read_base()
541 unsigned long base_offset = USER_REGS_OFFSET(gs_base); in test_ptrace_write_gsbase()
A Dfsgsbase_restore.c194 printf("\tChild GS=0x%lx, GSBASE=0x%lx\n", (unsigned long)regs.gs, (unsigned long)regs.gs_base); in main()
/linux-6.3-rc2/arch/x86/kernel/
A Dptrace.c394 case offsetof(struct user_regs_struct,gs_base): in putreg()
423 case offsetof(struct user_regs_struct, gs_base): in getreg()

Completed in 42 milliseconds