Searched refs:cacheClearable (Results 1 – 3 of 3) sorted by relevance
181 final long cacheClearable = storageManager.getAllocatableBytes(target, in checkFitOnVolume() local183 return params.sizeBytes <= availBytes + cacheClearable; in checkFitOnVolume()308 final long cacheClearable = storage.getAllocatableBytes(target, in fitsOnInternal() local311 return params.sizeBytes <= allocateableBytes + cacheClearable; in fitsOnInternal()
251 final long cacheClearable = Math.max(0, cacheTotal - cacheReserved); in getFreeBytes() local253 return path.getUsableSpace() + cacheClearable; in getFreeBytes()
3845 long cacheClearable = 0; in getAllocatableBytes() local3857 cacheClearable = Math.max(0, cacheTotal - cacheReserved); in getAllocatableBytes()3861 return Math.max(0, (usable + cacheClearable) - fullReserved); in getAllocatableBytes()3863 return Math.max(0, (usable + cacheClearable) - lowReserved); in getAllocatableBytes()3881 final long cacheClearable = getAllocatableBytes(volumeUuid, in allocateBytes() local3883 if (bytes > allocatableBytes + cacheClearable) { in allocateBytes()3885 + " because only " + (allocatableBytes + cacheClearable) + " allocatable")); in allocateBytes()