/linux/tools/testing/selftests/kvm/s390x/ |
H A D | cmma_test.c | 51 : [start_gfn] "L"(TEST_DATA_START_GFN) in guest_do_one_essa() 82 : [start_gfn] "L"(TEST_DATA_START_GFN), in guest_dirty_test_data() 216 .start_gfn = 0, in vm_get_cmma_bits() 385 .start_gfn = 0, in assert_all_slots_cmma_dirty() 394 TEST_ASSERT_EQ(args.start_gfn, 0); in assert_all_slots_cmma_dirty() 398 .start_gfn = MAIN_PAGE_COUNT, in assert_all_slots_cmma_dirty() 406 TEST_ASSERT_EQ(args.start_gfn, TEST_DATA_START_GFN); in assert_all_slots_cmma_dirty() 411 .start_gfn = TEST_DATA_START_GFN + TEST_DATA_PAGE_COUNT, in assert_all_slots_cmma_dirty() 419 TEST_ASSERT_EQ(args.start_gfn, 0); in assert_all_slots_cmma_dirty() 432 .start_gfn = 0, in assert_no_pages_cmma_dirty() [all …]
|
/linux/arch/x86/kvm/ |
H A D | kvm_onhyperv.c | 14 u64 start_gfn; member 23 return hyperv_fill_flush_guest_mapping_list(flush, range->start_gfn, in kvm_fill_hv_flush_list_func() 95 int hv_flush_remote_tlbs_range(struct kvm *kvm, gfn_t start_gfn, gfn_t nr_pages) in hv_flush_remote_tlbs_range() argument 98 .start_gfn = start_gfn, in hv_flush_remote_tlbs_range()
|
/linux/arch/x86/hyperv/ |
H A D | nested.c | 57 u64 start_gfn, u64 pages) in hyperv_fill_flush_guest_mapping_list() argument 59 u64 cur = start_gfn; in hyperv_fill_flush_guest_mapping_list()
|
/linux/virt/kvm/ |
H A D | guest_memfd.c | 632 long kvm_gmem_populate(struct kvm *kvm, gfn_t start_gfn, void __user *src, long npages, in kvm_gmem_populate() 646 slot = gfn_to_memslot(kvm, start_gfn); in kvm_gmem_populate() 656 npages = min_t(ulong, slot->npages - (start_gfn - slot->base_gfn), npages); in kvm_gmem_populate() 659 gfn_t gfn = start_gfn + i; in kvm_gmem_populate() 623 kvm_gmem_populate(struct kvm * kvm,gfn_t start_gfn,void __user * src,long npages,kvm_gmem_populate_cb post_populate,void * opaque) kvm_gmem_populate() argument
|
H A D | kvm_main.c | 3291 gfn_t start_gfn = gpa >> PAGE_SHIFT; in __kvm_gfn_to_hva_cache_init() local 3293 gfn_t nr_pages_needed = end_gfn - start_gfn + 1; in __kvm_gfn_to_hva_cache_init() 3299 if (start_gfn > end_gfn) { in __kvm_gfn_to_hva_cache_init() 3308 for ( ; start_gfn <= end_gfn; start_gfn += nr_pages_avail) { in __kvm_gfn_to_hva_cache_init() 3309 ghc->memslot = __gfn_to_memslot(slots, start_gfn); in __kvm_gfn_to_hva_cache_init() 3310 ghc->hva = gfn_to_hva_many(ghc->memslot, start_gfn, in __kvm_gfn_to_hva_cache_init()
|
/linux/tools/arch/s390/include/uapi/asm/ |
H A D | kvm.h | 17 __u64 start_gfn; member 31 * @start_gfn: Guest page number to start from. 43 __u64 start_gfn; member
|
/linux/arch/x86/include/asm/ |
H A D | mshyperv.h | 259 u64 start_gfn, u64 end_gfn);
|
/linux/arch/mips/include/asm/ |
H A D | kvm_host.h | 808 bool kvm_mips_flush_gpa_pt(struct kvm *kvm, gfn_t start_gfn, gfn_t end_gfn); 809 int kvm_mips_mkclean_gpa_pt(struct kvm *kvm, gfn_t start_gfn, gfn_t end_gfn);
|
/linux/arch/x86/kvm/mmu/ |
H A D | mmu.c | 1350 gfn_t start_gfn; member 1368 iterator->gfn = iterator->start_gfn; in rmap_walk_init_level() 1376 gfn_t start_gfn, gfn_t end_gfn) in slot_rmap_walk_init() argument 1381 iterator->start_gfn = start_gfn; in slot_rmap_walk_init() 1425 gfn_t start_gfn, gfn_t end_gfn, in __walk_slot_rmaps() argument 1433 for_each_slot_rmap_range(slot, start_level, end_level, start_gfn, in __walk_slot_rmaps() 1443 kvm_flush_remote_tlbs_range(kvm, start_gfn, in __walk_slot_rmaps() 1444 iterator.gfn - start_gfn + 1); in __walk_slot_rmaps()
|