Lines Matching refs:excess_freed
193 size_t excess_freed = 0; in vio_cmo_dealloc() local
203 excess_freed = min(reserve_freed, (viodev->cmo.allocated - in vio_cmo_dealloc()
205 reserve_freed -= excess_freed; in vio_cmo_dealloc()
209 viodev->cmo.allocated -= (reserve_freed + excess_freed); in vio_cmo_dealloc()
218 if (spare_needed && excess_freed) { in vio_cmo_dealloc()
219 tmp = min(excess_freed, spare_needed); in vio_cmo_dealloc()
223 excess_freed -= tmp; in vio_cmo_dealloc()
249 if (excess_freed && (vio_cmo.desired > vio_cmo.reserve.size)) { in vio_cmo_dealloc()
250 tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); in vio_cmo_dealloc()
254 excess_freed -= tmp; in vio_cmo_dealloc()
259 if (excess_freed) in vio_cmo_dealloc()
260 vio_cmo.excess.free += excess_freed; in vio_cmo_dealloc()