Lines Matching defs:gpa
86 if ((gpc->gpa & ~PAGE_MASK) + len > PAGE_SIZE)
153 * Invalidate the cache prior to dropping gpc->lock, the gpa=>uhva
155 * different task may not fail the gpa/uhva/generation checks.
222 gpc->khva = new_khva + (gpc->gpa & ~PAGE_MASK);
239 static int __kvm_gpc_refresh(struct gfn_to_pfn_cache *gpc, gpa_t gpa,
243 unsigned long page_offset = gpa & ~PAGE_MASK;
260 * gpa, memslots generation, etc..., so they must be fully serialized.
276 if (gpc->gpa != gpa || gpc->generation != slots->generation ||
278 gfn_t gfn = gpa_to_gfn(gpa);
280 gpc->gpa = gpa;
311 * Some/all of the uhva, gpa, and memslot generation info may still be
336 return __kvm_gpc_refresh(gpc, gpc->gpa, len);
357 int kvm_gpc_activate(struct gfn_to_pfn_cache *gpc, gpa_t gpa, unsigned long len)
378 return __kvm_gpc_refresh(gpc, gpa, len);