Lines Matching refs:old_tss_sel
2716 static int task_switch_16(struct x86_emulate_ctxt *ctxt, u16 old_tss_sel, in task_switch_16() argument
2737 if (old_tss_sel != 0xffff) { in task_switch_16()
2738 tss_seg.prev_task_link = old_tss_sel; in task_switch_16()
2854 static int task_switch_32(struct x86_emulate_ctxt *ctxt, u16 old_tss_sel, in task_switch_32() argument
2879 if (old_tss_sel != 0xffff) { in task_switch_32()
2880 tss_seg.prev_task_link = old_tss_sel; in task_switch_32()
2899 u16 old_tss_sel = get_segment_selector(ctxt, VCPU_SREG_TR); in emulator_do_task_switch() local
2910 ret = read_segment_descriptor(ctxt, old_tss_sel, &curr_tss_desc, &desc_addr); in emulator_do_task_switch()
2950 write_segment_descriptor(ctxt, old_tss_sel, &curr_tss_desc); in emulator_do_task_switch()
2959 old_tss_sel = 0xffff; in emulator_do_task_switch()
2962 ret = task_switch_32(ctxt, old_tss_sel, old_tss_base, &next_tss_desc); in emulator_do_task_switch()
2964 ret = task_switch_16(ctxt, old_tss_sel, in emulator_do_task_switch()