Lines Matching refs:lnchildren

189 	int lnchildren, rnchildren;  in nilfs_btree_node_move_left()  local
193 lnchildren = nilfs_btree_node_get_nchildren(left); in nilfs_btree_node_move_left()
199 memcpy(ldkeys + lnchildren, rdkeys, n * sizeof(*rdkeys)); in nilfs_btree_node_move_left()
200 memcpy(ldptrs + lnchildren, rdptrs, n * sizeof(*rdptrs)); in nilfs_btree_node_move_left()
204 lnchildren += n; in nilfs_btree_node_move_left()
206 nilfs_btree_node_set_nchildren(left, lnchildren); in nilfs_btree_node_move_left()
217 int lnchildren, rnchildren; in nilfs_btree_node_move_right() local
221 lnchildren = nilfs_btree_node_get_nchildren(left); in nilfs_btree_node_move_right()
229 memcpy(rdkeys, ldkeys + lnchildren - n, n * sizeof(*rdkeys)); in nilfs_btree_node_move_right()
230 memcpy(rdptrs, ldptrs + lnchildren - n, n * sizeof(*rdptrs)); in nilfs_btree_node_move_right()
232 lnchildren -= n; in nilfs_btree_node_move_right()
234 nilfs_btree_node_set_nchildren(left, lnchildren); in nilfs_btree_node_move_right()
846 int nchildren, lnchildren, n, move, ncblk; in nilfs_btree_carry_left() local
851 lnchildren = nilfs_btree_node_get_nchildren(left); in nilfs_btree_carry_left()
855 n = (nchildren + lnchildren + 1) / 2 - lnchildren; in nilfs_btree_carry_left()
876 path[level].bp_index += lnchildren; in nilfs_btree_carry_left()
1294 int nchildren, lnchildren, n, ncblk; in nilfs_btree_borrow_left() local
1301 lnchildren = nilfs_btree_node_get_nchildren(left); in nilfs_btree_borrow_left()
1304 n = (nchildren + lnchildren) / 2 - nchildren; in nilfs_btree_borrow_left()