Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_uvmem.c700 unsigned long pfn_last, pfn_first; in kvmppc_uvmem_get_page() local
703 pfn_last = pfn_first + in kvmppc_uvmem_get_page()
708 pfn_last - pfn_first); in kvmppc_uvmem_get_page()
709 if (bit >= (pfn_last - pfn_first)) in kvmppc_uvmem_get_page()
1164 unsigned long pfn_last, pfn_first; in kvmppc_uvmem_init() local
1197 pfn_last = pfn_first + (resource_size(res) >> PAGE_SHIFT); in kvmppc_uvmem_init()
1198 kvmppc_uvmem_bitmap = bitmap_zalloc(pfn_last - pfn_first, GFP_KERNEL); in kvmppc_uvmem_init()
/openbmc/linux/lib/
H A Dtest_hmm.c500 unsigned long pfn_last; in dmirror_allocate_chunk() local
562 pfn_last = pfn_first + (range_len(&devmem->pagemap.range) >> PAGE_SHIFT); in dmirror_allocate_chunk()
571 pfn_first, pfn_last); in dmirror_allocate_chunk()
574 for (pfn = pfn_first; pfn < pfn_last; pfn++) { in dmirror_allocate_chunk()