Lines Matching refs:tss_selector
2271 u16 tss_selector, u16 old_tss_sel, in task_switch_16() argument
2418 u16 tss_selector, u16 old_tss_sel, in task_switch_32() argument
2462 u16 tss_selector, int idt_index, int reason, in emulator_do_task_switch() argument
2475 ret = read_segment_descriptor(ctxt, tss_selector, &next_tss_desc); in emulator_do_task_switch()
2503 if ((tss_selector & 3) > dpl || ops->cpl(ctxt) > dpl) in emulator_do_task_switch()
2508 if ((tss_selector & 3) > dpl || ops->cpl(ctxt) > dpl) in emulator_do_task_switch()
2509 return emulate_gp(ctxt, tss_selector); in emulator_do_task_switch()
2517 emulate_ts(ctxt, tss_selector & 0xfffc); in emulator_do_task_switch()
2535 ret = task_switch_32(ctxt, tss_selector, old_tss_sel, in emulator_do_task_switch()
2538 ret = task_switch_16(ctxt, tss_selector, old_tss_sel, in emulator_do_task_switch()
2548 write_segment_descriptor(ctxt, tss_selector, &next_tss_desc); in emulator_do_task_switch()
2552 ops->set_segment(ctxt, tss_selector, &next_tss_desc, 0, VCPU_SREG_TR); in emulator_do_task_switch()
2565 u16 tss_selector, int idt_index, int reason, in emulator_task_switch() argument
2573 rc = emulator_do_task_switch(ctxt, tss_selector, idt_index, reason, in emulator_task_switch()