cur_gfn 579 arch/s390/kvm/kvm-s390.c gfn_t cur_gfn, last_gfn; cur_gfn 585 arch/s390/kvm/kvm-s390.c cur_gfn = memslot->base_gfn; cur_gfn 587 arch/s390/kvm/kvm-s390.c for (; cur_gfn <= last_gfn; cur_gfn += _PAGE_ENTRIES) { cur_gfn 588 arch/s390/kvm/kvm-s390.c gaddr = gfn_to_gpa(cur_gfn); cur_gfn 589 arch/s390/kvm/kvm-s390.c vmaddr = gfn_to_hva_memslot(memslot, cur_gfn); cur_gfn 597 arch/s390/kvm/kvm-s390.c mark_page_dirty(kvm, cur_gfn + i); cur_gfn 1949 arch/s390/kvm/kvm-s390.c unsigned long pgstev, hva, cur_gfn = args->start_gfn; cur_gfn 1953 arch/s390/kvm/kvm-s390.c hva = gfn_to_hva(kvm, cur_gfn); cur_gfn 1963 arch/s390/kvm/kvm-s390.c cur_gfn++; cur_gfn 1970 arch/s390/kvm/kvm-s390.c unsigned long cur_gfn) cur_gfn 1972 arch/s390/kvm/kvm-s390.c int slotidx = gfn_to_memslot_approx(slots, cur_gfn); cur_gfn 1974 arch/s390/kvm/kvm-s390.c unsigned long ofs = cur_gfn - ms->base_gfn; cur_gfn 1976 arch/s390/kvm/kvm-s390.c if (ms->base_gfn + ms->npages <= cur_gfn) { cur_gfn 1997 arch/s390/kvm/kvm-s390.c unsigned long mem_end, cur_gfn, next_gfn, hva, pgstev; cur_gfn 2001 arch/s390/kvm/kvm-s390.c cur_gfn = kvm_s390_next_dirty_cmma(slots, args->start_gfn); cur_gfn 2002 arch/s390/kvm/kvm-s390.c ms = gfn_to_memslot(kvm, cur_gfn); cur_gfn 2004 arch/s390/kvm/kvm-s390.c args->start_gfn = cur_gfn; cur_gfn 2007 arch/s390/kvm/kvm-s390.c next_gfn = kvm_s390_next_dirty_cmma(slots, cur_gfn + 1); cur_gfn 2011 arch/s390/kvm/kvm-s390.c hva = gfn_to_hva(kvm, cur_gfn); cur_gfn 2015 arch/s390/kvm/kvm-s390.c if (test_and_clear_bit(cur_gfn - ms->base_gfn, kvm_second_dirty_bitmap(ms))) cur_gfn 2022 arch/s390/kvm/kvm-s390.c if (next_gfn > cur_gfn + KVM_S390_MAX_BIT_DISTANCE) cur_gfn 2025 arch/s390/kvm/kvm-s390.c if (cur_gfn == next_gfn) cur_gfn 2026 arch/s390/kvm/kvm-s390.c next_gfn = kvm_s390_next_dirty_cmma(slots, cur_gfn + 1); cur_gfn 2031 arch/s390/kvm/kvm-s390.c cur_gfn++; cur_gfn 2033 arch/s390/kvm/kvm-s390.c if (cur_gfn - ms->base_gfn >= ms->npages) { cur_gfn 2034 arch/s390/kvm/kvm-s390.c ms = gfn_to_memslot(kvm, cur_gfn); cur_gfn 130 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned long cur_gfn = gfn + npage; cur_gfn 132 drivers/gpu/drm/i915/gvt/kvmgt.c ret = vfio_unpin_pages(mdev_dev(vgpu->vdev.mdev), &cur_gfn, 1); cur_gfn 152 drivers/gpu/drm/i915/gvt/kvmgt.c unsigned long cur_gfn = gfn + npage; cur_gfn 155 drivers/gpu/drm/i915/gvt/kvmgt.c ret = vfio_pin_pages(mdev_dev(vgpu->vdev.mdev), &cur_gfn, 1, cur_gfn 159 drivers/gpu/drm/i915/gvt/kvmgt.c cur_gfn, ret);