Home
last modified time | relevance | path

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

/linux-6.1.9/block/
Dbfq-iosched.c138 void bfq_mark_bfqq_##name(struct bfq_queue *bfqq) \
140 __set_bit(BFQQF_##name, &(bfqq)->flags); \
142 void bfq_clear_bfqq_##name(struct bfq_queue *bfqq) \
144 __clear_bit(BFQQF_##name, &(bfqq)->flags); \
146 int bfq_bfqq_##name(const struct bfq_queue *bfqq) \
148 return test_bit(BFQQF_##name, &(bfqq)->flags); \
238 #define BFQQ_SEEKY(bfqq) (hweight32(bfqq->seek_history) > 19) argument
246 #define BFQQ_TOTALLY_SEEKY(bfqq) (bfqq->seek_history == -1) argument
382 return bic->bfqq[is_sync]; in bic_to_bfqq()
385 static void bfq_put_stable_ref(struct bfq_queue *bfqq);
[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()
246 struct bfq_queue *bfqq = NULL; in bfq_entity_to_bfqq() local
249 bfqq = container_of(entity, struct bfq_queue, entity); in bfq_entity_to_bfqq()
251 return bfqq; in bfq_entity_to_bfqq()
272 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_calc_finish() local
277 if (bfqq) { in bfq_calc_finish()
278 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish()
281 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish()
326 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_idle_extract() local
[all …]
Dbfq-iosched.h407 struct bfq_queue *bfqq[2]; member
802 void bfq_mark_bfqq_##name(struct bfq_queue *bfqq); \
803 void bfq_clear_bfqq_##name(struct bfq_queue *bfqq); \
804 int bfq_bfqq_##name(const struct bfq_queue *bfqq);
968 void bic_set_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq, bool is_sync);
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,
974 struct bfq_queue *bfqq,
977 struct bfq_queue *bfqq);
978 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()
303 struct bfq_group *bfqq_group(struct bfq_queue *bfqq) in bfqq_group() argument
305 struct bfq_entity *group_entity = bfqq->entity.parent; in bfqq_group()
309 bfqq->bfqd->root_group; in bfqq_group()
421 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_init_entity() local
425 if (bfqq) { in bfq_init_entity()
426 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()
427 bfqq->ioprio_class = bfqq->new_ioprio_class; in bfq_init_entity()
[all …]