Lines Matching refs:service
278 static u64 bfq_delta(unsigned long service, unsigned long weight) in bfq_delta() argument
280 u64 d = (u64)service << WFQ_SERVICE_SHIFT; in bfq_delta()
291 static void bfq_calc_finish(struct bfq_entity *entity, unsigned long service) in bfq_calc_finish() argument
296 bfq_delta(service, entity->weight); in bfq_calc_finish()
301 service, entity->weight); in bfq_calc_finish()
305 bfq_delta(service, entity->weight)); in bfq_calc_finish()
842 entity->service += served; in bfq_bfqq_served()
885 int tot_serv_to_charge = max(serv_to_charge_for_time, entity->service); in bfq_bfqq_charge_time()
892 max_t(int, 0, tot_serv_to_charge - entity->service)); in bfq_bfqq_charge_time()
1067 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()