Lines Matching refs:weight_counter
677 bfqq->weight_counter && in bfq_asymmetric_scenario()
678 bfqq->weight_counter == in bfq_asymmetric_scenario()
737 if (bfqq->weight_counter) in bfq_weights_tree_add()
747 bfqq->weight_counter = __counter; in bfq_weights_tree_add()
758 bfqq->weight_counter = kzalloc(sizeof(struct bfq_weight_counter), in bfq_weights_tree_add()
773 if (unlikely(!bfqq->weight_counter)) in bfq_weights_tree_add()
776 bfqq->weight_counter->weight = entity->weight; in bfq_weights_tree_add()
777 rb_link_node(&bfqq->weight_counter->weights_node, parent, new); in bfq_weights_tree_add()
778 rb_insert_color_cached(&bfqq->weight_counter->weights_node, root, in bfq_weights_tree_add()
782 bfqq->weight_counter->num_active++; in bfq_weights_tree_add()
796 if (!bfqq->weight_counter) in __bfq_weights_tree_remove()
799 bfqq->weight_counter->num_active--; in __bfq_weights_tree_remove()
800 if (bfqq->weight_counter->num_active > 0) in __bfq_weights_tree_remove()
803 rb_erase_cached(&bfqq->weight_counter->weights_node, root); in __bfq_weights_tree_remove()
804 kfree(bfqq->weight_counter); in __bfq_weights_tree_remove()
807 bfqq->weight_counter = NULL; in __bfq_weights_tree_remove()
1060 (bfqq->weight_counter != NULL); in bfqq_process_refs()