Lines Matching refs:service
278 static u64 bfq_delta(unsigned long service, unsigned long weight) in bfq_delta() argument
280 return div64_ul((u64)service << WFQ_SERVICE_SHIFT, weight); in bfq_delta()
288 static void bfq_calc_finish(struct bfq_entity *entity, unsigned long service) in bfq_calc_finish() argument
293 bfq_delta(service, entity->weight); in bfq_calc_finish()
298 service, entity->weight); in bfq_calc_finish()
302 bfq_delta(service, entity->weight)); in bfq_calc_finish()
839 entity->service += served; in bfq_bfqq_served()
882 int tot_serv_to_charge = max(serv_to_charge_for_time, entity->service); in bfq_bfqq_charge_time()
889 max_t(int, 0, tot_serv_to_charge - entity->service)); in bfq_bfqq_charge_time()
1064 bfq_calc_finish(entity, entity->service); in __bfq_requeue_entity()
1183 bfq_calc_finish(entity, entity->service); in __bfq_deactivate_entity()
1193 entity->service = 0; in __bfq_deactivate_entity()