Lines Matching refs:paging

203 desc_table_rw(struct vcpu *vcpu, struct vm_guest_paging *paging,  in desc_table_rw()  argument
217 error = vm_copy_setup(vcpu, paging, base + SEL_START(sel), in desc_table_rw()
231 desc_table_read(struct vcpu *vcpu, struct vm_guest_paging *paging, in desc_table_read() argument
234 return (desc_table_rw(vcpu, paging, sel, desc, true, faultptr)); in desc_table_read()
238 desc_table_write(struct vcpu *vcpu, struct vm_guest_paging *paging, in desc_table_write() argument
241 return (desc_table_rw(vcpu, paging, sel, desc, false, faultptr)); in desc_table_write()
270 sup_paging = ts->paging; in read_tss_descriptor()
368 sup_paging = ts->paging; in validate_seg_desc()
502 if (ts->paging.paging_mode != PAGING_MODE_FLAT) { in tss32_restore()
503 if (ts->paging.paging_mode == PAGING_MODE_PAE) { in tss32_restore()
529 ts->paging.cr3 = tss->tss_cr3; in tss32_restore()
588 ts->paging.cpl = tss->tss_cs & SEL_RPL_MASK; in tss32_restore()
623 push_errcode(struct vcpu *vcpu, struct vm_guest_paging *paging, in push_errcode() argument
666 if (vie_calculate_gla(paging->cpu_mode, VM_REG_GUEST_SS, in push_errcode()
673 if (vie_alignment_check(paging->cpl, bytes, cr0, rflags, gla)) { in push_errcode()
679 error = vm_copy_setup(vcpu, paging, gla, bytes, PROT_WRITE, in push_errcode()
710 struct vm_guest_paging *paging, sup_paging; in vmexit_task_switch() local
725 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(vcpu, &task_switch->paging, nt_type, in vmexit_task_switch()