Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dbfq-cgroup.c325 kfree(bfqg); in bfqg_put()
347 if (!bfqg) in bfqg_stats_update_legacy_io()
515 bfqg = kzalloc_node(sizeof(*bfqg), gfp, disk->node_id); in bfq_pd_alloc()
516 if (!bfqg) in bfq_pd_alloc()
520 kfree(bfqg); in bfq_pd_alloc()
612 return bfqg; in bfq_bio_bfqg()
850 blkg_path(bfqg_to_blkg(bfqg), bfqg->blkg_path, sizeof(bfqg->blkg_path)); in bfq_bic_update_cgroup()
1090 if (bfqg) in bfq_io_set_weight_legacy()
1130 bfq_group_set_weight(bfqg, bfqg->entity.weight, v); in bfq_io_set_device_weight()
1488 if (!bfqg) in bfq_create_group_hierarchy()
[all …]
H A Dbfq-iosched.h1075 void bfqg_stats_update_dequeue(struct bfq_group *bfqg);
1076 void bfqg_stats_set_start_idle_time(struct bfq_group *bfqg);
1078 struct bfq_group *bfqg);
1083 void bfqg_stats_set_start_empty_time(struct bfq_group *bfqg);
1084 void bfqg_stats_update_idle_time(struct bfq_group *bfqg);
1085 void bfqg_stats_update_avg_queue_size(struct bfq_group *bfqg);
1092 struct blkcg_gq *bfqg_to_blkg(struct bfq_group *bfqg);
1095 void bfqg_and_blkg_put(struct bfq_group *bfqg);
1189 #define bfq_log_bfqg(bfqd, bfqg, fmt, args...) do { \ argument
1191 &bfqg_to_blkg(bfqg)->blkcg->css, fmt, ##args); \
[all …]
H A Dbfq-wf2q.c152 struct bfq_group *bfqg; in bfq_update_parent_budget() local
158 bfqg = container_of(group_sd, struct bfq_group, sched_data); in bfq_update_parent_budget()
164 bfqg_entity = bfqg->my_entity; in bfq_update_parent_budget()
196 struct bfq_group *bfqg; in bfq_no_longer_next_in_service() local
201 bfqg = container_of(entity, struct bfq_group, entity); in bfq_no_longer_next_in_service()
215 if (bfqg->active_entities == 1) in bfq_no_longer_next_in_service()
224 struct bfq_group *bfqg = container_of(sd, struct bfq_group, sched_data); in bfq_inc_active_entities() local
226 if (bfqg != bfqg->bfqd->root_group) in bfq_inc_active_entities()
227 bfqg->active_entities++; in bfq_inc_active_entities()
235 if (bfqg != bfqg->bfqd->root_group) in bfq_dec_active_entities()
[all …]
H A Dbfq-iosched.c2634 struct bfq_group *bfqg) in bfq_end_wr_async_queues() argument
2641 if (bfqg->async_bfqq[i][j][k]) in bfq_end_wr_async_queues()
2643 if (bfqg->async_idle_bfqq[k]) in bfq_end_wr_async_queues()
5287 bfqg_stats_update_avg_queue_size(bfqg); in bfq_update_dispatch_stats()
5288 bfqg_stats_set_start_empty_time(bfqg); in bfq_update_dispatch_stats()
5411 bfqg_and_blkg_put(bfqg); in bfq_put_queue()
5661 struct bfq_group *bfqg, in bfq_async_queue_prio() argument
5673 return &bfqg->async_idle_bfqq[act_idx]; in bfq_async_queue_prio()
5841 struct bfq_group *bfqg; in bfq_get_queue() local
5843 bfqg = bfq_bio_bfqg(bfqd, bio); in bfq_get_queue()
[all …]