Lines Matching refs:pool
21 slots remain in the global pool and are given out by get_physical_page().
191 pool->Map(physicalAddress, address);
355 // put our slots back to the global pool
366 // get our slots from the global pool
528 // get a slot from the per-cpu user pool
545 // return the slot to the per-cpu user pool
709 PhysicalPageSlotPool* pool = fNonEmptyPools.Head();
710 if (pool == NULL) {
714 // allocate new pool
716 status_t error = fInitialPool->AllocatePool(pool);
721 fNonEmptyPools.Add(pool);
722 pool = fNonEmptyPools.Head();
725 slot = pool->GetSlot();
727 if (pool->IsEmpty()) {
728 fNonEmptyPools.Remove(pool);
729 fEmptyPools.Add(pool);
741 PhysicalPageSlotPool* pool = slot->pool;
742 if (pool->IsEmpty()) {
743 fEmptyPools.Remove(pool);
744 fNonEmptyPools.Add(pool);
747 pool->PutSlot(slot);