Home
last modified time | relevance | path

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

/DragonOS-0.1.8/docs/kernel/memory_management/
Dindex.rst13 allocate-memory
Dallocate-memory.md17 …在内核中创建一个新的页表,或者是在内核中创建一个新的地址空间。这时候,我们需要手动分配页帧。使用`LockedFrameAllocator`的`allocate()`函数,能够分配在物理地址上连续…
/DragonOS-0.1.8/kernel/src/mm/allocator/
Dpage_frame.rs287 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)>; in allocate() method
293 return self.allocate(PageFrameCount::new(1)).map(|(addr, _)| addr); in allocate_one()
305 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
306 return T::allocate(self, count); in allocate()
326 let frame = unsafe { LockedFrameAllocator.allocate(count)? }; in allocate_page_frames()
Dbump.rs47 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
Dslab.rs45 pub fn allocate(&mut self, _layout: Layout) -> Option<*mut u8> { in allocate() method
Dkernel_allocator.rs30 .allocate(page_frame_count) in alloc_in_buddy()
Dbuddy.rs636 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
/DragonOS-0.1.8/kernel/src/mm/
Dno_init.rs35 unsafe fn allocate(&mut self, _count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs464 unsafe { LockedFrameAllocator.allocate(random_size).unwrap() }; in test_buddy()
529 unsafe fn allocate( in allocate() method
534 return allocator.allocate(count); in allocate()