Home
last modified time | relevance | path

Searched refs:start_gfn (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/tools/testing/selftests/kvm/s390x/
Dcmma_test.c51 : [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-6.12.1/arch/x86/kvm/
Dkvm_onhyperv.c14 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-6.12.1/arch/mips/kvm/
Dmmu.c270 bool kvm_mips_flush_gpa_pt(struct kvm *kvm, gfn_t start_gfn, gfn_t end_gfn) in kvm_mips_flush_gpa_pt() argument
273 start_gfn << PAGE_SHIFT, in kvm_mips_flush_gpa_pt()
396 int kvm_mips_mkclean_gpa_pt(struct kvm *kvm, gfn_t start_gfn, gfn_t end_gfn) in BUILD_PTE_RANGE_OP()
399 start_gfn << PAGE_SHIFT, in BUILD_PTE_RANGE_OP()
433 static int kvm_mips_mkold_gpa_pt(struct kvm *kvm, gfn_t start_gfn, in BUILD_PTE_RANGE_OP()
437 start_gfn << PAGE_SHIFT, in BUILD_PTE_RANGE_OP()
/linux-6.12.1/arch/x86/hyperv/
Dnested.c57 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-6.12.1/arch/loongarch/kvm/
Dmmu.c292 static void kvm_flush_range(struct kvm *kvm, gfn_t start_gfn, gfn_t end_gfn, int lock) in kvm_flush_range() argument
305 ret = kvm_ptw_top(kvm->arch.pgd, start_gfn << PAGE_SHIFT, in kvm_flush_range()
309 ret = kvm_ptw_top(kvm->arch.pgd, start_gfn << PAGE_SHIFT, in kvm_flush_range()
341 static int kvm_mkclean_gpa_pt(struct kvm *kvm, gfn_t start_gfn, gfn_t end_gfn) in kvm_mkclean_gpa_pt() argument
348 return kvm_ptw_top(kvm->arch.pgd, start_gfn << PAGE_SHIFT, end_gfn << PAGE_SHIFT, &ctx); in kvm_mkclean_gpa_pt()
/linux-6.12.1/virt/kvm/
Dguest_memfd.c623 long kvm_gmem_populate(struct kvm *kvm, gfn_t start_gfn, void __user *src, long npages, in kvm_gmem_populate() argument
637 slot = gfn_to_memslot(kvm, start_gfn); in kvm_gmem_populate()
647 npages = min_t(ulong, slot->npages - (start_gfn - slot->base_gfn), npages); in kvm_gmem_populate()
650 gfn_t gfn = start_gfn + i; in kvm_gmem_populate()
Dkvm_main.c3448 gfn_t start_gfn = gpa >> PAGE_SHIFT; in __kvm_gfn_to_hva_cache_init() local
3450 gfn_t nr_pages_needed = end_gfn - start_gfn + 1; in __kvm_gfn_to_hva_cache_init()
3456 if (start_gfn > end_gfn) { in __kvm_gfn_to_hva_cache_init()
3465 for ( ; start_gfn <= end_gfn; start_gfn += nr_pages_avail) { in __kvm_gfn_to_hva_cache_init()
3466 ghc->memslot = __gfn_to_memslot(slots, start_gfn); in __kvm_gfn_to_hva_cache_init()
3467 ghc->hva = gfn_to_hva_many(ghc->memslot, start_gfn, in __kvm_gfn_to_hva_cache_init()
/linux-6.12.1/tools/arch/s390/include/uapi/asm/
Dkvm.h17 __u64 start_gfn; member
43 __u64 start_gfn; member
/linux-6.12.1/arch/s390/include/uapi/asm/
Dkvm.h17 __u64 start_gfn; member
43 __u64 start_gfn; member
/linux-6.12.1/arch/x86/include/asm/
Dmshyperv.h259 u64 start_gfn, u64 end_gfn);
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dgtt.c1156 unsigned long start_gfn; in split_2MB_gtt_entry() local
1163 start_gfn = ops->get_pfn(se); in split_2MB_gtt_entry()
1170 ret = intel_gvt_dma_map_guest_page(vgpu, start_gfn + sub_index, in split_2MB_gtt_entry()
1211 unsigned long start_gfn; in split_64KB_gtt_entry() local
1219 start_gfn = ops->get_pfn(se); in split_64KB_gtt_entry()
1225 ret = intel_gvt_dma_map_guest_page(vgpu, start_gfn + i, in split_64KB_gtt_entry()
/linux-6.12.1/arch/mips/include/asm/
Dkvm_host.h808 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-6.12.1/arch/x86/kvm/mmu/
Dmmu.c1422 gfn_t start_gfn; member
1440 iterator->gfn = iterator->start_gfn; in rmap_walk_init_level()
1448 gfn_t start_gfn, gfn_t end_gfn) in slot_rmap_walk_init() argument
1453 iterator->start_gfn = start_gfn; in slot_rmap_walk_init()
1497 gfn_t start_gfn, gfn_t end_gfn, in __walk_slot_rmaps() argument
1505 for_each_slot_rmap_range(slot, start_level, end_level, start_gfn, in __walk_slot_rmaps()
1515 kvm_flush_remote_tlbs_range(kvm, start_gfn, in __walk_slot_rmaps()
1516 iterator.gfn - start_gfn + 1); in __walk_slot_rmaps()
/linux-6.12.1/arch/s390/kvm/
Dkvm-s390.c2104 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_get_skeys()
2163 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_set_skeys()
2204 unsigned long pgstev, hva, cur_gfn = args->start_gfn; in kvm_s390_peek_cmma()
2268 cur_gfn = kvm_s390_next_dirty_cmma(slots, args->start_gfn); in kvm_s390_get_cmma()
2271 args->start_gfn = cur_gfn; in kvm_s390_get_cmma()
2296 (next_gfn - args->start_gfn >= bufsize)) in kvm_s390_get_cmma()
2409 hva = gfn_to_hva(kvm, args->start_gfn + i); in kvm_s390_set_cmma_bits()
/linux-6.12.1/Documentation/virt/kvm/
Dapi.rst3961 __u64 start_gfn;
3968 The start_gfn field is the number of the first guest frame whose storage keys
3971 The count field is the number of consecutive frames (starting from start_gfn)
3992 The start_gfn field is the number of the first guest frame whose storage keys
3995 The count field is the number of consecutive frames (starting from start_gfn)
4002 single frame starting at start_gfn for count frames.
4599 __u64 start_gfn;
4609 start_gfn is the number of the first guest frame whose CMMA values are
4627 start_gfn will indicate the first page frame whose CMMA bits were dirty.
4647 the output start_gfn will be equal to the input start_gfn,
[all …]