Home
last modified time | relevance | path

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

/linux-2.6.39/arch/x86/kvm/
Dpaging_tmpl.h124 int offset, write_fault, user_fault, fetch_fault; in FNAME() local
126 write_fault = access & PFERR_WRITE_MASK; in FNAME()
130 trace_kvm_mmu_pagetable_walk(addr, write_fault, user_fault, in FNAME()
182 if (write_fault && !is_writable_pte(pte)) in FNAME()
228 ac = write_fault | fetch_fault | user_fault; in FNAME()
247 if (write_fault && !is_dirty_gpte(pte)) { in FNAME()
273 walker->fault.error_code |= write_fault | user_fault; in FNAME()
438 int user_fault, int write_fault, int hlevel, in FNAME()
513 user_fault, write_fault, dirty, ptwrite, it.level, in FNAME()
543 int write_fault = error_code & PFERR_WRITE_MASK; in FNAME() local
[all …]
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.c2005 int write_fault, int dirty, int level, in set_spte() argument
2042 || (!vcpu->arch.mmu.direct_map && write_fault in set_spte()
2096 int user_fault, int write_fault, int dirty, in mmu_set_spte() argument
2107 write_fault, user_fault, gfn); in mmu_set_spte()
2132 if (set_spte(vcpu, sptep, pte_access, user_fault, write_fault, in mmu_set_spte()
2135 if (write_fault) in mmu_set_spte()
/linux-2.6.39/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-2.6.39/include/linux/
Dkvm_host.h362 bool write_fault, bool *writable);
364 pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault,