zap_f_phys
((uint64_t *)zap_f_phys(zap)) \
zap_phys_t *zp = zap_f_phys(zap);
zc->zc_prefetch && zap_f_phys(zap)->zap_freeblk > 2) {
zap_f_phys(zap)->zap_freeblk << FZAP_BLOCK_SHIFT(zap),
zs->zs_num_leafs = zap_f_phys(zap)->zap_num_leafs;
zs->zs_num_entries = zap_f_phys(zap)->zap_num_entries;
zs->zs_num_blocks = zap_f_phys(zap)->zap_freeblk;
zs->zs_block_type = zap_f_phys(zap)->zap_block_type;
zs->zs_magic = zap_f_phys(zap)->zap_magic;
zs->zs_salt = zap_f_phys(zap)->zap_salt;
zs->zs_ptrtbl_len = 1ULL << zap_f_phys(zap)->zap_ptrtbl.zt_shift;
zs->zs_ptrtbl_nextblk = zap_f_phys(zap)->zap_ptrtbl.zt_nextblk;
zap_f_phys(zap)->zap_ptrtbl.zt_blks_copied;
zs->zs_ptrtbl_zt_blk = zap_f_phys(zap)->zap_ptrtbl.zt_blk;
zs->zs_ptrtbl_zt_numblks = zap_f_phys(zap)->zap_ptrtbl.zt_numblks;
zs->zs_ptrtbl_zt_shift = zap_f_phys(zap)->zap_ptrtbl.zt_shift;
if (zap_f_phys(zap)->zap_ptrtbl.zt_numblks == 0) {
zap_f_phys(zap)->zap_ptrtbl.zt_blk << bs,
zap_f_phys(zap)->zap_ptrtbl.zt_numblks << bs,
for (int b = 0; b < zap_f_phys(zap)->zap_ptrtbl.zt_numblks;
(zap_f_phys(zap)->zap_ptrtbl.zt_blk + b) << bs,
if (zap_f_phys(zap)->zap_ptrtbl.zt_shift >= zap_hashbits(zap) - 2)
if (zap_f_phys(zap)->zap_ptrtbl.zt_numblks == 0) {
ASSERT3U(zap_f_phys(zap)->zap_ptrtbl.zt_shift, ==,
ASSERT0(zap_f_phys(zap)->zap_ptrtbl.zt_blk);
zap_f_phys(zap)->zap_ptrtbl.zt_blk = newblk;
zap_f_phys(zap)->zap_ptrtbl.zt_numblks = 1;
zap_f_phys(zap)->zap_ptrtbl.zt_shift++;
ASSERT3U(1ULL << zap_f_phys(zap)->zap_ptrtbl.zt_shift, ==,
zap_f_phys(zap)->zap_ptrtbl.zt_numblks <<
return (zap_table_grow(zap, &zap_f_phys(zap)->zap_ptrtbl,
ASSERT(delta > 0 || zap_f_phys(zap)->zap_num_entries >= -delta);
zap_f_phys(zap)->zap_num_entries += delta;
uint64_t newblk = zap_f_phys(zap)->zap_freeblk;
zap_f_phys(zap)->zap_freeblk += nblocks;
zap_f_phys(zap)->zap_num_leafs++;
*count = zap_f_phys(zap)->zap_num_entries;
if (zap_f_phys(zap)->zap_ptrtbl.zt_numblks == 0) {
(1ULL << zap_f_phys(zap)->zap_ptrtbl.zt_shift));
return (zap_table_load(zap, &zap_f_phys(zap)->zap_ptrtbl,
if (zap_f_phys(zap)->zap_ptrtbl.zt_blk == 0) {
return (zap_table_store(zap, &zap_f_phys(zap)->zap_ptrtbl,
zap_f_phys(zap) == zap->zap_dbuf->db_data);
if ((zap_f_phys(zap)->zap_block_type != ZBT_LEAF &&
zap_f_phys(zap)->zap_block_type != ZBT_HEADER) ||
zap_f_phys(zap)->zap_magic != ZAP_MAGIC) {
uint64_t idx = ZAP_HASH_IDX(h, zap_f_phys(zap)->zap_ptrtbl.zt_shift);
ASSERT3U(old_prefix_len, <=, zap_f_phys(zap)->zap_ptrtbl.zt_shift);
old_prefix_len == zap_f_phys(zap)->zap_ptrtbl.zt_shift) {
zap_f_phys(zap)->zap_ptrtbl.zt_shift) {
ASSERT3U(old_prefix_len, <, zap_f_phys(zap)->zap_ptrtbl.zt_shift);
int prefix_diff = zap_f_phys(zap)->zap_ptrtbl.zt_shift -
int shift = zap_f_phys(zap)->zap_ptrtbl.zt_shift;
if (leaffull || zap_f_phys(zap)->zap_ptrtbl.zt_nextblk) {
if (zap_f_phys(zap)->zap_ptrtbl.zt_shift == shift)
extern inline zap_phys_t *zap_f_phys(zap_t *zap);
zap_f_phys(zap)->zap_ptrtbl.zt_shift);
int n = zap_f_phys(zap)->zap_ptrtbl.zt_shift -
zap->zap_salt = zap_f_phys(zap)->zap_salt;
zap->zap_normflags = zap_f_phys(zap)->zap_normflags;
&zap_f_phys(zap)->zap_salt);
(uintptr_t)zap_f_phys(zap), ==,
return (zap_f_phys(zap)->zap_flags);