Lines Matching refs:bsize
637 uint64_t bsize;
639 bsize = vim->vim_dn->dn_datablkszsec << SPA_MINBLOCKSHIFT;
642 if (size > bsize) {
643 size = bsize / sizeof (*vim->vim_entries);
2226 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2230 if (bsize > SPA_MAXBLOCKSIZE) {
2237 * Note: bsize may not be a power of two here so we need to do an
2241 uint64_t bn = offset / bsize;
2242 int boff = offset % bsize;
2264 memset(dnode_cache_buf, 0, bsize);
2280 i = bsize - boff;
2460 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2473 z.zap_block_shift = ilog2(bsize);
2480 rc = dnode_read(spa, dnode, zh.zap_ptrtbl.zt_blk * bsize,
2481 zap_scratch, bsize);
2497 rc = dnode_read(spa, dnode, off, zap_scratch, bsize);
2601 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2609 z.zap_block_shift = ilog2(bsize);
2623 if (dnode_read(spa, dnode, off, zap_scratch, bsize))
2764 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT;
2772 z.zap_block_shift = ilog2(bsize);
2784 if (dnode_read(spa, dnode, off, zap_scratch, bsize))