Searched refs:PageFrameUsage (Results 1 – 6 of 6) sorted by relevance
/DragonOS/kernel/src/mm/allocator/ |
H A D | bump.rs | 5 use super::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage}; 179 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument 200 let frame = PageFrameUsage::new(PageFrameCount::new(used), PageFrameCount::new(total)); in usage()
|
H A D | page_frame.rs | 281 pub struct PageFrameUsage { struct 287 impl PageFrameUsage { impl 324 unsafe fn usage(&self) -> PageFrameUsage; in usage() argument 341 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument
|
H A D | buddy.rs | 10 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage}; 607 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument 620 PageFrameUsage::new(self.total - free, self.total) in usage()
|
/DragonOS/kernel/src/mm/ |
H A D | no_init.rs | 21 allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage}, 129 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | mod.rs | 12 page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage, PhysPageFrame}, 365 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | mod.rs | 20 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage}; 667 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument
|