Searched refs:shared_pool (Results 1 – 1 of 1) sorted by relevance
360 let shared_pool = LockedFrameAllocator::<32>::new(); in init_static_shared_pool() localVariable362 shared_pool.lock().insert(range); in init_static_shared_pool()365 .set(Box::new(shared_pool)) in init_static_shared_pool()407 let mut shared_pool = SHARED_POOL.get().unwrap().lock(); in try_shared_alloc() localVariable409 if let Some(buffer) = shared_pool.alloc_aligned(layout) { in try_shared_alloc()412 shared_memory.refill(&mut shared_pool, layout); in try_shared_alloc()413 shared_pool.alloc_aligned(layout).map(|buffer| NonNull::new(buffer as _).unwrap()) in try_shared_alloc()