Lines Matching refs:blksz
771 uint64_t blksz; in zfs_write() local
780 blksz = 1 << highbit64(zp->z_blksz); in zfs_write()
782 blksz = zfsvfs->z_max_blksz; in zfs_write()
784 blksz = MIN(blksz, P2ROUNDUP(end_size, in zfs_write()
786 blksz = MAX(blksz, zp->z_blksz); in zfs_write()
788 blksz = zp->z_blksz; in zfs_write()
793 if (n >= blksz && woff >= zp->z_size && in zfs_write()
794 P2PHASE(woff, blksz) == 0 && in zfs_write()
796 (blksz >= SPA_OLD_MAXBLOCKSIZE || n < 4 * blksz)) { in zfs_write()
805 blksz); in zfs_write()
807 ASSERT(arc_buf_size(abuf) == blksz); in zfs_write()
808 if ((error = zfs_uiocopy(abuf->b_data, blksz, in zfs_write()
813 ASSERT3S(nbytes, ==, blksz); in zfs_write()
816 P2PHASE(woff, blksz)); in zfs_write()
856 zfs_grow_blocksize(zp, blksz, tx); in zfs_write()
1743 zfs_clone_range_replay(znode_t *zp, uint64_t off, uint64_t len, uint64_t blksz, in zfs_clone_range_replay() argument
1769 if ((off % blksz) != 0) { in zfs_clone_range_replay()
1797 if (zp->z_blksz < blksz) in zfs_clone_range_replay()
1798 zfs_grow_blocksize(zp, blksz, tx); in zfs_clone_range_replay()