Searched refs:pdx (Results 1 – 4 of 4) sorted by relevance
22 #define pdx_to_page(pdx) (frame_table + (pdx)) argument32 static inline unsigned long pdx_to_pfn(unsigned long pdx) in pdx_to_pfn() argument34 return (pdx & pfn_pdx_bottom_mask) | in pdx_to_pfn()35 ((pdx << pfn_pdx_hole_shift) & pfn_top_mask); in pdx_to_pfn()39 #define pdx_to_mfn(pdx) _mfn(pdx_to_pfn(pdx)) argument
303 unsigned long pdx; in virt_to_page() local308 pdx = (va - XENHEAP_VIRT_START) >> PAGE_SHIFT; in virt_to_page()309 pdx += mfn_to_pdx(xenheap_mfn_start); in virt_to_page()310 return frame_table + pdx - frametable_base_pdx; in virt_to_page()
57 #define pdx_to_virt(pdx) ((void *)(DIRECTMAP_VIRT_START + \ argument58 ((unsigned long)(pdx) << PAGE_SHIFT)))
33 obj-$(CONFIG_HAS_PDX) += pdx.o
Completed in 5 milliseconds