Searched refs:bfqd (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/block/ |
D | bfq-iosched.c | 394 static struct bfq_io_cq *bfq_bic_lookup(struct bfq_data *bfqd, in bfq_bic_lookup() argument 416 void bfq_schedule_dispatch(struct bfq_data *bfqd) in bfq_schedule_dispatch() argument 418 if (bfqd->queued != 0) { in bfq_schedule_dispatch() 419 bfq_log(bfqd, "schedule dispatch"); in bfq_schedule_dispatch() 420 blk_mq_run_hw_queues(bfqd->queue, true); in bfq_schedule_dispatch() 434 static struct request *bfq_choose_req(struct bfq_data *bfqd, in bfq_choose_req() argument 465 back_max = bfqd->bfq_back_max * 2; in bfq_choose_req() 475 d1 = (last - s1) * bfqd->bfq_back_penalty; in bfq_choose_req() 482 d2 = (last - s2) * bfqd->bfq_back_penalty; in bfq_choose_req() 532 struct bfq_data *bfqd = data->q->elevator->elevator_data; in bfq_limit_depth() local [all …]
|
D | bfq-iosched.h | 236 struct bfq_data *bfqd; member 790 void *bfqd; member 827 void bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq); 828 void bfq_weights_tree_add(struct bfq_data *bfqd, struct bfq_entity *entity, 830 void __bfq_weights_tree_remove(struct bfq_data *bfqd, 833 void bfq_weights_tree_remove(struct bfq_data *bfqd, 835 void bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq, 838 void bfq_end_wr_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg); 839 void bfq_schedule_dispatch(struct bfq_data *bfqd); 840 void bfq_put_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg); [all …]
|
D | bfq-wf2q.c | 156 group_entity = &bfqq->bfqd->root_group->entity; in bfq_bfqq_to_bfqg() 241 return bfqq->bfqd->root_group; in bfq_bfqq_to_bfqg() 302 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish() 305 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish() 486 struct bfq_data *bfqd = NULL; in bfq_active_insert() local 501 bfqd = (struct bfq_data *)bfqg->bfqd; in bfq_active_insert() 504 list_add(&bfqq->bfqq_list, &bfqq->bfqd->active_list); in bfq_active_insert() 506 if (bfqg != bfqd->root_group) in bfq_active_insert() 540 bfq_log_bfqq(bfqq->bfqd, bfqq, "get_entity: %p %d", in bfq_get_entity() 588 struct bfq_data *bfqd = NULL; in bfq_active_extract() local [all …]
|
D | bfq-cgroup.c | 160 if (!(bfqq == ((struct bfq_data *)bfqg->bfqd)->in_service_queue)) in bfqg_stats_update_io_add() 247 bfqq->bfqd->root_group; in bfqq_group() 459 struct bfq_data *bfqd = blkg->q->elevator->elevator_data; in bfq_pd_init() local 469 bfqg->bfqd = bfqd; in bfq_pd_init() 499 static struct bfq_group *bfq_lookup_bfqg(struct bfq_data *bfqd, in bfq_lookup_bfqg() argument 504 blkg = blkg_lookup(blkcg, bfqd->queue); in bfq_lookup_bfqg() 510 struct bfq_group *bfq_find_set_group(struct bfq_data *bfqd, in bfq_find_set_group() argument 516 bfqg = bfq_lookup_bfqg(bfqd, blkcg); in bfq_find_set_group() 529 if (bfqg != bfqd->root_group) { in bfq_find_set_group() 532 parent = bfqd->root_group; in bfq_find_set_group() [all …]
|