Searched refs:totalCost (Results 1 – 1 of 1) sorted by relevance
293 explicit ClientManager(int32_t totalCost);423 ClientManager<KEY, VALUE, LISTENER>::ClientManager(int32_t totalCost) : mMaxCost(totalCost) {} in ClientManager() argument463 int64_t totalCost = getCurrentCostLocked() + cost; in wouldEvictLocked() local499 } else if (conflicting || ((totalCost > mMaxCost && curCost > 0) && in wouldEvictLocked()509 totalCost -= curCost; in wouldEvictLocked()514 if (curPriority < priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()527 if (totalCost > mMaxCost && highestPriorityOwner != owner) { in wouldEvictLocked()711 int64_t totalCost = 0; in getCurrentCostLocked() local713 totalCost += x->getCost(); in getCurrentCostLocked()715 return totalCost; in getCurrentCostLocked()