Searched refs:cacheClearable (Results 1 – 3 of 3) sorted by relevance
184 final long cacheClearable = storageManager.getAllocatableBytes(target, in checkFitOnVolume() local186 return params.sizeBytes <= availBytes + cacheClearable; in checkFitOnVolume()319 final long cacheClearable = storage.getAllocatableBytes(target, in fitsOnInternal() local322 return params.sizeBytes <= allocateableBytes + cacheClearable; in fitsOnInternal()
316 final long cacheClearable = Math.max(0, cacheTotal - cacheReserved); in getFreeBytes() local318 freeBytes = path.getUsableSpace() + cacheClearable; in getFreeBytes()
4149 long cacheClearable = 0; in getAllocatableBytes() local4161 cacheClearable = Math.max(0, cacheTotal - cacheReserved); in getAllocatableBytes()4165 return Math.max(0, (usable + cacheClearable) - fullReserved); in getAllocatableBytes()4167 return Math.max(0, (usable + cacheClearable) - lowReserved); in getAllocatableBytes()4185 final long cacheClearable = getAllocatableBytes(volumeUuid, in allocateBytes() local4187 if (bytes > allocatableBytes + cacheClearable) { in allocateBytes()4189 + " because only " + (allocatableBytes + cacheClearable) + " allocatable")); in allocateBytes()