Home
last modified time | relevance | path

Searched refs:gfn_track (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/arch/x86/kvm/
Dpage_track.c28 if (!dont || free->arch.gfn_track[i] != in kvm_page_track_free_memslot()
29 dont->arch.gfn_track[i]) { in kvm_page_track_free_memslot()
30 kvfree(free->arch.gfn_track[i]); in kvm_page_track_free_memslot()
31 free->arch.gfn_track[i] = NULL; in kvm_page_track_free_memslot()
41 slot->arch.gfn_track[i] = in kvm_page_track_create_memslot()
42 kvcalloc(npages, sizeof(*slot->arch.gfn_track[i]), in kvm_page_track_create_memslot()
44 if (!slot->arch.gfn_track[i]) in kvm_page_track_create_memslot()
70 val = slot->arch.gfn_track[mode][index]; in update_gfn_track()
75 slot->arch.gfn_track[mode][index] += count; in update_gfn_track()
159 return !!READ_ONCE(slot->arch.gfn_track[mode][index]); in kvm_page_track_is_active()
/Linux-v5.4/arch/x86/include/asm/
Dkvm_host.h797 unsigned short *gfn_track[KVM_PAGE_TRACK_MAX]; member