Lines Matching refs:nr_right
196 uint32_t nr_right = le32_to_cpu(right->header.nr_entries);
210 if (nr_right + count > max_entries) {
231 right->header.nr_entries = cpu_to_le32(nr_right + count);
243 uint32_t nr_right = le32_to_cpu(right->header.nr_entries);
252 if (nr_left + nr_right < threshold) {
256 node_copy(left, right, -nr_right);
257 left->header.nr_entries = cpu_to_le32(nr_left + nr_right);
269 unsigned int target_left = (nr_left + nr_right) / 2;
314 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right)
330 if ((nr_right + shift) > max_entries) {
337 right->header.nr_entries = cpu_to_le32(nr_right + shift);
354 uint32_t nr_left, uint32_t nr_center, uint32_t nr_right)
358 unsigned int total = nr_left + nr_center + nr_right;
366 if (nr_left < nr_right) {
380 nr_right += s;
387 ret = shift(center, right, target_right - nr_right);
391 s = target_right - nr_right;
427 uint32_t nr_right = le32_to_cpu(right->header.nr_entries);
437 if ((nr_left + nr_center + nr_right) < threshold) {
439 nr_left, nr_center, nr_right);
443 nr_left, nr_center, nr_right);