Searched defs:phys_2_virt (Results 1 – 2 of 2) sorted by relevance
40 #define phys_2_virt(addr) ((unsigned long *)((unsigned long)(addr) + PAGE_OFFSET)) macro
70 pub fn phys_2_virt(addr: usize) -> usize { in phys_2_virt() function426 unsafe fn phys_2_virt(phys: PhysAddr) -> Option<VirtAddr> { in phys_2_virt() method