Lines Matching refs:intel_vgpu_ppgtt_spt
650 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_spt_get_entry()
679 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_spt_set_entry()
716 struct intel_vgpu_ppgtt_spt *spt; in alloc_spt()
730 static void free_spt(struct intel_vgpu_ppgtt_spt *spt) in free_spt()
739 static void ppgtt_free_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_free_spt()
763 struct intel_vgpu_ppgtt_spt *spt, *spn; in ppgtt_free_all_spt()
780 struct intel_vgpu_ppgtt_spt *spt,
787 struct intel_vgpu_ppgtt_spt *spt = page_track->priv_data; in ppgtt_write_protection_handler()
801 static struct intel_vgpu_ppgtt_spt *intel_vgpu_find_spt_by_gfn( in intel_vgpu_find_spt_by_gfn()
814 static inline struct intel_vgpu_ppgtt_spt *intel_vgpu_find_spt_by_mfn( in intel_vgpu_find_spt_by_mfn()
823 static struct intel_vgpu_ppgtt_spt *ppgtt_alloc_spt( in ppgtt_alloc_spt()
827 struct intel_vgpu_ppgtt_spt *spt = NULL; in ppgtt_alloc_spt()
873 static struct intel_vgpu_ppgtt_spt *ppgtt_alloc_spt_gfn( in ppgtt_alloc_spt_gfn()
877 struct intel_vgpu_ppgtt_spt *spt; in ppgtt_alloc_spt_gfn()
926 static inline void ppgtt_get_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_get_spt()
934 static inline int ppgtt_put_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_put_spt()
942 static int ppgtt_invalidate_spt(struct intel_vgpu_ppgtt_spt *spt);
949 struct intel_vgpu_ppgtt_spt *s; in ppgtt_invalidate_spt_by_shadow_entry()
981 static inline void ppgtt_invalidate_pte(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_invalidate_pte()
999 static int ppgtt_invalidate_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_invalidate_spt()
1068 static int ppgtt_populate_spt(struct intel_vgpu_ppgtt_spt *spt);
1070 static struct intel_vgpu_ppgtt_spt *ppgtt_populate_spt_by_guest_entry( in ppgtt_populate_spt_by_guest_entry()
1074 struct intel_vgpu_ppgtt_spt *spt = NULL; in ppgtt_populate_spt_by_guest_entry()
1135 struct intel_vgpu_ppgtt_spt *s, struct intel_gvt_gtt_entry *ge) in ppgtt_generate_shadow_entry()
1150 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in split_2MB_gtt_entry()
1154 struct intel_vgpu_ppgtt_spt *sub_spt; in split_2MB_gtt_entry()
1206 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in split_64KB_gtt_entry()
1237 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in ppgtt_populate_shadow_entry()
1287 static int ppgtt_populate_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_populate_spt()
1290 struct intel_vgpu_ppgtt_spt *s; in ppgtt_populate_spt()
1321 static int ppgtt_handle_guest_entry_removal(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_entry_removal()
1342 struct intel_vgpu_ppgtt_spt *s = in ppgtt_handle_guest_entry_removal()
1366 static int ppgtt_handle_guest_entry_add(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_entry_add()
1371 struct intel_vgpu_ppgtt_spt *s; in ppgtt_handle_guest_entry_add()
1407 struct intel_vgpu_ppgtt_spt *spt = oos_page->spt; in sync_oos_page()
1448 struct intel_vgpu_ppgtt_spt *spt = oos_page->spt; in detach_oos_page()
1464 struct intel_vgpu_ppgtt_spt *spt) in attach_oos_page()
1485 static int ppgtt_set_guest_page_sync(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_set_guest_page_sync()
1501 static int ppgtt_allocate_oos_page(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_allocate_oos_page()
1525 static int ppgtt_set_guest_page_oos(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_set_guest_page_oos()
1572 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_write_page_table()
1634 static inline bool can_do_out_of_sync(struct intel_vgpu_ppgtt_spt *spt) in can_do_out_of_sync()
1641 static void ppgtt_set_post_shadow(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_set_post_shadow()
1665 struct intel_vgpu_ppgtt_spt *spt; in intel_vgpu_flush_post_shadow()
1671 spt = container_of(pos, struct intel_vgpu_ppgtt_spt, in intel_vgpu_flush_post_shadow()
1690 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_write_page_table_bytes()
1790 struct intel_vgpu_ppgtt_spt *spt; in shadow_ppgtt_mm()
2045 struct intel_vgpu_ppgtt_spt *s; in ppgtt_get_next_level_entry()