Searched refs:shared_pool (Results 1 – 2 of 2) sorted by relevance
122 let mut shared_pool = SHARED_POOL.get().unwrap().lock(); in try_shared_alloc() localVariable124 if let Some(buffer) = shared_pool.alloc_aligned(layout) { in try_shared_alloc()131 shared_memory.refill(&mut shared_pool, refill_layout); in try_shared_alloc()132 shared_pool.alloc_aligned(layout).map(|buffer| NonNull::new(buffer as _).unwrap()) in try_shared_alloc()
443 let shared_pool = LockedFrameAllocator::<32>::new(); in init_static_shared_pool() localVariable445 shared_pool.lock().insert(range); in init_static_shared_pool()448 .set(Box::new(shared_pool)) in init_static_shared_pool()