Lines Matching refs:zap_ptrtbl

122 	zp->zap_ptrtbl.zt_shift = ZAP_EMBEDDED_PTRTBL_SHIFT(zap);  in fzap_upgrade()
132 for (int i = 0; i < (1<<zp->zap_ptrtbl.zt_shift); i++) in fzap_upgrade()
357 if (zap_f_phys(zap)->zap_ptrtbl.zt_shift >= zap_hashbits(zap) - 2) in zap_grow_ptrtbl()
360 if (zap_f_phys(zap)->zap_ptrtbl.zt_numblks == 0) { in zap_grow_ptrtbl()
366 ASSERT3U(zap_f_phys(zap)->zap_ptrtbl.zt_shift, ==, in zap_grow_ptrtbl()
368 ASSERT0(zap_f_phys(zap)->zap_ptrtbl.zt_blk); in zap_grow_ptrtbl()
382 zap_f_phys(zap)->zap_ptrtbl.zt_blk = newblk; in zap_grow_ptrtbl()
383 zap_f_phys(zap)->zap_ptrtbl.zt_numblks = 1; in zap_grow_ptrtbl()
384 zap_f_phys(zap)->zap_ptrtbl.zt_shift++; in zap_grow_ptrtbl()
386 ASSERT3U(1ULL << zap_f_phys(zap)->zap_ptrtbl.zt_shift, ==, in zap_grow_ptrtbl()
387 zap_f_phys(zap)->zap_ptrtbl.zt_numblks << in zap_grow_ptrtbl()
392 return (zap_table_grow(zap, &zap_f_phys(zap)->zap_ptrtbl, in zap_grow_ptrtbl()
565 if (zap_f_phys(zap)->zap_ptrtbl.zt_numblks == 0) { in zap_idx_to_blk()
567 (1ULL << zap_f_phys(zap)->zap_ptrtbl.zt_shift)); in zap_idx_to_blk()
571 return (zap_table_load(zap, &zap_f_phys(zap)->zap_ptrtbl, in zap_idx_to_blk()
582 if (zap_f_phys(zap)->zap_ptrtbl.zt_blk == 0) { in zap_set_idx_to_blk()
586 return (zap_table_store(zap, &zap_f_phys(zap)->zap_ptrtbl, in zap_set_idx_to_blk()
606 uint64_t idx = ZAP_HASH_IDX(h, zap_f_phys(zap)->zap_ptrtbl.zt_shift); in zap_deref_leaf()
627 ASSERT3U(old_prefix_len, <=, zap_f_phys(zap)->zap_ptrtbl.zt_shift); in zap_expand_leaf()
634 old_prefix_len == zap_f_phys(zap)->zap_ptrtbl.zt_shift) { in zap_expand_leaf()
649 zap_f_phys(zap)->zap_ptrtbl.zt_shift) { in zap_expand_leaf()
666 ASSERT3U(old_prefix_len, <, zap_f_phys(zap)->zap_ptrtbl.zt_shift); in zap_expand_leaf()
670 int prefix_diff = zap_f_phys(zap)->zap_ptrtbl.zt_shift - in zap_expand_leaf()
710 int shift = zap_f_phys(zap)->zap_ptrtbl.zt_shift; in zap_put_leaf_maybe_grow_ptrtbl()
716 if (leaffull || zap_f_phys(zap)->zap_ptrtbl.zt_nextblk) { in zap_put_leaf_maybe_grow_ptrtbl()
734 if (zap_f_phys(zap)->zap_ptrtbl.zt_shift == shift) in zap_put_leaf_maybe_grow_ptrtbl()
965 zap_f_phys(zap)->zap_ptrtbl.zt_shift); in fzap_prefetch()
1320 zs->zs_ptrtbl_len = 1ULL << zap_f_phys(zap)->zap_ptrtbl.zt_shift; in fzap_get_stats()
1321 zs->zs_ptrtbl_nextblk = zap_f_phys(zap)->zap_ptrtbl.zt_nextblk; in fzap_get_stats()
1323 zap_f_phys(zap)->zap_ptrtbl.zt_blks_copied; in fzap_get_stats()
1324 zs->zs_ptrtbl_zt_blk = zap_f_phys(zap)->zap_ptrtbl.zt_blk; in fzap_get_stats()
1325 zs->zs_ptrtbl_zt_numblks = zap_f_phys(zap)->zap_ptrtbl.zt_numblks; in fzap_get_stats()
1326 zs->zs_ptrtbl_zt_shift = zap_f_phys(zap)->zap_ptrtbl.zt_shift; in fzap_get_stats()
1328 if (zap_f_phys(zap)->zap_ptrtbl.zt_numblks == 0) { in fzap_get_stats()
1334 zap_f_phys(zap)->zap_ptrtbl.zt_blk << bs, in fzap_get_stats()
1335 zap_f_phys(zap)->zap_ptrtbl.zt_numblks << bs, in fzap_get_stats()
1338 for (int b = 0; b < zap_f_phys(zap)->zap_ptrtbl.zt_numblks; in fzap_get_stats()
1344 (zap_f_phys(zap)->zap_ptrtbl.zt_blk + b) << bs, in fzap_get_stats()