5 #include <linux/types.h>
8 #define PFN_ALIGN(x) (((unsigned long)(x) + (PAGE_SIZE - 1)) & PAGE_MASK)
9 #define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
10 #define PFN_DOWN(x) ((x) >> PAGE_SHIFT)
11 #define PFN_PHYS(x) ((phys_addr_t)(x) << PAGE_SHIFT)
This page took 0.03027 seconds and 5 git commands to generate.