Lines Matching refs:weight_counter
858 bfqq->weight_counter &&
859 bfqq->weight_counter ==
918 if (bfqq->weight_counter)
928 bfqq->weight_counter = __counter;
939 bfqq->weight_counter = kzalloc(sizeof(struct bfq_weight_counter),
952 * if !bfqq->weight_counter.
954 if (unlikely(!bfqq->weight_counter))
957 bfqq->weight_counter->weight = entity->weight;
958 rb_link_node(&bfqq->weight_counter->weights_node, parent, new);
959 rb_insert_color_cached(&bfqq->weight_counter->weights_node, root,
963 bfqq->weight_counter->num_active++;
977 if (!bfqq->weight_counter)
981 bfqq->weight_counter->num_active--;
982 if (bfqq->weight_counter->num_active > 0)
985 rb_erase_cached(&bfqq->weight_counter->weights_node, root);
986 kfree(bfqq->weight_counter);
989 bfqq->weight_counter = NULL;
1203 (bfqq->weight_counter != NULL) - bfqq->stable_ref;