Lines Matching refs:blksz
643 off_t size, off_t blksz) in dnode_cursor_init() argument
649 assert(blksz <= MAXBLOCKSIZE); in dnode_cursor_init()
651 if (blksz == 0) { in dnode_cursor_init()
653 blksz = MIN(MAXBLOCKSIZE, MAX(1 << zfs->ashift, in dnode_cursor_init()
656 assert(powerof2(blksz)); in dnode_cursor_init()
664 ndatablks = size == 0 ? 0 : howmany(size, blksz); in dnode_cursor_init()
674 dnode->dn_datablkszsec = blksz >> MINBLOCKSHIFT; in dnode_cursor_init()
683 c->datablksz = blksz; in dnode_cursor_init()
694 off_t blkid, blksz, loc; in _dnode_cursor_flush() local
699 blksz = MAXBLOCKSIZE; in _dnode_cursor_flush()
719 c->indloc += blksz; in _dnode_cursor_flush()
720 assert(c->indspace >= blksz); in _dnode_cursor_flush()
721 c->indspace -= blksz; in _dnode_cursor_flush()
728 vdev_pwrite_dnode_indir(zfs, c->dnode, level, fill, buf, blksz, in _dnode_cursor_flush()