Home
last modified time | relevance | path

Searched refs:write_fault (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/arch/x86/kvm/
Dpaging_tmpl.h152 const int write_fault = access & PFERR_WRITE_MASK; in FNAME() local
157 trace_kvm_mmu_pagetable_walk(addr, write_fault, user_fault, in FNAME()
215 if (!check_write_user_access(vcpu, write_fault, user_fault, in FNAME()
266 ac = write_fault | fetch_fault | user_fault; in FNAME()
287 if (write_fault && unlikely(!is_dirty_gpte(pte))) { in FNAME()
310 errcode |= write_fault | user_fault; in FNAME()
468 int user_fault, int write_fault, int hlevel, in FNAME()
543 user_fault, write_fault, emulate, it.level, in FNAME()
573 int write_fault = error_code & PFERR_WRITE_MASK; in FNAME() local
623 if (try_async_pf(vcpu, prefault, walker.gfn, addr, &pfn, write_fault, in FNAME()
[all …]
Dmmu.h92 bool write_fault, bool user_fault, in check_write_user_access() argument
95 if (unlikely(write_fault && !is_writable_pte(pte) in check_write_user_access()
Dmmutrace.h57 TP_PROTO(u64 addr, int write_fault, int user_fault, int fetch_fault),
58 TP_ARGS(addr, write_fault, user_fault, fetch_fault),
67 __entry->pferr = (!!write_fault << 1) | (!!user_fault << 2)
Dmmu.c2193 int write_fault, int level, in set_spte() argument
2227 || (!vcpu->arch.mmu.direct_map && write_fault in set_spte()
2290 int user_fault, int write_fault, in mmu_set_spte() argument
2301 write_fault, user_fault, gfn); in mmu_set_spte()
2325 if (set_spte(vcpu, sptep, pte_access, user_fault, write_fault, in mmu_set_spte()
2328 if (write_fault) in mmu_set_spte()
/linux-3.4.99/virt/kvm/
Dkvm_main.c1061 bool *async, bool write_fault, bool *writable) in hva_to_pfn() argument
1070 BUG_ON(!write_fault && !writable); in hva_to_pfn()
1082 *writable = write_fault; in hva_to_pfn()
1087 addr, write_fault, page); in hva_to_pfn()
1090 npages = get_user_pages_fast(addr, 1, write_fault, in hva_to_pfn()
1094 if (unlikely(!write_fault) && npages == 1) { in hva_to_pfn()
1148 bool write_fault, bool *writable) in __gfn_to_pfn() argument
1161 return hva_to_pfn(kvm, addr, atomic, async, write_fault, writable); in __gfn_to_pfn()
1171 bool write_fault, bool *writable) in gfn_to_pfn_async() argument
1173 return __gfn_to_pfn(kvm, gfn, false, async, write_fault, writable); in gfn_to_pfn_async()
[all …]
/linux-3.4.99/include/linux/
Dkvm_host.h404 bool write_fault, bool *writable);
406 pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault,