Lines Matching refs:paging

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