Home
last modified time | relevance | path

Searched refs:excess_freed (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/arch/powerpc/platforms/pseries/
Dvio.c193 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()
[all …]