Lines Matching refs:bs
174 int bs = FZAP_BLOCK_SHIFT(zap); in zap_table_grow() local
175 int hepb = 1<<(bs-4); in zap_table_grow()
189 tbl->zt_blk << bs, tbl->zt_numblks << bs, in zap_table_grow()
200 (tbl->zt_blk + b) << bs, FTAG, &db_old, DMU_READ_NO_PREFETCH); in zap_table_grow()
207 (newblk + 2*b+0) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH)); in zap_table_grow()
214 (newblk + 2*b+1) << bs, FTAG, &db_new, DMU_READ_NO_PREFETCH)); in zap_table_grow()
229 tbl->zt_blk << bs, tbl->zt_numblks << bs, tx); in zap_table_grow()
248 int bs = FZAP_BLOCK_SHIFT(zap); in zap_table_store() local
255 uint64_t blk = idx >> (bs-3); in zap_table_store()
256 uint64_t off = idx & ((1<<(bs-3))-1); in zap_table_store()
260 (tbl->zt_blk + blk) << bs, FTAG, &db, DMU_READ_NO_PREFETCH); in zap_table_store()
267 uint64_t blk2 = idx2 >> (bs-3); in zap_table_store()
268 uint64_t off2 = idx2 & ((1<<(bs-3))-1); in zap_table_store()
272 (tbl->zt_nextblk + blk2) << bs, FTAG, &db2, in zap_table_store()
293 int bs = FZAP_BLOCK_SHIFT(zap); in zap_table_load() local
297 uint64_t blk = idx >> (bs-3); in zap_table_load()
298 uint64_t off = idx & ((1<<(bs-3))-1); in zap_table_load()
308 (tbl->zt_blk + blk) << bs, FTAG, &db, DMU_READ_NO_PREFETCH); in zap_table_load()
321 blk = (idx*2) >> (bs-3); in zap_table_load()
325 (tbl->zt_nextblk + blk) << bs, FTAG, &db, in zap_table_load()
526 int bs = FZAP_BLOCK_SHIFT(zap); in zap_get_leaf_byblk() local
529 blkid << bs, NULL, &db, DMU_READ_NO_PREFETCH); in zap_get_leaf_byblk()
535 ASSERT3U(db->db_offset, ==, blkid << bs); in zap_get_leaf_byblk()
536 ASSERT3U(db->db_size, ==, 1 << bs); in zap_get_leaf_byblk()
968 int bs = FZAP_BLOCK_SHIFT(zap); in fzap_prefetch() local
969 dmu_prefetch(zap->zap_objset, zap->zap_object, 0, blk << bs, 1 << bs, in fzap_prefetch()
1304 int bs = FZAP_BLOCK_SHIFT(zap); in fzap_get_stats() local
1305 zs->zs_blocksize = 1ULL << bs; 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()
1344 (zap_f_phys(zap)->zap_ptrtbl.zt_blk + b) << bs, in fzap_get_stats()
1348 1<<(bs-3), zs); in fzap_get_stats()