Searched refs:bfqd (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/block/ |
H A D | bfq-iosched.c | 231 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument 234 (!blk_queue_nonrot(bfqd->queue) || \ 474 void bfq_schedule_dispatch(struct bfq_data *bfqd) in bfq_schedule_dispatch() argument 476 lockdep_assert_held(&bfqd->lock); in bfq_schedule_dispatch() 478 if (bfqd->queued != 0) { in bfq_schedule_dispatch() 479 bfq_log(bfqd, "schedule dispatch"); in bfq_schedule_dispatch() 480 blk_mq_run_hw_queues(bfqd->queue, true); in bfq_schedule_dispatch() 493 static struct request *bfq_choose_req(struct bfq_data *bfqd, in bfq_choose_req() argument 524 back_max = bfqd->bfq_back_max * 2; in bfq_choose_req() 534 d1 = (last - s1) * bfqd->bfq_back_penalty; in bfq_choose_req() [all …]
|
H A D | bfq-iosched.h | 252 struct bfq_data *bfqd; member 1015 struct bfq_data *bfqd; member 1054 void bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq); 1057 void bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq, 1061 void bfq_end_wr_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg); 1062 void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq); 1063 void bfq_schedule_dispatch(struct bfq_data *bfqd); 1064 void bfq_put_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg); 1077 void bfq_bfqq_move(struct bfq_data *bfqd, struct bfq_queue *bfqq, 1090 void bfq_end_wr_async(struct bfq_data *bfqd); [all …]
|
H A D | bfq-cgroup.c | 227 if (!(bfqq == bfqg->bfqd->in_service_queue)) in bfqg_stats_update_io_add() 309 bfqq->bfqd->root_group; in bfqq_group() 533 struct bfq_data *bfqd = blkg->q->elevator->elevator_data; in bfq_pd_init() local 545 bfqg->bfqd = bfqd; in bfq_pd_init() 576 static void bfq_link_bfqg(struct bfq_data *bfqd, struct bfq_group *bfqg) in bfq_link_bfqg() argument 590 if (curr_bfqg != bfqd->root_group) { in bfq_link_bfqg() 593 parent = bfqd->root_group; in bfq_link_bfqg() 599 struct bfq_group *bfq_bio_bfqg(struct bfq_data *bfqd, struct bio *bio) in bfq_bio_bfqg() argument 617 &bfqg_to_blkg(bfqd->root_group)->blkcg->css); in bfq_bio_bfqg() 618 return bfqd->root_group; in bfq_bio_bfqg() [all …]
|
H A 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() 226 if (bfqg != bfqg->bfqd->root_group) in bfq_inc_active_entities() 235 if (bfqg != bfqg->bfqd->root_group) in bfq_dec_active_entities() 304 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish() 307 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish() 496 list_add(&bfqq->bfqq_list, &bfqq->bfqd->active_list[bfqq->actuator_idx]); in bfq_active_insert() 530 bfq_log_bfqq(bfqq->bfqd, bfqq, "get_entity: %p %d", in bfq_get_entity() 607 list_add(&bfqq->bfqq_list, &bfqq->bfqd->idle_list); in bfq_idle_insert() [all …]
|