Lines Matching refs:async
1216 static bool hva_to_pfn_fast(unsigned long addr, bool atomic, bool *async, in hva_to_pfn_fast() argument
1222 if (!(async || atomic)) in hva_to_pfn_fast()
1249 static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, in hva_to_pfn_slow() argument
1260 if (async) { in hva_to_pfn_slow()
1314 static pfn_t hva_to_pfn(unsigned long addr, bool atomic, bool *async, in hva_to_pfn() argument
1322 BUG_ON(atomic && async); in hva_to_pfn()
1324 if (hva_to_pfn_fast(addr, atomic, async, write_fault, writable, &pfn)) in hva_to_pfn()
1330 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
1336 (!async && check_user_page_hwpoison(addr))) { in hva_to_pfn()
1350 if (async && vma_is_valid(vma, write_fault)) in hva_to_pfn()
1351 *async = true; in hva_to_pfn()
1361 bool *async, bool write_fault, bool *writable) in __gfn_to_pfn_memslot() argument
1377 return hva_to_pfn(addr, atomic, async, write_fault, in __gfn_to_pfn_memslot()
1381 static pfn_t __gfn_to_pfn(struct kvm *kvm, gfn_t gfn, bool atomic, bool *async, in __gfn_to_pfn() argument
1386 if (async) in __gfn_to_pfn()
1387 *async = false; in __gfn_to_pfn()
1391 return __gfn_to_pfn_memslot(slot, gfn, atomic, async, write_fault, in __gfn_to_pfn()
1401 pfn_t gfn_to_pfn_async(struct kvm *kvm, gfn_t gfn, bool *async, in gfn_to_pfn_async() argument
1404 return __gfn_to_pfn(kvm, gfn, false, async, write_fault, writable); in gfn_to_pfn_async()