Searched refs:service (Results 1 – 3 of 3) sorted by relevance
/block/ |
D | bfq-wf2q.c | 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() [all …]
|
D | bfq-iosched.c | 955 entity->service); in bfq_updated_next_req() 1309 return entity->budget - entity->service; in bfq_bfqq_budget_left() 1486 entity->service = 0; in bfq_bfqq_update_budg_for_activation() 1494 entity->service = 0; in bfq_bfqq_update_budg_for_activation() 2188 bfqq->entity.budget = bfqq->entity.service = 0; in bfq_remove_request() 3643 budget = max_t(int, bfqq->entity.service, min_budget); in __bfq_bfqq_recalc_budget() 3764 slow = bfqq->entity.service < bfqd->bfq_max_budget / 2; in bfq_bfqq_is_slow() 3937 entity->service <= 2 * entity->budget / 10) in bfq_bfqq_expire() 4016 entity->service = 0; in bfq_bfqq_expire() 4037 entity->service = 0; in bfq_bfqq_expire()
|
D | bfq-iosched.h | 166 int service; member
|