Lines Matching refs:bfqq

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 == ((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()
415 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_init_entity() local
419 if (bfqq) { in bfq_init_entity()
420 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()
421 bfqq->ioprio_class = bfqq->new_ioprio_class; in bfq_init_entity()
622 void bfq_bfqq_move(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_bfqq_move() argument
625 struct bfq_entity *entity = &bfqq->entity; in bfq_bfqq_move()
633 if (bfqq == bfqd->in_service_queue) in bfq_bfqq_move()
637 if (bfq_bfqq_busy(bfqq)) in bfq_bfqq_move()
638 bfq_deactivate_bfqq(bfqd, bfqq, false, false); in bfq_bfqq_move()
641 bfqg_and_blkg_put(bfqq_group(bfqq)); in bfq_bfqq_move()
648 if (bfq_bfqq_busy(bfqq)) { in bfq_bfqq_move()
650 bfq_pos_tree_add_move(bfqd, bfqq); in bfq_bfqq_move()
651 bfq_activate_bfqq(bfqd, bfqq); in bfq_bfqq_move()
800 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_reparent_leaf_entity() local
802 bfq_bfqq_move(bfqd, bfqq, bfqd->root_group); in bfq_reparent_leaf_entity()
1350 void bfq_bfqq_move(struct bfq_data *bfqd, struct bfq_queue *bfqq, in bfq_bfqq_move() argument
1355 struct bfq_queue *bfqq = bfq_entity_to_bfqq(entity); in bfq_init_entity() local
1359 if (bfqq) { in bfq_init_entity()
1360 bfqq->ioprio = bfqq->new_ioprio; in bfq_init_entity()
1361 bfqq->ioprio_class = bfqq->new_ioprio_class; in bfq_init_entity()
1378 struct bfq_group *bfqq_group(struct bfq_queue *bfqq) in bfqq_group() argument
1380 return bfqq->bfqd->root_group; in bfqq_group()