Home
last modified time | relevance | path

Searched defs:PageFrameCount (Results 1 – 6 of 6) sorted by relevance

/DragonOS-0.1.8/kernel/src/mm/allocator/
Dpage_frame.rs154 pub struct PageFrameCount(usize); struct
156 impl PageFrameCount { impl
183 impl Add for PageFrameCount { implementation
191 impl AddAssign for PageFrameCount { implementation
197 impl Sub for PageFrameCount { implementation
205 impl SubAssign for PageFrameCount { implementation
211 impl Mul for PageFrameCount { implementation
219 impl Add<usize> for PageFrameCount { implementation
227 impl AddAssign<usize> for PageFrameCount { implementation
233 impl Sub<usize> for PageFrameCount { implementation
[all …]
Dbump.rs47 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() argument
82 unsafe fn free(&mut self, _address: PhysAddr, _count: PageFrameCount) { in free()
Dbuddy.rs407 fn buddy_alloc(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in buddy_alloc() argument
636 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() argument
650 unsafe fn free(&mut self, base: PhysAddr, count: PageFrameCount) { in free()
/DragonOS-0.1.8/kernel/src/mm/
Dno_init.rs35 unsafe fn allocate(&mut self, _count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() argument
39 unsafe fn free(&mut self, _address: PhysAddr, _count: PageFrameCount) { in free()
57 pub unsafe fn pseudo_map_phys(vaddr: VirtAddr, paddr: PhysAddr, count: PageFrameCount) { in pseudo_map_phys()
Ducontext.rs298 PageFrameCount, in mmap() argument
306 page_count: PageFrameCount, in mmap()
370 page_count: PageFrameCount, in munmap()
406 page_count: PageFrameCount, in mprotect()
1034 count: PageFrameCount, in physmap()
1083 page_count: PageFrameCount, in zeroed()
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs531 count: crate::mm::allocator::page_frame::PageFrameCount, in allocate()
532 ) -> Option<(PhysAddr, PageFrameCount)> { in allocate() argument
543 count: crate::mm::allocator::page_frame::PageFrameCount, in free()