Home
last modified time | relevance | path

Searched refs:buddy_allocator (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs134 let buddy_allocator = unsafe { BuddyAllocator::<MMArch>::new(bump_allocator).unwrap() }; in riscv_mm_init() localVariable
136 unsafe { set_inner_allocator(buddy_allocator) }; in riscv_mm_init()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs526 let buddy_allocator = unsafe { BuddyAllocator::<X86_64MMArch>::new(bump_allocator).unwrap() }; in allocator_init() localVariable
528 unsafe { set_inner_allocator(buddy_allocator) }; in allocator_init()