Lines Matching refs:keep_hdr
1581 zfs_btree_hdr_t *new_rm_hdr, *keep_hdr; in zfs_btree_remove_from_node() local
1584 keep_hdr = l_hdr; in zfs_btree_remove_from_node()
1586 new_idx += keep_hdr->bth_count + 1; in zfs_btree_remove_from_node()
1589 keep_hdr = hdr; in zfs_btree_remove_from_node()
1594 ASSERT(zfs_btree_is_core(keep_hdr)); in zfs_btree_remove_from_node()
1597 zfs_btree_core_t *keep = (zfs_btree_core_t *)keep_hdr; in zfs_btree_remove_from_node()
1602 zfs_btree_verify_poison_at(tree, keep_hdr, in zfs_btree_remove_from_node()
1603 keep_hdr->bth_count + i); in zfs_btree_remove_from_node()
1608 uint8_t *e_out = keep->btc_elems + keep_hdr->bth_count * size; in zfs_btree_remove_from_node()
1612 keep_hdr->bth_count++; in zfs_btree_remove_from_node()
1616 keep_hdr->bth_count, BSS_TRAPEZOID); in zfs_btree_remove_from_node()
1618 uint32_t old_count = keep_hdr->bth_count; in zfs_btree_remove_from_node()
1621 keep_hdr->bth_count += new_rm_hdr->bth_count; in zfs_btree_remove_from_node()
1622 ASSERT3U(keep_hdr->bth_count, ==, (min_count * 2) + 1); in zfs_btree_remove_from_node()
1629 bt_shift_core_left(tree, keep, new_idx, keep_hdr->bth_count - new_idx, in zfs_btree_remove_from_node()
1631 keep_hdr->bth_count--; in zfs_btree_remove_from_node()
1638 for (uint32_t i = 0; i <= keep_hdr->bth_count; i++) { in zfs_btree_remove_from_node()
1642 zfs_btree_poison_node_at(tree, keep_hdr, keep_hdr->bth_count, 1); in zfs_btree_remove_from_node()