Lines Matching refs:paging
206 desc_table_rw(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in desc_table_rw() argument
220 error = vm_copy_setup(ctx, vcpu, paging, base + SEL_START(sel), in desc_table_rw()
234 desc_table_read(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in desc_table_read() argument
237 return (desc_table_rw(ctx, vcpu, paging, sel, desc, true, faultptr)); in desc_table_read()
241 desc_table_write(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in desc_table_write() argument
244 return (desc_table_rw(ctx, vcpu, paging, sel, desc, false, faultptr)); in desc_table_write()
273 sup_paging = ts->paging; in read_tss_descriptor()
371 sup_paging = ts->paging; in validate_seg_desc()
505 if (ts->paging.paging_mode != PAGING_MODE_FLAT) { in tss32_restore()
506 if (ts->paging.paging_mode == PAGING_MODE_PAE) { in tss32_restore()
532 ts->paging.cr3 = tss->tss_cr3; in tss32_restore()
591 ts->paging.cpl = tss->tss_cs & SEL_RPL_MASK; in tss32_restore()
626 push_errcode(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in push_errcode() argument
669 if (vie_calculate_gla(paging->cpu_mode, VM_REG_GUEST_SS, in push_errcode()
676 if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) { in push_errcode()
682 error = vm_copy_setup(ctx, vcpu, paging, gla, bytes, PROT_WRITE, in push_errcode()
711 struct vm_guest_paging *paging, sup_paging; in vmexit_task_switch() local
724 paging = &vmexit->u.task_switch.paging; in vmexit_task_switch()
727 assert(paging->cpu_mode == CPU_MODE_PROTECTED); in vmexit_task_switch()
740 sup_paging = *paging; in vmexit_task_switch()
896 error = push_errcode(ctx, vcpu, &task_switch->paging, nt_type, in vmexit_task_switch()