Lines Matching refs:rnchildren
189 int lnchildren, rnchildren; in nilfs_btree_node_move_left() local
197 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_node_move_left()
201 memmove(rdkeys, rdkeys + n, (rnchildren - n) * sizeof(*rdkeys)); in nilfs_btree_node_move_left()
202 memmove(rdptrs, rdptrs + n, (rnchildren - n) * sizeof(*rdptrs)); in nilfs_btree_node_move_left()
205 rnchildren -= n; in nilfs_btree_node_move_left()
207 nilfs_btree_node_set_nchildren(right, rnchildren); in nilfs_btree_node_move_left()
217 int lnchildren, rnchildren; in nilfs_btree_node_move_right() local
225 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_node_move_right()
227 memmove(rdkeys + n, rdkeys, rnchildren * sizeof(*rdkeys)); in nilfs_btree_node_move_right()
228 memmove(rdptrs + n, rdptrs, rnchildren * sizeof(*rdptrs)); in nilfs_btree_node_move_right()
233 rnchildren += n; in nilfs_btree_node_move_right()
235 nilfs_btree_node_set_nchildren(right, rnchildren); in nilfs_btree_node_move_right()
887 int nchildren, rnchildren, n, move, ncblk; in nilfs_btree_carry_right() local
892 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_carry_right()
896 n = (nchildren + rnchildren + 1) / 2 - rnchildren; in nilfs_btree_carry_right()
1321 int nchildren, rnchildren, n, ncblk; in nilfs_btree_borrow_right() local
1328 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_borrow_right()
1331 n = (nchildren + rnchildren) / 2 - nchildren; in nilfs_btree_borrow_right()