Home
last modified time | relevance | path

Searched refs:x86_tss (Results 1 – 12 of 12) sorted by relevance

/arch/x86/include/asm/
Dswitch_to.h79 if (unlikely(this_cpu_read(cpu_tss_rw.x86_tss.ss1) == thread->sysenter_cs)) in refresh_sysenter_cs()
82 this_cpu_write(cpu_tss_rw.x86_tss.ss1, thread->sysenter_cs); in refresh_sysenter_cs()
95 this_cpu_write(cpu_tss_rw.x86_tss.sp1, task->thread.sp0); in update_task_stack()
Dprocessor.h334 …e IO_BITMAP_OFFSET (offsetof(struct tss_struct, io_bitmap) - offsetof(struct tss_struct, x86_tss))
351 struct x86_hw_tss x86_tss; member
385 #define cpu_current_top_of_stack cpu_tss_rw.x86_tss.sp1
532 this_cpu_write(cpu_tss_rw.x86_tss.sp0, sp0); in native_load_sp0()
/arch/x86/kernel/
Dasm-offsets.c105 OFFSET(TSS_sp0, tss_struct, x86_tss.sp0); in common()
106 OFFSET(TSS_sp1, tss_struct, x86_tss.sp1); in common()
107 OFFSET(TSS_sp2, tss_struct, x86_tss.sp2); in common()
Dasm-offsets_32.c56 offsetof(struct cpu_entry_area, tss.x86_tss.sp1) - in foo()
Dasm-offsets_64.c84 OFFSET(TSS_ist, tss_struct, x86_tss.ist); in main()
Dtraps.c342 struct pt_regs *gpregs = (struct pt_regs *)this_cpu_read(cpu_tss_rw.x86_tss.sp0) - 1; in do_double_fault()
648 (struct bad_iret_stack *)this_cpu_read(cpu_tss_rw.x86_tss.sp0) - 1; in fixup_bad_iret()
Dprocess.c56 .x86_tss = {
/arch/x86/mm/
Dcpu_entry_area.c161 BUILD_BUG_ON((offsetof(struct tss_struct, x86_tss) ^ in setup_cpu_entry_area()
162 offsetofend(struct tss_struct, x86_tss)) & PAGE_MASK); in setup_cpu_entry_area()
/arch/x86/kernel/cpu/
Dcommon.c1747 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu()
1748 wrmsr(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1, 0); in enable_sep_cpu()
2045 if (!t->x86_tss.ist[0]) { in cpu_init()
2046 t->x86_tss.ist[IST_INDEX_DF] = __this_cpu_ist_top_va(DF); in cpu_init()
2047 t->x86_tss.ist[IST_INDEX_NMI] = __this_cpu_ist_top_va(NMI); in cpu_init()
2048 t->x86_tss.ist[IST_INDEX_DB] = __this_cpu_ist_top_va(DB); in cpu_init()
2049 t->x86_tss.ist[IST_INDEX_MCE] = __this_cpu_ist_top_va(MCE); in cpu_init()
2052 t->x86_tss.io_bitmap_base = IO_BITMAP_OFFSET; in cpu_init()
2071 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in cpu_init()
2121 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in cpu_init()
[all …]
/arch/x86/power/
Dcpu.c166 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in fix_processor_context()
/arch/x86/xen/
Denlighten_pv.c840 this_cpu_write(cpu_tss_rw.x86_tss.sp0, sp0); in xen_load_sp0()
/arch/x86/kvm/vmx/
Dvmx.c1420 (unsigned long)&get_cpu_entry_area(cpu)->tss.x86_tss); in vmx_vcpu_load_vmcs()