• Home
  • Raw
  • Download

Lines Matching refs:parent

604 	struct rb_node **p, *parent;  in bfq_rq_pos_tree_lookup()  local
607 parent = NULL; in bfq_rq_pos_tree_lookup()
612 parent = *p; in bfq_rq_pos_tree_lookup()
613 bfqq = rb_entry(parent, struct bfq_queue, pos_node); in bfq_rq_pos_tree_lookup()
629 *ret_parent = parent; in bfq_rq_pos_tree_lookup()
658 struct rb_node **p, *parent; in bfq_pos_tree_add_move() local
685 blk_rq_pos(bfqq->next_rq), &parent, &p); in bfq_pos_tree_add_move()
687 rb_link_node(&bfqq->pos_node, parent, p); in bfq_pos_tree_add_move()
775 struct rb_node **new = &(root->rb_root.rb_node), *parent = NULL; in bfq_weights_tree_add() local
797 parent = *new; in bfq_weights_tree_add()
830 rb_link_node(&bfqq->weight_counter->weights_node, parent, new); in bfq_weights_tree_add()
871 struct bfq_entity *entity = bfqq->entity.parent; in bfq_weights_tree_remove()
1149 bfqd->burst_parent_entity = bfqq->entity.parent; in bfq_reset_burst_list()
1337 bfqq->entity.parent != bfqd->burst_parent_entity) { in bfq_handle_burst()
1695 if (in_serv_bfqq->entity.parent == bfqq->entity.parent) { in bfq_bfqq_higher_class_or_weight()
1699 if (bfqq->entity.parent) in bfq_bfqq_higher_class_or_weight()
1700 bfqq_weight = bfqq->entity.parent->weight; in bfq_bfqq_higher_class_or_weight()
1703 if (in_serv_bfqq->entity.parent) in bfq_bfqq_higher_class_or_weight()
1704 in_serv_weight = in_serv_bfqq->entity.parent->weight; in bfq_bfqq_higher_class_or_weight()
2565 struct rb_node *parent, *node; in bfqq_find_close() local
2575 __bfqq = bfq_rq_pos_tree_lookup(bfqd, root, sector, &parent, NULL); in bfqq_find_close()
2584 __bfqq = rb_entry(parent, struct bfq_queue, pos_node); in bfqq_find_close()
2658 if (new_bfqq->entity.parent != bfqq->entity.parent) in bfq_setup_merge()
2877 bfqq->entity.parent == in_service_bfqq->entity.parent && in bfq_setup_cooperator()
2952 if (cur_bfqq->entity.parent && in bfq_reassign_last_bfqq()
2953 cur_bfqq->entity.parent->last_bfqq_created == cur_bfqq) in bfq_reassign_last_bfqq()
2954 cur_bfqq->entity.parent->last_bfqq_created = new_bfqq; in bfq_reassign_last_bfqq()
4308 entity = entity->parent; in bfq_bfqq_expire()
5541 struct bfq_queue **source_bfqq = bfqq->entity.parent ? in bfq_do_or_sched_stable_merge()
5542 &bfqq->entity.parent->last_bfqq_created : in bfq_do_or_sched_stable_merge()
5570 bfqq->entity.parent != last_bfqq_created->entity.parent || in bfq_do_or_sched_stable_merge()
6930 root_group->entity.parent = NULL; in bfq_init_root_group()