Lines Matching refs:reserve
93 struct vio_cmo_pool reserve; member
220 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
248 if (excess_freed && (vio_cmo.desired > vio_cmo.reserve.size)) { in vio_cmo_dealloc()
249 tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); in vio_cmo_dealloc()
252 vio_cmo.reserve.size += tmp; in vio_cmo_dealloc()
294 vio_cmo.reserve.size += tmp; in vio_cmo_entitlement_update()
460 cmo->reserve.size = cmo->min; in vio_cmo_balance()
468 cmo->reserve.size += (viodev->cmo.entitled - in vio_cmo_balance()
474 cmo->excess.size = cmo->entitled - cmo->reserve.size; in vio_cmo_balance()
669 vio_cmo.reserve.size -= viodev->cmo.entitled - desired; in vio_cmo_set_dev_desired()
786 vio_cmo.reserve.size += tmp; in vio_cmo_bus_probe()
865 vio_cmo.reserve.size -= viodev->cmo.entitled; in vio_cmo_bus_remove()
919 vio_cmo.reserve.size = vio_cmo.spare; in vio_cmo_bus_init()
920 vio_cmo.reserve.size += (vio_cmo_num_OF_devs() * in vio_cmo_bus_init()
922 if (vio_cmo.reserve.size > vio_cmo.entitled) { in vio_cmo_bus_init()
929 vio_cmo.excess.size = vio_cmo.entitled - vio_cmo.reserve.size; in vio_cmo_bus_init()
931 vio_cmo.min = vio_cmo.reserve.size; in vio_cmo_bus_init()
932 vio_cmo.desired = vio_cmo.reserve.size; in vio_cmo_bus_init()
1028 viobus_cmo_pool_rd_attr(reserve, size);