Lines Matching refs:weight_counter
681 bfqq->weight_counter && in bfq_asymmetric_scenario()
682 bfqq->weight_counter == in bfq_asymmetric_scenario()
741 if (bfqq->weight_counter) in bfq_weights_tree_add()
751 bfqq->weight_counter = __counter; in bfq_weights_tree_add()
762 bfqq->weight_counter = kzalloc(sizeof(struct bfq_weight_counter), in bfq_weights_tree_add()
777 if (unlikely(!bfqq->weight_counter)) in bfq_weights_tree_add()
780 bfqq->weight_counter->weight = entity->weight; in bfq_weights_tree_add()
781 rb_link_node(&bfqq->weight_counter->weights_node, parent, new); in bfq_weights_tree_add()
782 rb_insert_color_cached(&bfqq->weight_counter->weights_node, root, in bfq_weights_tree_add()
786 bfqq->weight_counter->num_active++; in bfq_weights_tree_add()
800 if (!bfqq->weight_counter) in __bfq_weights_tree_remove()
803 bfqq->weight_counter->num_active--; in __bfq_weights_tree_remove()
804 if (bfqq->weight_counter->num_active > 0) in __bfq_weights_tree_remove()
807 rb_erase_cached(&bfqq->weight_counter->weights_node, root); in __bfq_weights_tree_remove()
808 kfree(bfqq->weight_counter); in __bfq_weights_tree_remove()
811 bfqq->weight_counter = NULL; in __bfq_weights_tree_remove()
1064 (bfqq->weight_counter != NULL); in bfqq_process_refs()