Home
last modified time | relevance | path

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

/arch/x86/kernel/
Ddoublefault.c24 unsigned long gdt, tss; in doublefault_fn() local
33 tss = get_desc_base((struct desc_struct *)gdt); in doublefault_fn()
34 printk(KERN_EMERG "double fault, tss at %08lx\n", tss); in doublefault_fn()
36 if (ptr_ok(tss)) { in doublefault_fn()
37 struct x86_hw_tss *t = (struct x86_hw_tss *)tss; in doublefault_fn()
Dioport.c29 struct tss_struct *tss; in sys_ioperm() local
70 tss = &per_cpu(cpu_tss_rw, get_cpu()); in sys_ioperm()
92 memcpy(tss->io_bitmap, t->io_bitmap_ptr, bytes_updated); in sys_ioperm()
Dprocess.c117 struct tss_struct *tss = &per_cpu(cpu_tss_rw, get_cpu()); in exit_thread() local
124 memset(tss->io_bitmap, 0xff, t->io_bitmap_max); in exit_thread()
264 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in switch_to_bitmap() local
271 memcpy(tss->io_bitmap, next->io_bitmap_ptr, in switch_to_bitmap()
282 memset(tss->io_bitmap, 0xff, prev->io_bitmap_max); in switch_to_bitmap()
Dasm-offsets_32.c50 DEFINE(TSS_sysenter_sp0, offsetof(struct cpu_entry_area, tss.x86_tss.sp0) - in foo()
Dasm-offsets.c102 OFFSET(CPU_ENTRY_AREA_tss, cpu_entry_area, tss); in common()
/arch/x86/include/asm/
Ddesc.h187 tss_desc tss; in __set_tss_desc() local
189 set_tssldt_descriptor(&tss, (unsigned long)addr, DESC_TSS, in __set_tss_desc()
191 write_gdt_entry(d, entry, &tss, DESC_TSS); in __set_tss_desc()
290 tss_desc tss; in force_reload_TR() local
292 memcpy(&tss, &d[GDT_ENTRY_TSS], sizeof(tss_desc)); in force_reload_TR()
298 tss.type = DESC_TSS; in force_reload_TR()
299 write_gdt_entry(d, GDT_ENTRY_TSS, &tss, DESC_TSS); in force_reload_TR()
Dsuspend_32.h29 u16 tss; member
Dsuspend_64.h47 u16 tss; member
Dcpu_entry_area.h31 struct tss_struct tss; member
/arch/x86/power/
Dcpu.c158 tss_desc tss; in fix_processor_context() local
168 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in fix_processor_context()
171 memcpy(&tss, &desc[GDT_ENTRY_TSS], sizeof(tss_desc)); in fix_processor_context()
172 tss.type = 0x9; /* The available 64-bit TSS (see AMD vol 2, pg 91 */ in fix_processor_context()
173 write_gdt_entry(desc, GDT_ENTRY_TSS, &tss, DESC_TSS); in fix_processor_context()
/arch/x86/kvm/
Demulate.c2978 struct tss_segment_16 *tss) in save_state_to_tss16() argument
2980 tss->ip = ctxt->_eip; in save_state_to_tss16()
2981 tss->flag = ctxt->eflags; in save_state_to_tss16()
2982 tss->ax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss16()
2983 tss->cx = reg_read(ctxt, VCPU_REGS_RCX); in save_state_to_tss16()
2984 tss->dx = reg_read(ctxt, VCPU_REGS_RDX); in save_state_to_tss16()
2985 tss->bx = reg_read(ctxt, VCPU_REGS_RBX); in save_state_to_tss16()
2986 tss->sp = reg_read(ctxt, VCPU_REGS_RSP); in save_state_to_tss16()
2987 tss->bp = reg_read(ctxt, VCPU_REGS_RBP); in save_state_to_tss16()
2988 tss->si = reg_read(ctxt, VCPU_REGS_RSI); in save_state_to_tss16()
[all …]
Dvmx.c2532 (unsigned long)&get_cpu_entry_area(cpu)->tss.x86_tss); in vmx_vcpu_load()
/arch/x86/mm/
Dcpu_entry_area.c119 cea_map_percpu_pages(&get_cpu_entry_area(cpu)->tss, in setup_cpu_entry_area()
/arch/x86/kernel/cpu/
Dcommon.c1410 struct tss_struct *tss; in enable_sep_cpu() local
1417 tss = &per_cpu(cpu_tss_rw, cpu); in enable_sep_cpu()
1424 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu()
1425 wrmsr(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1, 0); in enable_sep_cpu()
1761 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in cpu_init()
1819 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in cpu_init()
/arch/cris/arch-v32/kernel/
Dentry.S349 add.d $r12, $r10 ; R10 = current tasks tss.
368 add.d $r12, $r11 ; Find the new tasks tss.
/arch/cris/arch-v10/kernel/
Dentry.S309 add.d $r12, $r10 ; r10 = current tasks tss
323 add.d $r12, $r11 ; find the new tasks tss