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() local507 totalCost -= curCost; in wouldEvictLocked()513 } else if (conflicting || ((totalCost > mMaxCost && curCost > 0) && in wouldEvictLocked()523 totalCost -= curCost; in wouldEvictLocked()528 if (curPriority < priority && (conflicting || (totalCost > mMaxCost && curCost > 0))) { in wouldEvictLocked()541 if (totalCost > mMaxCost && highestPriorityOwner != owner) { in wouldEvictLocked()725 int64_t totalCost = 0; in getCurrentCostLocked() local727 totalCost += x->getCost(); in getCurrentCostLocked()[all …]