Home
last modified time | relevance | path

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

/aosp_15_r20/packages/modules/Virtualization/libs/libvmbase/src/memory/
Dshared.rs122 let mut shared_pool = SHARED_POOL.get().unwrap().lock(); in try_shared_alloc() localVariable
124 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()
Dtracker.rs443 let shared_pool = LockedFrameAllocator::<32>::new(); in init_static_shared_pool() localVariable
445 shared_pool.lock().insert(range); in init_static_shared_pool()
448 .set(Box::new(shared_pool)) in init_static_shared_pool()