Lines Matching refs:weight_counter
689 bfqq->weight_counter &&
690 bfqq->weight_counter ==
749 if (bfqq->weight_counter)
759 bfqq->weight_counter = __counter;
770 bfqq->weight_counter = kzalloc(sizeof(struct bfq_weight_counter),
783 * if !bfqq->weight_counter.
785 if (unlikely(!bfqq->weight_counter))
788 bfqq->weight_counter->weight = entity->weight;
789 rb_link_node(&bfqq->weight_counter->weights_node, parent, new);
790 rb_insert_color_cached(&bfqq->weight_counter->weights_node, root,
794 bfqq->weight_counter->num_active++;
808 if (!bfqq->weight_counter)
811 bfqq->weight_counter->num_active--;
812 if (bfqq->weight_counter->num_active > 0)
815 rb_erase_cached(&bfqq->weight_counter->weights_node, root);
816 kfree(bfqq->weight_counter);
819 bfqq->weight_counter = NULL;
1072 (bfqq->weight_counter != NULL);