Searched refs:totalCost (Results 1 – 1 of 1) sorted by relevance
329 explicit ClientManager(int32_t totalCost);459 ClientManager<KEY, VALUE, LISTENER>::ClientManager(int32_t totalCost) : mMaxCost(totalCost) {} in ClientManager() argument499 int64_t totalCost = getCurrentCostLocked() + cost; in wouldEvictLocked() local543 totalCost -= curCost; in wouldEvictLocked()549 } else if (conflicting || ((totalCost > mMaxCost && curCost > 0) && in wouldEvictLocked()559 totalCost -= curCost; in wouldEvictLocked()564 if (curPriority < priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()577 if (totalCost > mMaxCost && highestPriorityOwner != owner) { in wouldEvictLocked()761 int64_t totalCost = 0; in getCurrentCostLocked() local763 totalCost += x->getCost(); in getCurrentCostLocked()[all …]