Lines Matching defs:paging
204 desc_table_rw(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging,
218 error = vm_copy_setup(ctx, vcpu, paging, base + SEL_START(sel),
232 desc_table_read(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging,
235 return (desc_table_rw(ctx, vcpu, paging, sel, desc, true, faultptr));
239 desc_table_write(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging,
242 return (desc_table_rw(ctx, vcpu, paging, sel, desc, false, faultptr));
271 sup_paging = ts->paging;
369 sup_paging = ts->paging;
503 if (ts->paging.paging_mode != PAGING_MODE_FLAT) {
504 if (ts->paging.paging_mode == PAGING_MODE_PAE) {
530 ts->paging.cr3 = tss->tss_cr3;
589 ts->paging.cpl = tss->tss_cs & SEL_RPL_MASK;
624 push_errcode(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging,
667 if (vie_calculate_gla(paging->cpu_mode, VM_REG_GUEST_SS,
674 if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) {
680 error = vm_copy_setup(ctx, vcpu, paging, gla, bytes, PROT_WRITE,
709 struct vm_guest_paging *paging, sup_paging;
722 paging = &vmexit->u.task_switch.paging;
725 assert(paging->cpu_mode == CPU_MODE_PROTECTED);
738 sup_paging = *paging;
894 error = push_errcode(ctx, vcpu, &task_switch->paging, nt_type,