Lines Matching refs:pfn_to_pdx
723 sva = (unsigned long)pdx_to_page(pfn_to_pdx(spfn)); in cleanup_frame_table()
724 eva = (unsigned long)pdx_to_page(pfn_to_pdx(epfn)); in cleanup_frame_table()
799 eidx = (pfn_to_pdx(epfn) + PDX_GROUP_COUNT - 1) / PDX_GROUP_COUNT; in extend_frame_table()
800 nidx = cidx = pfn_to_pdx(spfn)/PDX_GROUP_COUNT; in extend_frame_table()
802 ASSERT( pfn_to_pdx(epfn) <= (DIRECTMAP_SIZE >> PAGE_SHIFT) && in extend_frame_table()
803 pfn_to_pdx(epfn) <= FRAMETABLE_NR ); in extend_frame_table()
1289 if (pfn_to_pdx(epfn) > FRAMETABLE_NR) in mem_hotadd_check()
1299 sidx = ((pfn_to_pdx(spfn) + PDX_GROUP_COUNT - 1) & ~(PDX_GROUP_COUNT - 1)) in mem_hotadd_check()
1301 eidx = (pfn_to_pdx(epfn - 1) & ~(PDX_GROUP_COUNT - 1)) / PDX_GROUP_COUNT; in mem_hotadd_check()
1329 s = pfn_to_pdx(spfn) & ~(PDX_GROUP_COUNT - 1); in mem_hotadd_check()
1330 e = ( pfn_to_pdx(epfn) + (PDX_GROUP_COUNT - 1) ) & ~(PDX_GROUP_COUNT - 1); in mem_hotadd_check()
1419 max_pdx = pfn_to_pdx(max_page - 1) + 1; in memory_add()
1455 max_pdx = pfn_to_pdx(max_page - 1) + 1; in memory_add()