Home
last modified time | relevance | path

Searched refs:rnchildren (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/fs/nilfs2/
Dbtree.c189 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()
[all …]