Searched refs:phy_addr (Results 1 – 1 of 1) sorted by relevance
29 let (phy_addr, allocated_frame_count) = LockedFrameAllocator in alloc_in_buddy()33 let virt_addr = unsafe { MMArch::phys_2_virt(phy_addr).ok_or(AllocError)? }; in alloc_in_buddy()51 let phy_addr = MMArch::virt_2_phys(VirtAddr::new(ptr as usize)).unwrap(); in free_in_buddy() localVariable52 LockedFrameAllocator.free(phy_addr, page_frame_count); in free_in_buddy()