Home
last modified time | relevance | path

Searched refs:phys_address (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/src/mm/allocator/
H A Dbump.rs116 .translate(MMA::phys_2_virt(p.phys_address()).unwrap()) in ensure_early_mapping()
119 let vaddr = MMA::phys_2_virt(p.phys_address()).unwrap(); in ensure_early_mapping()
120 pseudo_map_phys(vaddr, p.phys_address(), PageFrameCount::new(1)); in ensure_early_mapping()
H A Dpage_frame.rs39 pub fn phys_address(&self) -> PhysAddr { in phys_address() method
364 LockedFrameAllocator.free(frame.phys_address(), count); in deallocate_page_frames()
369 let paddr = frame.phys_address(); in deallocate_page_frames()
/DragonOS/kernel/src/ipc/
H A Dshm.rs168 let page = Arc::new(Page::new(true, cur_phys.phys_address())); in add()
170 let paddr = cur_phys.phys_address(); in add()
327 let page = page_manager_guard.get_unwrap(&cur_phys.phys_address()); in ipc_rmid()
338 let paddr = cur_phys.phys_address(); in ipc_rmid()
445 let page = page_manager_guard.get(&cur_phys.phys_address()).unwrap(); in map_count()
H A Dsyscall.rs380 phys.phys_address(), in shmat()
389 .get_unwrap(&phys.phys_address()) in shmat()
/DragonOS/kernel/src/perf/
H A Dbpf.rs242 let page = Arc::new(Page::new(true, cur_phys.phys_address())); in do_mmap()
243 let paddr = cur_phys.phys_address(); in do_mmap()
272 page_manager_guard.remove_page(&cur_phys.phys_address()); in drop()
/DragonOS/kernel/src/mm/
H A Dfault.rs323 MMArch::phys_2_virt(cache_page.read_irqsave().phys_address()) in do_cow_fault()
614 let phys = page_guard.phys_address(); in filemap_map_pages()
713 let page_phys = page_to_map.read_irqsave().phys_address(); in finish_fault()
H A Dpage.rs457 pub fn phys_address(&self) -> PhysAddr { in phys_address() method
725 super::allocator::page_frame::PhysPageFrame::from_ppn(ppn).phys_address() in address()
H A Ducontext.rs1556 unsafe { mapper.map_phys(cur_dest.virt_address(), cur_phy.phys_address(), flags) } in physmap()
1581 let paddr = cur_phy.phys_address(); in physmap()
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dmod.rs174 let paddr = PhysPageFrame::from_ppn(ppn).phys_address(); in table()