• Home
  • Raw
  • Download

Lines Matching refs:desired

99 	size_t desired;  member
250 if (excess_freed && (vio_cmo.desired > vio_cmo.reserve.size)) { in vio_cmo_dealloc()
251 tmp = min(excess_freed, (vio_cmo.desired - vio_cmo.reserve.size)); in vio_cmo_dealloc()
405 cmo->desired = cmo->min; in vio_cmo_balance()
416 cmo->desired += (viodev->cmo.desired - VIO_CMO_MIN_ENT); in vio_cmo_balance()
431 if (viodev->cmo.desired <= level) { in vio_cmo_balance()
442 chunk = min(chunk, (viodev->cmo.desired - in vio_cmo_balance()
640 void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) in vio_cmo_set_dev_desired() argument
650 if (desired < VIO_CMO_MIN_ENT) in vio_cmo_set_dev_desired()
651 desired = VIO_CMO_MIN_ENT; in vio_cmo_set_dev_desired()
669 if (desired >= viodev->cmo.desired) { in vio_cmo_set_dev_desired()
671 vio_cmo.desired += desired - viodev->cmo.desired; in vio_cmo_set_dev_desired()
672 viodev->cmo.desired = desired; in vio_cmo_set_dev_desired()
675 vio_cmo.desired -= viodev->cmo.desired - desired; in vio_cmo_set_dev_desired()
676 viodev->cmo.desired = desired; in vio_cmo_set_dev_desired()
681 if (viodev->cmo.entitled > desired) { in vio_cmo_set_dev_desired()
682 vio_cmo.reserve.size -= viodev->cmo.entitled - desired; in vio_cmo_set_dev_desired()
683 vio_cmo.excess.size += viodev->cmo.entitled - desired; in vio_cmo_set_dev_desired()
691 max(viodev->cmo.allocated, desired); in vio_cmo_set_dev_desired()
692 viodev->cmo.entitled = desired; in vio_cmo_set_dev_desired()
750 viodev->cmo.desired = in vio_cmo_bus_probe()
752 if (viodev->cmo.desired < VIO_CMO_MIN_ENT) in vio_cmo_bus_probe()
753 viodev->cmo.desired = VIO_CMO_MIN_ENT; in vio_cmo_bus_probe()
765 viodev->cmo.desired = 0; in vio_cmo_bus_probe()
780 vio_cmo.desired += (viodev->cmo.desired - in vio_cmo_bus_probe()
806 vio_cmo.desired += viodev->cmo.desired; in vio_cmo_bus_probe()
858 vio_cmo.desired -= (viodev->cmo.desired - VIO_CMO_MIN_ENT); in vio_cmo_bus_remove()
886 viodev->cmo.desired = VIO_CMO_MIN_ENT; in vio_cmo_bus_remove()
945 vio_cmo.desired = vio_cmo.reserve.size; in vio_cmo_bus_init()
988 viodev_cmo_rd_attr(desired);
1029 viobus_cmo_rd_attr(desired);
1074 void vio_cmo_set_dev_desired(struct vio_dev *viodev, size_t desired) {} in vio_cmo_set_dev_desired() argument