Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dvio.c190 size_t spare_needed = 0; in vio_cmo_dealloc() local
210 spare_needed = VIO_CMO_MIN_ENT - vio_cmo.spare; in vio_cmo_dealloc()
216 if (spare_needed && excess_freed) { in vio_cmo_dealloc()
217 tmp = min(excess_freed, spare_needed); in vio_cmo_dealloc()
222 spare_needed -= tmp; in vio_cmo_dealloc()
232 if (spare_needed && reserve_freed) { in vio_cmo_dealloc()
233 tmp = min3(spare_needed, reserve_freed, (viodev->cmo.entitled - VIO_CMO_MIN_ENT)); in vio_cmo_dealloc()
238 spare_needed -= tmp; in vio_cmo_dealloc()