Searched defs:allocate (Results 1 – 11 of 11) sorted by relevance
/DragonOS/kernel/src/mm/allocator/ |
H A D | slab.rs | 33 pub(crate) unsafe fn allocate(&mut self, layout: Layout) -> *mut u8 { in allocate() method
|
H A D | bump.rs | 132 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|
H A D | page_frame.rs | 311 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)>; in allocate() method 329 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|
H A D | buddy.rs | 579 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | lib.rs | 65 fn allocate(&mut self, layout: Layout) -> Result<NonNull<u8>, AllocationError>; in allocate() method
|
H A D | zone.rs | 159 fn allocate(&mut self, layout: Layout) -> Result<NonNull<u8>, AllocationError> { in allocate() method
|
H A D | sc.rs | 262 pub fn allocate(&mut self, layout: Layout) -> Result<NonNull<u8>, AllocationError> { in allocate() method
|
H A D | pages.rs | 218 fn allocate(&mut self, layout: Layout) -> *mut u8 { in allocate() method
|
/DragonOS/kernel/src/mm/ |
H A D | no_init.rs | 110 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|
/DragonOS/kernel/src/arch/riscv64/mm/ |
H A D | mod.rs | 350 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|
/DragonOS/kernel/src/arch/x86_64/mm/ |
H A D | mod.rs | 651 unsafe fn allocate(&mut self, mut count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
|