Lines Matching defs:lsize
640 abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done,
655 IMPLY(lsize != psize, (flags & ZIO_FLAG_RAW) != 0);
701 zio->io_lsize = lsize;
895 abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp,
912 zio = zio_create(pio, spa, txg, bp, data, lsize, psize, done, private,
1405 uint64_t lsize = zio->io_lsize;
1409 EQUIV(lsize != psize, (zio->io_flags & ZIO_FLAG_RAW) != 0);
1461 if (compress != ZIO_COMPRESS_OFF && psize == lsize) {
1462 void *cbuf = zio_buf_alloc(lsize);
1463 psize = zio_compress_data(compress, zio->io_abd, cbuf, lsize);
1464 if (psize == 0 || psize == lsize) {
1466 zio_buf_free(cbuf, lsize);
1471 cbuf, compress, lsize, psize);
1475 zio_buf_free(cbuf, lsize);
1493 if (rounded >= lsize) {
1495 zio_buf_free(cbuf, lsize);
1496 psize = lsize;
1498 abd_t *cdata = abd_get_from_buf(cbuf, lsize);
1503 psize, lsize, NULL);
1542 BP_SET_LSIZE(bp, lsize);
1550 BP_SET_LSIZE(bp, lsize);
2348 uint64_t lsize;
2420 for (int g = 0; resid != 0; resid -= lsize, g++) {
2421 lsize = P2ROUNDUP(resid / (SPA_GBH_NBLKPTRS - g),
2423 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid);
2436 resid) : NULL, lsize, lsize, &zp,