Home
last modified time | relevance | path

Searched refs:PageFrameUsage (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/mm/allocator/
H A Dbump.rs5 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 Dpage_frame.rs281 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 Dbuddy.rs10 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 Dno_init.rs21 allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage},
129 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dmod.rs12 page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage, PhysPageFrame},
365 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs20 use crate::mm::allocator::page_frame::{FrameAllocator, PageFrameCount, PageFrameUsage};
667 unsafe fn usage(&self) -> PageFrameUsage { in usage() argument