Lines Matching refs:nr_right
556 unsigned int nr_right = le32_to_cpu(right->header.nr_entries); in redistribute2() local
557 unsigned int total = nr_left + nr_right; in redistribute2()
569 if (nr_right) in redistribute2()
587 unsigned int nr_right = le32_to_cpu(right->header.nr_entries); in redistribute3() local
592 total = nr_left + nr_right; in redistribute3()
602 shift_down(right, nr_right - target_right); in redistribute3()
609 shift_down(right, nr_right - target_right); in redistribute3()
612 unsigned int right_short = target_right - nr_right; in redistribute3()
842 unsigned int nr_left, nr_right; in btree_split_beneath() local
876 nr_right = le32_to_cpu(pn->header.nr_entries) - nr_left; in btree_split_beneath()
879 rn->header.nr_entries = cpu_to_le32(nr_right); in btree_split_beneath()
882 memcpy(rn->keys, pn->keys + nr_left, nr_right * sizeof(pn->keys[0])); in btree_split_beneath()
884 nr_right * size); in btree_split_beneath()