Lines Matching defs:spt

670 		struct intel_vgpu_ppgtt_spt *spt,  in ppgtt_spt_get_entry()
699 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_spt_set_entry()
718 #define ppgtt_get_guest_entry(spt, e, index) \ argument
722 #define ppgtt_set_guest_entry(spt, e, index) \ argument
726 #define ppgtt_get_shadow_entry(spt, e, index) \ argument
730 #define ppgtt_set_shadow_entry(spt, e, index) \ argument
736 struct intel_vgpu_ppgtt_spt *spt; in alloc_spt() local
750 static void free_spt(struct intel_vgpu_ppgtt_spt *spt) in free_spt()
759 static void ppgtt_free_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_free_spt()
783 struct intel_vgpu_ppgtt_spt *spt, *spn; in ppgtt_free_all_spt() local
807 struct intel_vgpu_ppgtt_spt *spt = page_track->priv_data; in ppgtt_write_protection_handler() local
847 struct intel_vgpu_ppgtt_spt *spt = NULL; in ppgtt_alloc_spt() local
897 struct intel_vgpu_ppgtt_spt *spt; in ppgtt_alloc_spt_gfn() local
923 #define pt_entry_size_shift(spt) \ argument
926 #define pt_entries(spt) \ argument
929 #define for_each_present_guest_entry(spt, e, i) \ argument
935 #define for_each_present_shadow_entry(spt, e, i) \ argument
941 #define for_each_shadow_entry(spt, e, i) \ argument
946 static inline void ppgtt_get_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_get_spt()
954 static inline int ppgtt_put_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_put_spt()
1001 static inline void ppgtt_invalidate_pte(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_invalidate_pte()
1019 static int ppgtt_invalidate_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_invalidate_spt()
1094 struct intel_vgpu_ppgtt_spt *spt = NULL; in ppgtt_populate_spt_by_guest_entry() local
1195 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in split_2MB_gtt_entry()
1251 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in split_64KB_gtt_entry()
1282 struct intel_vgpu_ppgtt_spt *spt, unsigned long index, in ppgtt_populate_shadow_entry()
1334 static int ppgtt_populate_spt(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_populate_spt()
1377 static int ppgtt_handle_guest_entry_removal(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_entry_removal()
1422 static int ppgtt_handle_guest_entry_add(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_entry_add()
1463 struct intel_vgpu_ppgtt_spt *spt = oos_page->spt; in sync_oos_page() local
1504 struct intel_vgpu_ppgtt_spt *spt = oos_page->spt; in detach_oos_page() local
1520 struct intel_vgpu_ppgtt_spt *spt) in attach_oos_page()
1541 static int ppgtt_set_guest_page_sync(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_set_guest_page_sync()
1557 static int ppgtt_allocate_oos_page(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_allocate_oos_page()
1581 static int ppgtt_set_guest_page_oos(struct intel_vgpu_ppgtt_spt *spt) in ppgtt_set_guest_page_oos()
1628 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_write_page_table()
1690 static inline bool can_do_out_of_sync(struct intel_vgpu_ppgtt_spt *spt) in can_do_out_of_sync()
1697 static void ppgtt_set_post_shadow(struct intel_vgpu_ppgtt_spt *spt, in ppgtt_set_post_shadow()
1721 struct intel_vgpu_ppgtt_spt *spt; in intel_vgpu_flush_post_shadow() local
1746 struct intel_vgpu_ppgtt_spt *spt, in ppgtt_handle_guest_write_page_table_bytes()
1846 struct intel_vgpu_ppgtt_spt *spt; in shadow_ppgtt_mm() local