Lines Matching refs:paging

207 desc_table_rw(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging,  in desc_table_rw()  argument
221 error = vm_copy_setup(ctx, vcpu, paging, base + SEL_START(sel), in desc_table_rw()
235 desc_table_read(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in desc_table_read() argument
238 return (desc_table_rw(ctx, vcpu, paging, sel, desc, true, faultptr)); in desc_table_read()
242 desc_table_write(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in desc_table_write() argument
245 return (desc_table_rw(ctx, vcpu, paging, sel, desc, false, faultptr)); in desc_table_write()
274 sup_paging = ts->paging; in read_tss_descriptor()
372 sup_paging = ts->paging; in validate_seg_desc()
506 if (ts->paging.paging_mode != PAGING_MODE_FLAT) { in tss32_restore()
507 if (ts->paging.paging_mode == PAGING_MODE_PAE) { in tss32_restore()
533 ts->paging.cr3 = tss->tss_cr3; in tss32_restore()
592 ts->paging.cpl = tss->tss_cs & SEL_RPL_MASK; in tss32_restore()
627 push_errcode(struct vmctx *ctx, int vcpu, struct vm_guest_paging *paging, in push_errcode() argument
670 if (vie_calculate_gla(paging->cpu_mode, VM_REG_GUEST_SS, in push_errcode()
677 if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) { in push_errcode()
683 error = vm_copy_setup(ctx, vcpu, paging, gla, bytes, PROT_WRITE, in push_errcode()
712 struct vm_guest_paging *paging, sup_paging; in vmexit_task_switch() local
725 paging = &vmexit->u.task_switch.paging; in vmexit_task_switch()
728 assert(paging->cpu_mode == CPU_MODE_PROTECTED); in vmexit_task_switch()
741 sup_paging = *paging; in vmexit_task_switch()
897 error = push_errcode(ctx, vcpu, &task_switch->paging, nt_type, in vmexit_task_switch()