Searched refs:PhysPageFrame (Results 1 – 11 of 11) sorted by relevance
/DragonOS/kernel/src/mm/allocator/ |
H A D | page_frame.rs | 15 pub struct PhysPageFrame { struct 21 impl PhysPageFrame { implementation 62 current: PhysPageFrame, 64 end: PhysPageFrame, 68 pub fn new(start: PhysPageFrame, end: PhysPageFrame) -> Self { in new() argument 77 type Item = PhysPageFrame; 83 let current: PhysPageFrame = self.current; in next() 359 frame: PhysPageFrame, in deallocate_page_frames() argument
|
H A D | bump.rs | 7 allocator::page_frame::{PhysPageFrame, PhysPageFrameIter}, 108 PhysPageFrame::new(start_paddr), in ensure_early_mapping() 109 PhysPageFrame::new(start_paddr + count.bytes()), in ensure_early_mapping()
|
/DragonOS/kernel/src/driver/net/ |
H A D | dma.rs | 9 allocate_page_frames, deallocate_page_frames, PageFrameCount, PhysPageFrame, 61 PhysPageFrame::new(PhysAddr::new(paddr)), in dma_dealloc()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | virtio_impl.rs | 9 allocate_page_frames, deallocate_page_frames, PageFrameCount, PhysPageFrame, 72 PhysPageFrame::new(PhysAddr::new(paddr)), in dma_dealloc()
|
/DragonOS/kernel/src/driver/firmware/efi/ |
H A D | init.rs | 15 allocator::page_frame::PhysPageFrame, early_ioremap::EarlyIoRemap, 259 let page_count = (PhysPageFrame::new(PhysAddr::new(page_align_up( in reserve_memory_regions() 263 - PhysPageFrame::new(PhysAddr::new(page_align_down(md.phys_start as usize))).ppn()) in reserve_memory_regions()
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | mod.rs | 12 page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage, PhysPageFrame}, 174 let paddr = PhysPageFrame::from_ppn(ppn).phys_address(); in table() 180 let ppn = PhysPageFrame::new(table).ppn(); in set_table() 246 let ppn = PhysPageFrame::new(paddr).ppn(); in make_entry()
|
/DragonOS/kernel/src/perf/ |
H A D | bpf.rs | 10 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount, PhysPageFrame}; 238 let mut cur_phys = PhysPageFrame::new(phy_addr); in do_mmap() 268 let mut cur_phys = PhysPageFrame::new(phy_addr); in drop()
|
/DragonOS/kernel/src/ipc/ |
H A D | shm.rs | 9 allocator::page_frame::{FrameAllocator, PageFrameCount, PhysPageFrame}, 166 let mut cur_phys = PhysPageFrame::new(phys_page.0); in add() 317 let mut cur_phys = PhysPageFrame::new(kernel_shm.shm_start_paddr); in ipc_rmid() 441 let mut cur_phys = PhysPageFrame::new(self.shm_start_paddr); in map_count()
|
H A D | syscall.rs | 22 allocator::page_frame::{PageFrameCount, PhysPageFrame, VirtPageFrame}, 315 let mut phys = PhysPageFrame::new(kernel_shm.start_paddr()); in shmat()
|
/DragonOS/kernel/src/mm/ |
H A D | ucontext.rs | 36 deallocate_page_frames, PageFrameCount, PhysPageFrame, VirtPageFrame, VirtPageFrameIter, 842 PhysPageFrame::new(self.utable.table().phys()), in drop() 1177 PhysPageFrame::new(paddr), in unmap() 1542 phys: PhysPageFrame, in physmap() argument
|
H A D | page.rs | 725 super::allocator::page_frame::PhysPageFrame::from_ppn(ppn).phys_address() in address()
|