Searched refs:allocate (Results 1 – 9 of 9) sorted by relevance
/DragonOS-0.1.8/docs/kernel/memory_management/ |
D | index.rst | 13 allocate-memory
|
D | allocate-memory.md | 17 …在内核中创建一个新的页表,或者是在内核中创建一个新的地址空间。这时候,我们需要手动分配页帧。使用`LockedFrameAllocator`的`allocate()`函数,能够分配在物理地址上连续…
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | page_frame.rs | 287 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()
|
D | bump.rs | 47 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|
D | slab.rs | 45 pub fn allocate(&mut self, _layout: Layout) -> Option<*mut u8> { in allocate() method
|
D | kernel_allocator.rs | 30 .allocate(page_frame_count) in alloc_in_buddy()
|
D | buddy.rs | 636 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|
/DragonOS-0.1.8/kernel/src/mm/ |
D | no_init.rs | 35 unsafe fn allocate(&mut self, _count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/ |
D | mod.rs | 464 unsafe { LockedFrameAllocator.allocate(random_size).unwrap() }; in test_buddy() 529 unsafe fn allocate( in allocate() method 534 return allocator.allocate(count); in allocate()
|