Lines Matching refs:gpc
1359 void kvm_gpc_init(struct gfn_to_pfn_cache *gpc, struct kvm *kvm);
1377 int kvm_gpc_activate(struct gfn_to_pfn_cache *gpc, gpa_t gpa, unsigned long len);
1393 int kvm_gpc_activate_hva(struct gfn_to_pfn_cache *gpc, unsigned long hva, unsigned long len);
1411 bool kvm_gpc_check(struct gfn_to_pfn_cache *gpc, unsigned long len);
1429 int kvm_gpc_refresh(struct gfn_to_pfn_cache *gpc, unsigned long len);
1439 void kvm_gpc_deactivate(struct gfn_to_pfn_cache *gpc);
1441 static inline bool kvm_gpc_is_gpa_active(struct gfn_to_pfn_cache *gpc) in kvm_gpc_is_gpa_active() argument
1443 return gpc->active && !kvm_is_error_gpa(gpc->gpa); in kvm_gpc_is_gpa_active()
1446 static inline bool kvm_gpc_is_hva_active(struct gfn_to_pfn_cache *gpc) in kvm_gpc_is_hva_active() argument
1448 return gpc->active && kvm_is_error_gpa(gpc->gpa); in kvm_gpc_is_hva_active()
1885 static inline void kvm_gpc_mark_dirty_in_slot(struct gfn_to_pfn_cache *gpc) in kvm_gpc_mark_dirty_in_slot() argument
1887 lockdep_assert_held(&gpc->lock); in kvm_gpc_mark_dirty_in_slot()
1889 if (!gpc->memslot) in kvm_gpc_mark_dirty_in_slot()
1892 mark_page_dirty_in_slot(gpc->kvm, gpc->memslot, gpa_to_gfn(gpc->gpa)); in kvm_gpc_mark_dirty_in_slot()