Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/arch/x86_64/mm/
Dmod.rs53 static INNER_ALLOCATOR: SpinLock<Option<BuddyAllocator<MMArch>>> = SpinLock::new(None); constant
404 let mut binding = INNER_ALLOCATOR.lock(); in allocator_init()
533 if let Some(ref mut allocator) = *INNER_ALLOCATOR.lock_irqsave() { in allocate()
546 if let Some(ref mut allocator) = *INNER_ALLOCATOR.lock_irqsave() { in free()
579 *INNER_ALLOCATOR.lock() = Some(allocator); in set_inner_allocator()