Home
last modified time | relevance | path

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

/arch/x86/kernel/
Ddoublefault_32.c88 .tss = {
113 &get_cpu_entry_area(cpu)->doublefault_stack.tss); in set_df_gdt_entry()
126 this_cpu_write(doublefault_stack.tss.sp, in doublefault_init_cpu_tss()
Dprocess.c370 static void tss_copy_io_bitmap(struct tss_struct *tss, struct io_bitmap *iobm) in tss_copy_io_bitmap() argument
380 memcpy(tss->io_bitmap.bitmap, iobm->bitmap, in tss_copy_io_bitmap()
381 max(tss->io_bitmap.prev_max, iobm->max)); in tss_copy_io_bitmap()
387 tss->io_bitmap.prev_max = iobm->max; in tss_copy_io_bitmap()
388 tss->io_bitmap.prev_sequence = iobm->sequence; in tss_copy_io_bitmap()
396 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in native_tss_update_io_bitmap() local
398 u16 *base = &tss->x86_tss.io_bitmap_base; in native_tss_update_io_bitmap()
414 if (tss->io_bitmap.prev_sequence != iobm->sequence) in native_tss_update_io_bitmap()
415 tss_copy_io_bitmap(tss, iobm); in native_tss_update_io_bitmap()
Dasm-offsets_32.c53 offsetof(struct cpu_entry_area, tss.x86_tss.sp1) - in foo()
/arch/x86/include/asm/
Ddesc.h183 tss_desc tss; in __set_tss_desc() local
185 set_tssldt_descriptor(&tss, (unsigned long)addr, DESC_TSS, in __set_tss_desc()
187 write_gdt_entry(d, entry, &tss, DESC_TSS); in __set_tss_desc()
306 tss_desc tss; in force_reload_TR() local
308 memcpy(&tss, &d[GDT_ENTRY_TSS], sizeof(tss_desc)); in force_reload_TR()
314 tss.type = DESC_TSS; in force_reload_TR()
315 write_gdt_entry(d, GDT_ENTRY_TSS, &tss, DESC_TSS); in force_reload_TR()
Dcpu_entry_area.h78 struct x86_hw_tss tss; member
112 struct tss_struct tss; member
Dsuspend_32.h26 u16 tss; member
Dsuspend_64.h50 u16 tss; member
/arch/x86/kernel/cpu/
Dcommon.c1783 struct tss_struct *tss; in enable_sep_cpu() local
1790 tss = &per_cpu(cpu_tss_rw, cpu); in enable_sep_cpu()
1797 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu()
1798 wrmsr(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1, 0); in enable_sep_cpu()
2033 static inline void tss_setup_ist(struct tss_struct *tss) in tss_setup_ist() argument
2036 tss->x86_tss.ist[IST_INDEX_DF] = __this_cpu_ist_top_va(DF); in tss_setup_ist()
2037 tss->x86_tss.ist[IST_INDEX_NMI] = __this_cpu_ist_top_va(NMI); in tss_setup_ist()
2038 tss->x86_tss.ist[IST_INDEX_DB] = __this_cpu_ist_top_va(DB); in tss_setup_ist()
2039 tss->x86_tss.ist[IST_INDEX_MCE] = __this_cpu_ist_top_va(MCE); in tss_setup_ist()
2041 tss->x86_tss.ist[IST_INDEX_VC] = __this_cpu_ist_top_va(VC); in tss_setup_ist()
[all …]
/arch/x86/power/
Dcpu.c154 tss_desc tss; in fix_processor_context() local
164 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in fix_processor_context()
167 memcpy(&tss, &desc[GDT_ENTRY_TSS], sizeof(tss_desc)); in fix_processor_context()
168 tss.type = 0x9; /* The available 64-bit TSS (see AMD vol 2, pg 91 */ in fix_processor_context()
169 write_gdt_entry(desc, GDT_ENTRY_TSS, &tss, DESC_TSS); in fix_processor_context()
/arch/x86/kvm/
Demulate.c2994 struct tss_segment_16 *tss) in save_state_to_tss16() argument
2996 tss->ip = ctxt->_eip; in save_state_to_tss16()
2997 tss->flag = ctxt->eflags; in save_state_to_tss16()
2998 tss->ax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss16()
2999 tss->cx = reg_read(ctxt, VCPU_REGS_RCX); in save_state_to_tss16()
3000 tss->dx = reg_read(ctxt, VCPU_REGS_RDX); in save_state_to_tss16()
3001 tss->bx = reg_read(ctxt, VCPU_REGS_RBX); in save_state_to_tss16()
3002 tss->sp = reg_read(ctxt, VCPU_REGS_RSP); in save_state_to_tss16()
3003 tss->bp = reg_read(ctxt, VCPU_REGS_RBP); in save_state_to_tss16()
3004 tss->si = reg_read(ctxt, VCPU_REGS_RSI); in save_state_to_tss16()
[all …]
/arch/x86/mm/
Dcpu_entry_area.c189 cea_map_percpu_pages(&cea->tss, &per_cpu(cpu_tss_rw, cpu), in setup_cpu_entry_area()
/arch/x86/xen/
Denlighten_pv.c859 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in xen_update_io_bitmap() local
863 iobitmap.bitmap = (uint8_t *)(&tss->x86_tss) + in xen_update_io_bitmap()
864 tss->x86_tss.io_bitmap_base; in xen_update_io_bitmap()
865 if (tss->x86_tss.io_bitmap_base == IO_BITMAP_OFFSET_INVALID) in xen_update_io_bitmap()
/arch/x86/kvm/vmx/
Dvmx.c1359 (unsigned long)&get_cpu_entry_area(cpu)->tss.x86_tss); in vmx_vcpu_load_vmcs()