Home
last modified time | relevance | path

Searched refs:bfqd (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/block/
Dbfq-iosched.c232 #define BFQ_RQ_SEEKY(bfqd, last_pos, rq) \ argument
235 (!blk_queue_nonrot(bfqd->queue) || \
457 void bfq_schedule_dispatch(struct bfq_data *bfqd) in bfq_schedule_dispatch() argument
459 lockdep_assert_held(&bfqd->lock); in bfq_schedule_dispatch()
461 if (bfqd->queued != 0) { in bfq_schedule_dispatch()
462 bfq_log(bfqd, "schedule dispatch"); in bfq_schedule_dispatch()
463 blk_mq_run_hw_queues(bfqd->queue, true); in bfq_schedule_dispatch()
476 static struct request *bfq_choose_req(struct bfq_data *bfqd, in bfq_choose_req() argument
507 back_max = bfqd->bfq_back_max * 2; in bfq_choose_req()
517 d1 = (last - s1) * bfqd->bfq_back_penalty; in bfq_choose_req()
[all …]
Dbfq-iosched.h241 struct bfq_data *bfqd; member
934 void *bfqd; member
970 void bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq);
971 void bfq_weights_tree_add(struct bfq_data *bfqd, struct bfq_queue *bfqq,
973 void __bfq_weights_tree_remove(struct bfq_data *bfqd,
976 void bfq_weights_tree_remove(struct bfq_data *bfqd,
978 void bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq,
982 void bfq_end_wr_async_queues(struct bfq_data *bfqd, struct bfq_group *bfqg);
983 void bfq_release_process_ref(struct bfq_data *bfqd, struct bfq_queue *bfqq);
984 void bfq_schedule_dispatch(struct bfq_data *bfqd);
[all …]
Dbfq-wf2q.c38 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()
278 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish()
281 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish()
462 struct bfq_data *bfqd = NULL; in bfq_active_insert() local
477 bfqd = (struct bfq_data *)bfqg->bfqd; in bfq_active_insert()
480 list_add(&bfqq->bfqq_list, &bfqq->bfqd->active_list); in bfq_active_insert()
482 if (bfqg != bfqd->root_group) in bfq_active_insert()
516 bfq_log_bfqq(bfqq->bfqd, bfqq, "get_entity: %p %d", in bfq_get_entity()
[all …]
Dbfq-cgroup.c227 if (!(bfqq == ((struct bfq_data *)bfqg->bfqd)->in_service_queue)) in bfqg_stats_update_io_add()
309 bfqq->bfqd->root_group; in bfqq_group()
541 struct bfq_data *bfqd = blkg->q->elevator->elevator_data; in bfq_pd_init() local
553 bfqg->bfqd = bfqd; in bfq_pd_init()
584 static void bfq_link_bfqg(struct bfq_data *bfqd, struct bfq_group *bfqg) in bfq_link_bfqg() argument
598 if (curr_bfqg != bfqd->root_group) { in bfq_link_bfqg()
601 parent = bfqd->root_group; in bfq_link_bfqg()
607 struct bfq_group *bfq_bio_bfqg(struct bfq_data *bfqd, struct bio *bio) in bfq_bio_bfqg() argument
625 &bfqg_to_blkg(bfqd->root_group)->blkcg->css); in bfq_bio_bfqg()
626 return bfqd->root_group; in bfq_bio_bfqg()
[all …]