Searched refs:weight_counter (Results 1 – 2 of 2) sorted by relevance
708 if (entity->weight_counter) in bfq_weights_tree_add()718 entity->weight_counter = __counter; in bfq_weights_tree_add()727 entity->weight_counter = kzalloc(sizeof(struct bfq_weight_counter), in bfq_weights_tree_add()742 if (unlikely(!entity->weight_counter)) in bfq_weights_tree_add()745 entity->weight_counter->weight = entity->weight; in bfq_weights_tree_add()746 rb_link_node(&entity->weight_counter->weights_node, parent, new); in bfq_weights_tree_add()747 rb_insert_color(&entity->weight_counter->weights_node, root); in bfq_weights_tree_add()750 entity->weight_counter->num_active++; in bfq_weights_tree_add()763 if (!entity->weight_counter) in __bfq_weights_tree_remove()766 entity->weight_counter->num_active--; in __bfq_weights_tree_remove()[all …]
155 struct bfq_weight_counter *weight_counter; member