Lines Matching defs:count
173 static void shift(struct btree_node *left, struct btree_node *right, int count)
181 BUG_ON(nr_left - count > max_entries);
182 BUG_ON(nr_right + count > max_entries);
184 if (!count)
187 if (count > 0) {
188 node_shift(right, count);
189 node_copy(left, right, count);
191 node_copy(left, right, count);
192 node_shift(right, count);
195 left->header.nr_entries = cpu_to_le32(nr_left - count);
196 right->header.nr_entries = cpu_to_le32(nr_right + count);