Lines Matching refs:pfec

521     unsigned long linear, unsigned int bytes, uint32_t pfec,  in hvmemul_map_linear_addr()  argument
566 res = hvm_translate_get_page(curr, addr, true, pfec, in hvmemul_map_linear_addr()
676 uint32_t pfec, in hvmemul_linear_to_phys() argument
705 addr, &_paddr, bytes_per_rep, &one_rep, pfec, hvmemul_ctxt); in hvmemul_linear_to_phys()
710 else if ( (pfn = paging_gva_to_gfn(curr, addr, &pfec)) == gfn_x(INVALID_GFN) ) in hvmemul_linear_to_phys()
712 if ( pfec & (PFEC_page_paged | PFEC_page_shared) ) in hvmemul_linear_to_phys()
715 x86_emul_pagefault(pfec, addr, &hvmemul_ctxt->ctxt); in hvmemul_linear_to_phys()
725 npfn = paging_gva_to_gfn(curr, addr, &pfec); in hvmemul_linear_to_phys()
731 if ( pfec & (PFEC_page_paged | PFEC_page_shared) ) in hvmemul_linear_to_phys()
740 x86_emul_pagefault(pfec, addr & PAGE_MASK, &hvmemul_ctxt->ctxt); in hvmemul_linear_to_phys()
957 uint32_t pfec, struct hvm_emulate_ctxt *hvmemul_ctxt, bool_t known_gpfn) in hvmemul_linear_mmio_access() argument
976 rc = hvmemul_linear_to_phys(gla, &gpa, chunk, &one_rep, pfec, in hvmemul_linear_mmio_access()
998 rc = hvmemul_linear_to_phys(gla, &gpa, chunk, &one_rep, pfec, in hvmemul_linear_mmio_access()
1009 uint32_t pfec, struct hvm_emulate_ctxt *hvmemul_ctxt, in hvmemul_linear_mmio_read() argument
1013 pfec, hvmemul_ctxt, translate); in hvmemul_linear_mmio_read()
1018 uint32_t pfec, struct hvm_emulate_ctxt *hvmemul_ctxt, in hvmemul_linear_mmio_write() argument
1022 pfec, hvmemul_ctxt, translate); in hvmemul_linear_mmio_write()
1036 uint32_t pfec = PFEC_page_present; in __hvmemul_read() local
1041 pfec |= PFEC_implicit; in __hvmemul_read()
1043 pfec |= PFEC_user_mode; in __hvmemul_read()
1053 return hvmemul_linear_mmio_read(addr, bytes, p_data, pfec, hvmemul_ctxt, 1); in __hvmemul_read()
1056 hvm_fetch_from_guest_linear(p_data, addr, bytes, pfec, &pfinfo) : in __hvmemul_read()
1057 hvm_copy_from_guest_linear(p_data, addr, bytes, pfec, &pfinfo)); in __hvmemul_read()
1070 return hvmemul_linear_mmio_read(addr, bytes, p_data, pfec, hvmemul_ctxt, 0); in __hvmemul_read()
1157 uint32_t pfec = PFEC_page_present | PFEC_write_access; in hvmemul_write() local
1163 pfec |= PFEC_implicit; in hvmemul_write()
1165 pfec |= PFEC_user_mode; in hvmemul_write()
1174 return hvmemul_linear_mmio_write(addr, bytes, p_data, pfec, hvmemul_ctxt, 1); in hvmemul_write()
1176 mapping = hvmemul_map_linear_addr(addr, bytes, pfec, hvmemul_ctxt); in hvmemul_write()
1181 return hvmemul_linear_mmio_write(addr, bytes, p_data, pfec, hvmemul_ctxt, 0); in hvmemul_write()
1323 uint32_t pfec = PFEC_page_present | PFEC_write_access; in hvmemul_rep_ins() local
1335 pfec |= PFEC_user_mode; in hvmemul_rep_ins()
1338 addr, &gpa, bytes_per_rep, reps, pfec, hvmemul_ctxt); in hvmemul_rep_ins()
1388 uint32_t pfec = PFEC_page_present; in hvmemul_rep_outs() local
1404 pfec |= PFEC_user_mode; in hvmemul_rep_outs()
1407 addr, &gpa, bytes_per_rep, reps, pfec, hvmemul_ctxt); in hvmemul_rep_outs()
1433 uint32_t pfec = PFEC_page_present; in hvmemul_rep_movs() local
1451 pfec |= PFEC_user_mode; in hvmemul_rep_movs()
1467 rc = hvmemul_linear_to_phys(saddr, &sgpa, bytes_per_rep, reps, pfec, in hvmemul_rep_movs()
1484 pfec | PFEC_write_access, hvmemul_ctxt); in hvmemul_rep_movs()
1606 uint32_t pfec = PFEC_page_present | PFEC_write_access; in hvmemul_rep_stos() local
1609 pfec |= PFEC_user_mode; in hvmemul_rep_stos()
1611 rc = hvmemul_linear_to_phys(addr, &gpa, bytes_per_rep, reps, pfec, in hvmemul_rep_stos()
2307 unsigned int pfec = PFEC_page_present; in hvm_emulate_init_per_insn() local
2324 pfec |= PFEC_user_mode; in hvm_emulate_init_per_insn()
2340 pfec, NULL) == HVMTRANS_okay) ? in hvm_emulate_init_per_insn()