Lines Matching refs:tss_seg
2957 struct tss_segment_16 tss_seg; in task_switch_16() local
2961 ret = ops->read_std(ctxt, old_tss_base, &tss_seg, sizeof tss_seg, in task_switch_16()
2966 save_state_to_tss16(ctxt, &tss_seg); in task_switch_16()
2968 ret = ops->write_std(ctxt, old_tss_base, &tss_seg, sizeof tss_seg, in task_switch_16()
2973 ret = ops->read_std(ctxt, new_tss_base, &tss_seg, sizeof tss_seg, in task_switch_16()
2979 tss_seg.prev_task_link = old_tss_sel; in task_switch_16()
2982 &tss_seg.prev_task_link, in task_switch_16()
2983 sizeof tss_seg.prev_task_link, in task_switch_16()
2989 return load_state_from_tss16(ctxt, &tss_seg); in task_switch_16()
3101 struct tss_segment_32 tss_seg; in task_switch_32() local
3107 ret = ops->read_std(ctxt, old_tss_base, &tss_seg, sizeof tss_seg, in task_switch_32()
3112 save_state_to_tss32(ctxt, &tss_seg); in task_switch_32()
3115 ret = ops->write_std(ctxt, old_tss_base + eip_offset, &tss_seg.eip, in task_switch_32()
3120 ret = ops->read_std(ctxt, new_tss_base, &tss_seg, sizeof tss_seg, in task_switch_32()
3126 tss_seg.prev_task_link = old_tss_sel; in task_switch_32()
3129 &tss_seg.prev_task_link, in task_switch_32()
3130 sizeof tss_seg.prev_task_link, in task_switch_32()
3136 return load_state_from_tss32(ctxt, &tss_seg); in task_switch_32()