Lines Matching refs:nr_right
176 uint32_t nr_right = le32_to_cpu(right->header.nr_entries);
182 BUG_ON(nr_right + count > max_entries);
196 right->header.nr_entries = cpu_to_le32(nr_right + count);
205 uint32_t nr_right = le32_to_cpu(right->header.nr_entries);
214 if (nr_left + nr_right < threshold) {
218 node_copy(left, right, -nr_right);
219 left->header.nr_entries = cpu_to_le32(nr_left + nr_right);
231 unsigned target_left = (nr_left + nr_right) / 2;
272 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right)
283 BUG_ON((nr_right + shift) > max_entries);
286 right->header.nr_entries = cpu_to_le32(nr_right + shift);
303 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right)
307 unsigned total = nr_left + nr_center + nr_right;
315 if (nr_left < nr_right) {
323 nr_right += s;
327 shift(center, right, target_right - nr_right);
330 s = target_right - nr_right;
356 uint32_t nr_right = le32_to_cpu(right->header.nr_entries);
363 if ((nr_left + nr_center + nr_right) < threshold)
365 nr_left, nr_center, nr_right);
368 nr_left, nr_center, nr_right);