Searched refs:bytes_needed (Results 1 – 2 of 2) sorted by relevance
128 int MakeFreeSpaceOnCache(size_t bytes_needed) { in MakeFreeSpaceOnCache() argument131 (long)free_now, (long)bytes_needed); in MakeFreeSpaceOnCache()133 if (free_now >= bytes_needed) { in MakeFreeSpaceOnCache()157 for (i = 0; i < entries && free_now < bytes_needed; ++i) { in MakeFreeSpaceOnCache()171 return (free_now >= bytes_needed) ? 0 : -1; in MakeFreeSpaceOnCache()
85 int MakeFreeSpaceOnCache(size_t bytes_needed);