Lines Matching refs:DIV64_U64_ROUND_UP
706 return DIV64_U64_ROUND_UP(abs_cost * WEIGHT_ONE, hw_inuse); in abs_cost_to_cost()
714 return DIV64_U64_ROUND_UP(cost * hw_inuse, WEIGHT_ONE); in cost_to_abs_cost()
879 *page = DIV64_U64_ROUND_UP(VTIME_PER_SEC, bps_pages); in calc_lcoefs()
885 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, seqiops); in calc_lcoefs()
891 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, randiops); in calc_lcoefs()
943 ioc->vrate_min = DIV64_U64_ROUND_UP((u64)ioc->params.qos[QOS_MIN] * in ioc_refresh_params_disk()
945 ioc->vrate_max = DIV64_U64_ROUND_UP((u64)ioc->params.qos[QOS_MAX] * in ioc_refresh_params_disk()
1030 vrate = clamp(DIV64_U64_ROUND_UP(vrate * adj_pct, 100), in ioc_adjust_base_vrate()
1098 inuse = DIV64_U64_ROUND_UP(active * iocg->child_inuse_sum, in __propagate_weights()
1137 parent_inuse = DIV64_U64_ROUND_UP( in __propagate_weights()
1246 inuse = DIV64_U64_ROUND_UP(parent->active * child_inuse_sum, in current_hweight_max()
1569 DIV64_U64_ROUND_UP(vshortage, ioc->vtime_base_rate) * in iocg_kick_waitq()
1628 DIV64_U64_ROUND_UP((u64)nr_missed[rw] * MILLION, in ioc_lat_stat()
1950 iocg->hweight_active = DIV64_U64_ROUND_UP( in transfer_surpluses()
2000 iocg->child_adjusted_sum = DIV64_U64_ROUND_UP( in transfer_surpluses()
2009 iocg->hweight_inuse = DIV64_U64_ROUND_UP( in transfer_surpluses()
2014 inuse = DIV64_U64_ROUND_UP( in transfer_surpluses()
2019 st = DIV64_U64_ROUND_UP( in transfer_surpluses()
2023 wpt = DIV64_U64_ROUND_UP( in transfer_surpluses()
2026 wptp = DIV64_U64_ROUND_UP( in transfer_surpluses()
2030 iocg->child_adjusted_sum = sf + DIV64_U64_ROUND_UP(st * wptp, wpt); in transfer_surpluses()
2054 inuse = DIV64_U64_ROUND_UP( in transfer_surpluses()
2324 u64 inflight_us = DIV64_U64_ROUND_UP( in ioc_timer_fn()
2338 DIV64_U64_ROUND_UP(usage_us * WEIGHT_ONE, in ioc_timer_fn()