Lines Matching refs:pool
19 slots remain in the global pool and are given out by get_physical_page().
184 pool->Map(physicalAddress, address);
348 // put our slots back to the global pool
359 // get our slots from the global pool
525 // get a slot from the per-cpu user pool
542 // return the slot to the per-cpu user pool
706 PhysicalPageSlotPool* pool = fNonEmptyPools.Head();
707 if (pool == NULL) {
711 // allocate new pool
713 status_t error = fInitialPool->AllocatePool(pool);
718 fNonEmptyPools.Add(pool);
719 pool = fNonEmptyPools.Head();
722 slot = pool->GetSlot();
724 if (pool->IsEmpty()) {
725 fNonEmptyPools.Remove(pool);
726 fEmptyPools.Add(pool);
738 PhysicalPageSlotPool* pool = slot->pool;
739 if (pool->IsEmpty()) {
740 fEmptyPools.Remove(pool);
741 fNonEmptyPools.Add(pool);
744 pool->PutSlot(slot);