Lines Matching refs:rnchildren
188 int lnchildren, rnchildren; in nilfs_btree_node_move_left() local
196 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_node_move_left()
200 memmove(rdkeys, rdkeys + n, (rnchildren - n) * sizeof(*rdkeys)); in nilfs_btree_node_move_left()
201 memmove(rdptrs, rdptrs + n, (rnchildren - n) * sizeof(*rdptrs)); in nilfs_btree_node_move_left()
204 rnchildren -= n; in nilfs_btree_node_move_left()
206 nilfs_btree_node_set_nchildren(right, rnchildren); in nilfs_btree_node_move_left()
216 int lnchildren, rnchildren; in nilfs_btree_node_move_right() local
224 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_node_move_right()
226 memmove(rdkeys + n, rdkeys, rnchildren * sizeof(*rdkeys)); in nilfs_btree_node_move_right()
227 memmove(rdptrs + n, rdptrs, rnchildren * sizeof(*rdptrs)); in nilfs_btree_node_move_right()
232 rnchildren += n; in nilfs_btree_node_move_right()
234 nilfs_btree_node_set_nchildren(right, rnchildren); in nilfs_btree_node_move_right()
876 int nchildren, rnchildren, n, move, ncblk; in nilfs_btree_carry_right() local
881 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_carry_right()
885 n = (nchildren + rnchildren + 1) / 2 - rnchildren; in nilfs_btree_carry_right()
1310 int nchildren, rnchildren, n, ncblk; in nilfs_btree_borrow_right() local
1317 rnchildren = nilfs_btree_node_get_nchildren(right); in nilfs_btree_borrow_right()
1320 n = (nchildren + rnchildren) / 2 - nchildren; in nilfs_btree_borrow_right()