Home
last modified time | relevance | path

Searched refs:weight_counter (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/block/
Dbfq-iosched.c709 if (bfqq->weight_counter) in bfq_weights_tree_add()
719 bfqq->weight_counter = __counter; in bfq_weights_tree_add()
728 bfqq->weight_counter = kzalloc(sizeof(struct bfq_weight_counter), in bfq_weights_tree_add()
744 if (unlikely(!bfqq->weight_counter)) in bfq_weights_tree_add()
747 bfqq->weight_counter->weight = entity->weight; in bfq_weights_tree_add()
748 rb_link_node(&bfqq->weight_counter->weights_node, parent, new); in bfq_weights_tree_add()
749 rb_insert_color(&bfqq->weight_counter->weights_node, root); in bfq_weights_tree_add()
752 bfqq->weight_counter->num_active++; in bfq_weights_tree_add()
766 if (!bfqq->weight_counter) in __bfq_weights_tree_remove()
769 bfqq->weight_counter->num_active--; in __bfq_weights_tree_remove()
[all …]
Dbfq-iosched.h270 struct bfq_weight_counter *weight_counter; member