Lines Matching defs:lsize
459 uint64_t lsize = BP_GET_LSIZE(bp);
488 tmp = zio_buf_alloc(lsize);
490 zio->io_abd, tmp, zio->io_size, lsize,
497 tmp, lsize, BP_SHOULD_BYTESWAP(bp), mac);
498 zio_buf_free(tmp, lsize);
805 abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done,
821 IMPLY(lsize != psize, (flags & ZIO_FLAG_RAW_COMPRESS) != 0);
867 zio->io_lsize = lsize;
1121 abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp,
1138 zio = zio_create(pio, spa, txg, bp, data, lsize, psize, done, private,
1651 uint64_t lsize = zio->io_lsize;
1707 void *cbuf = zio_buf_alloc(lsize);
1708 psize = zio_compress_data(compress, zio->io_abd, cbuf, lsize,
1710 if (psize == 0 || psize >= lsize) {
1712 zio_buf_free(cbuf, lsize);
1718 cbuf, compress, lsize, psize);
1722 zio_buf_free(cbuf, lsize);
1740 if (rounded >= lsize) {
1742 zio_buf_free(cbuf, lsize);
1743 psize = lsize;
1745 abd_t *cdata = abd_get_from_buf(cbuf, lsize);
1750 psize, lsize, NULL);
1772 zio->io_abd, NULL, lsize, zp->zp_complevel);
1773 if (psize == 0 || psize >= lsize)
1803 BP_SET_LSIZE(bp, lsize);
1811 BP_SET_LSIZE(bp, lsize);
2789 uint64_t lsize;
2870 for (int g = 0; resid != 0; resid -= lsize, g++) {
2871 lsize = P2ROUNDUP(resid / (SPA_GBH_NBLKPTRS - g),
2873 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid);
2892 resid) : NULL, lsize, lsize, &zp,