Home
last modified time | relevance | path

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

/block/
Dbfq-iosched.c136 void bfq_mark_bfqq_##name(struct bfq_queue *bfqq) \
138 __set_bit(BFQQF_##name, &(bfqq)->flags); \
140 void bfq_clear_bfqq_##name(struct bfq_queue *bfqq) \
142 __clear_bit(BFQQF_##name, &(bfqq)->flags); \
144 int bfq_bfqq_##name(const struct bfq_queue *bfqq) \
146 return test_bit(BFQQF_##name, &(bfqq)->flags); \
237 #define BFQQ_SEEKY(bfqq) (hweight32(bfqq->seek_history) > 19) argument
245 #define BFQQ_TOTALLY_SEEKY(bfqq) (bfqq->seek_history == -1) argument
371 return bic->bfqq[is_sync]; in bic_to_bfqq()
374 void bic_set_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq, bool is_sync) in bic_set_bfqq() argument
[all …]
Dbfq-wf2q.c32 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_class_idx() local
34 return bfqq ? bfqq->ioprio_class - 1 : in bfq_class_idx()
148 struct bfq_group *bfq_bfqq_to_bfqg(struct bfq_queue *bfqq) in bfq_bfqq_to_bfqg() argument
150 struct bfq_entity *group_entity = bfqq->entity.parent; in bfq_bfqq_to_bfqg()
153 group_entity = &bfqq->bfqd->root_group->entity; in bfq_bfqq_to_bfqg()
236 struct bfq_group *bfq_bfqq_to_bfqg(struct bfq_queue *bfqq) in bfq_bfqq_to_bfqg() argument
238 return bfqq->bfqd->root_group; in bfq_bfqq_to_bfqg()
264 struct bfq_queue *bfqq = NULL; in bfq_entity_to_bfqq() local
267 bfqq = container_of(entity, struct bfq_queue, entity); in bfq_entity_to_bfqq()
269 return bfqq; in bfq_entity_to_bfqq()
[all …]
Dbfq-iosched.h392 struct bfq_queue *bfqq[2]; member
777 void bfq_mark_bfqq_##name(struct bfq_queue *bfqq); \
778 void bfq_clear_bfqq_##name(struct bfq_queue *bfqq); \
779 int bfq_bfqq_##name(const struct bfq_queue *bfqq);
946 void bic_set_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq, bool is_sync);
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,
952 struct bfq_queue *bfqq,
955 struct bfq_queue *bfqq);
956 void bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq,
[all …]
Dbfq-cgroup.c222 void bfqg_stats_update_io_add(struct bfq_group *bfqg, struct bfq_queue *bfqq, in bfqg_stats_update_io_add() argument
227 if (!(bfqq == ((struct bfq_data *)bfqg->bfqd)->in_service_queue)) in bfqg_stats_update_io_add()
228 bfqg_stats_set_start_group_wait_time(bfqg, bfqq_group(bfqq)); in bfqg_stats_update_io_add()
257 void bfqg_stats_update_io_add(struct bfq_group *bfqg, struct bfq_queue *bfqq, in bfqg_stats_update_io_add() argument
308 struct bfq_group *bfqq_group(struct bfq_queue *bfqq) in bfqq_group() argument
310 struct bfq_entity *group_entity = bfqq->entity.parent; in bfqq_group()
314 bfqq->bfqd->root_group; in bfqq_group()
426 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_init_entity() local
430 if (bfqq) { in bfq_init_entity()
431 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()
[all …]