Home
last modified time | relevance | path

Searched defs:allocate (Results 1 – 11 of 11) sorted by relevance

/DragonOS/kernel/src/mm/allocator/
H A Dslab.rs33 pub(crate) unsafe fn allocate(&mut self, layout: Layout) -> *mut u8 { in allocate() method
H A Dbump.rs132 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
H A Dpage_frame.rs311 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 Dbuddy.rs579 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
/DragonOS/kernel/crates/rust-slabmalloc/src/
H A Dlib.rs65 fn allocate(&mut self, layout: Layout) -> Result<NonNull<u8>, AllocationError>; in allocate() method
H A Dzone.rs159 fn allocate(&mut self, layout: Layout) -> Result<NonNull<u8>, AllocationError> { in allocate() method
H A Dsc.rs262 pub fn allocate(&mut self, layout: Layout) -> Result<NonNull<u8>, AllocationError> { in allocate() method
H A Dpages.rs218 fn allocate(&mut self, layout: Layout) -> *mut u8 { in allocate() method
/DragonOS/kernel/src/mm/
H A Dno_init.rs110 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
/DragonOS/kernel/src/arch/riscv64/mm/
H A Dmod.rs350 unsafe fn allocate(&mut self, count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs651 unsafe fn allocate(&mut self, mut count: PageFrameCount) -> Option<(PhysAddr, PageFrameCount)> { in allocate() method