Searched refs:bfqq (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/block/ |
H A D | bfq-iosched.c | 137 void bfq_mark_bfqq_##name(struct bfq_queue *bfqq) \ 139 __set_bit(BFQQF_##name, &(bfqq)->flags); \ 141 void bfq_clear_bfqq_##name(struct bfq_queue *bfqq) \ 143 __clear_bit(BFQQF_##name, &(bfqq)->flags); \ 145 int bfq_bfqq_##name(const struct bfq_queue *bfqq) \ 147 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 383 return bic->bfqq[1][actuator_idx]; in bic_to_bfqq() 385 return bic->bfqq[0][actuator_idx]; in bic_to_bfqq() [all …]
|
H A D | bfq-wf2q.c | 32 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() 272 struct bfq_queue *bfqq = NULL; in bfq_entity_to_bfqq() local 275 bfqq = container_of(entity, struct bfq_queue, entity); in bfq_entity_to_bfqq() 277 return bfqq; in bfq_entity_to_bfqq() 298 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_calc_finish() local 303 if (bfqq) { in bfq_calc_finish() 304 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish() 307 bfq_log_bfqq(bfqq->bfqd, bfqq, in bfq_calc_finish() 352 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_idle_extract() local [all …]
|
H A D | bfq-iosched.h | 490 struct bfq_queue *bfqq[2][BFQ_MAX_ACTUATORS]; member 885 void bfq_mark_bfqq_##name(struct bfq_queue *bfqq); \ 886 void bfq_clear_bfqq_##name(struct bfq_queue *bfqq); \ 887 int bfq_bfqq_##name(const struct bfq_queue *bfqq); 1051 void bic_set_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq, bool is_sync, 1054 void bfq_pos_tree_add_move(struct bfq_data *bfqd, struct bfq_queue *bfqq); 1055 void bfq_weights_tree_add(struct bfq_queue *bfqq); 1056 void bfq_weights_tree_remove(struct bfq_queue *bfqq); 1057 void bfq_bfqq_expire(struct bfq_data *bfqd, struct bfq_queue *bfqq, 1059 void bfq_put_queue(struct bfq_queue *bfqq); [all …]
|
H A D | bfq-cgroup.c | 222 void bfqg_stats_update_io_add(struct bfq_group *bfqg, struct bfq_queue *bfqq, in bfqg_stats_update_io_add() argument 227 if (!(bfqq == 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() 419 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_init_entity() local 423 if (bfqq) { in bfq_init_entity() 424 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity() 425 bfqq->ioprio_class = bfqq->new_ioprio_class; in bfq_init_entity() [all …]
|