Searched refs:move_count (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | btree.c | 716 uint32_t move_count = MAX((BTREE_CORE_ELEMS / (tree->bt_bulk == NULL ? in zfs_btree_insert_into_parent() local 718 uint32_t keep_count = BTREE_CORE_ELEMS - move_count - 1; in zfs_btree_insert_into_parent() 719 ASSERT3U(BTREE_CORE_ELEMS - move_count, >=, 2); in zfs_btree_insert_into_parent() 726 new_par_hdr->bth_count = move_count; in zfs_btree_insert_into_parent() 731 bt_transfer_core(tree, parent, keep_count + 1, move_count, new_parent, in zfs_btree_insert_into_parent() 765 bt_shift_core_right(tree, new_parent, 0, move_count, in zfs_btree_insert_into_parent() 841 uint32_t move_count = MAX(capacity / (tree->bt_bulk ? 4 : 2), 1) - 1; in zfs_btree_insert_into_leaf() local 842 uint32_t keep_count = capacity - move_count - 1; in zfs_btree_insert_into_leaf() 847 move_count++; in zfs_btree_insert_into_leaf() 854 (idx >= keep_count && idx <= keep_count + move_count / 2); in zfs_btree_insert_into_leaf() [all …]
|