Searched refs:bfqd (Results 1 – 4 of 4) sorted by relevance
/block/ |
D | bfq-iosched.c | 231 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument 234 (!blk_queue_nonrot(bfqd->queue) || \ 406 static struct bfq_io_cq *bfq_bic_lookup(struct bfq_data *bfqd, in bfq_bic_lookup() argument 428 void bfq_schedule_dispatch(struct bfq_data *bfqd) in bfq_schedule_dispatch() argument 430 lockdep_assert_held(&bfqd->lock); in bfq_schedule_dispatch() 432 if (bfqd->queued != 0) { in bfq_schedule_dispatch() 433 bfq_log(bfqd, "schedule dispatch"); in bfq_schedule_dispatch() 434 blk_mq_run_hw_queues(bfqd->queue, true); in bfq_schedule_dispatch() 447 static struct request *bfq_choose_req(struct bfq_data *bfqd, in bfq_choose_req() argument 478 back_max = bfqd->bfq_back_max * 2; in bfq_choose_req() [all …]
|
D | bfq-iosched.h | 234 struct bfq_data *bfqd; member 910 void *bfqd; member 948 void bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq); 949 void bfq_weights_tree_add(struct bfq_data *bfqd, struct bfq_queue *bfqq, 951 void __bfq_weights_tree_remove(struct bfq_data *bfqd, 954 void bfq_weights_tree_remove(struct bfq_data *bfqd, 956 void bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq, 960 void bfq_end_wr_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg); 961 void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq); 962 void bfq_schedule_dispatch(struct bfq_data *bfqd); [all …]
|
D | bfq-wf2q.c | 38 unsigned int bfq_tot_busy_queues(struct bfq_data *bfqd) in bfq_tot_busy_queues() argument 40 return bfqd->busy_queues[0] + bfqd->busy_queues[1] + in bfq_tot_busy_queues() 41 bfqd->busy_queues[2]; in bfq_tot_busy_queues() 153 group_entity = &bfqq->bfqd->root_group->entity; in bfq_bfqq_to_bfqg() 238 return bfqq->bfqd->root_group; in bfq_bfqq_to_bfqg() 296 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish() 299 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish() 480 struct bfq_data *bfqd = NULL; in bfq_active_insert() local 495 bfqd = (struct bfq_data *)bfqg->bfqd; in bfq_active_insert() 498 list_add(&bfqq->bfqq_list, &bfqq->bfqd->active_list); in bfq_active_insert() [all …]
|
D | bfq-cgroup.c | 227 if (!(bfqq == ((struct bfq_data *)bfqg->bfqd)->in_service_queue)) in bfqg_stats_update_io_add() 314 bfqq->bfqd->root_group; in bfqq_group() 544 struct bfq_data *bfqd = blkg->q->elevator->elevator_data; in bfq_pd_init() local 554 bfqg->bfqd = bfqd; in bfq_pd_init() 585 static void bfq_link_bfqg(struct bfq_data *bfqd, struct bfq_group *bfqg) in bfq_link_bfqg() argument 599 if (curr_bfqg != bfqd->root_group) { in bfq_link_bfqg() 602 parent = bfqd->root_group; in bfq_link_bfqg() 608 struct bfq_group *bfq_bio_bfqg(struct bfq_data *bfqd, struct bio *bio) in bfq_bio_bfqg() argument 626 &bfqg_to_blkg(bfqd->root_group)->blkcg->css); in bfq_bio_bfqg() 627 return bfqd->root_group; in bfq_bio_bfqg() [all …]
|