Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dbtree.c609 uint64_t keep_count = BTREE_CORE_ELEMS - move_count - 1; in zfs_btree_insert_into_parent() local
620 par_hdr->bth_count = keep_count; in zfs_btree_insert_into_parent()
627 bmov(parent->btc_elems + keep_count * size, tmp_buf, in zfs_btree_insert_into_parent()
631 if (offset < keep_count) { in zfs_btree_insert_into_parent()
640 } else if (offset > keep_count) { in zfs_btree_insert_into_parent()
644 offset - keep_count - 1, new_node, buf); in zfs_btree_insert_into_parent()
736 uint64_t keep_count = capacity - move_count - 1; in zfs_btree_insert_into_leaf() local
747 leaf->btl_hdr.bth_count = keep_count; in zfs_btree_insert_into_leaf()
758 bmov(leaf->btl_elems + (keep_count * size), buf, size); in zfs_btree_insert_into_leaf()
761 if (idx < keep_count) { in zfs_btree_insert_into_leaf()
[all …]