Lines Matching refs:intel_vgpu_ppgtt_spt

649 		struct intel_vgpu_ppgtt_spt *spt,  in ppgtt_spt_get_entry()
678 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_spt_set_entry()
715 struct intel_vgpu_ppgtt_spt *spt; in alloc_spt()
729 static void free_spt(struct intel_vgpu_ppgtt_spt *spt) in free_spt()
738 static void ppgtt_free_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_free_spt()
762 struct intel_vgpu_ppgtt_spt *spt, *spn; in ppgtt_free_all_spt()
779 struct intel_vgpu_ppgtt_spt *spt,
786 struct intel_vgpu_ppgtt_spt *spt = page_track->priv_data; in ppgtt_write_protection_handler()
800 static struct intel_vgpu_ppgtt_spt *intel_vgpu_find_spt_by_gfn( in intel_vgpu_find_spt_by_gfn()
813 static inline struct intel_vgpu_ppgtt_spt *intel_vgpu_find_spt_by_mfn( in intel_vgpu_find_spt_by_mfn()
822 static struct intel_vgpu_ppgtt_spt *ppgtt_alloc_spt( in ppgtt_alloc_spt()
826 struct intel_vgpu_ppgtt_spt *spt = NULL; in ppgtt_alloc_spt()
872 static struct intel_vgpu_ppgtt_spt *ppgtt_alloc_spt_gfn( in ppgtt_alloc_spt_gfn()
876 struct intel_vgpu_ppgtt_spt *spt; in ppgtt_alloc_spt_gfn()
925 static inline void ppgtt_get_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_get_spt()
933 static inline int ppgtt_put_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_put_spt()
941 static int ppgtt_invalidate_spt(struct intel_vgpu_ppgtt_spt *spt);
948 struct intel_vgpu_ppgtt_spt *s; in ppgtt_invalidate_spt_by_shadow_entry()
980 static inline void ppgtt_invalidate_pte(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_invalidate_pte()
998 static int ppgtt_invalidate_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_invalidate_spt()
1067 static int ppgtt_populate_spt(struct intel_vgpu_ppgtt_spt *spt);
1069 static struct intel_vgpu_ppgtt_spt *ppgtt_populate_spt_by_guest_entry( in ppgtt_populate_spt_by_guest_entry()
1073 struct intel_vgpu_ppgtt_spt *spt = NULL; in ppgtt_populate_spt_by_guest_entry()
1134 struct intel_vgpu_ppgtt_spt *s, struct intel_gvt_gtt_entry *ge) in ppgtt_generate_shadow_entry()
1149 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in split_2MB_gtt_entry()
1153 struct intel_vgpu_ppgtt_spt *sub_spt; in split_2MB_gtt_entry()
1205 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in split_64KB_gtt_entry()
1236 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in ppgtt_populate_shadow_entry()
1286 static int ppgtt_populate_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_populate_spt()
1289 struct intel_vgpu_ppgtt_spt *s; in ppgtt_populate_spt()
1320 static int ppgtt_handle_guest_entry_removal(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_entry_removal()
1341 struct intel_vgpu_ppgtt_spt *s = in ppgtt_handle_guest_entry_removal()
1365 static int ppgtt_handle_guest_entry_add(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_entry_add()
1370 struct intel_vgpu_ppgtt_spt *s; in ppgtt_handle_guest_entry_add()
1406 struct intel_vgpu_ppgtt_spt *spt = oos_page->spt; in sync_oos_page()
1447 struct intel_vgpu_ppgtt_spt *spt = oos_page->spt; in detach_oos_page()
1463 struct intel_vgpu_ppgtt_spt *spt) in attach_oos_page()
1484 static int ppgtt_set_guest_page_sync(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_set_guest_page_sync()
1500 static int ppgtt_allocate_oos_page(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_allocate_oos_page()
1524 static int ppgtt_set_guest_page_oos(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_set_guest_page_oos()
1571 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_write_page_table()
1633 static inline bool can_do_out_of_sync(struct intel_vgpu_ppgtt_spt *spt) in can_do_out_of_sync()
1640 static void ppgtt_set_post_shadow(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_set_post_shadow()
1664 struct intel_vgpu_ppgtt_spt *spt; in intel_vgpu_flush_post_shadow()
1670 spt = container_of(pos, struct intel_vgpu_ppgtt_spt, in intel_vgpu_flush_post_shadow()
1689 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_write_page_table_bytes()
1789 struct intel_vgpu_ppgtt_spt *spt; in shadow_ppgtt_mm()
2044 struct intel_vgpu_ppgtt_spt *s; in ppgtt_get_next_level_entry()