Lines Matching defs:lsize
521 void *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done,
536 IMPLY(lsize != psize, (flags & ZIO_FLAG_RAW) != 0);
582 zio->io_lsize = lsize;
737 void *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp,
754 zio = zio_create(pio, spa, txg, bp, data, lsize, psize, done, private,
1204 uint64_t lsize = zio->io_lsize;
1208 EQUIV(lsize != psize, (zio->io_flags & ZIO_FLAG_RAW) != 0);
1259 if (compress != ZIO_COMPRESS_OFF && psize == lsize) {
1260 void *cbuf = zio_buf_alloc(lsize);
1261 psize = zio_compress_data(compress, zio->io_data, cbuf, lsize);
1262 if (psize == 0 || psize == lsize) {
1264 zio_buf_free(cbuf, lsize);
1269 cbuf, compress, lsize, psize);
1273 zio_buf_free(cbuf, lsize);
1291 if (rounded >= lsize) {
1293 zio_buf_free(cbuf, lsize);
1294 psize = lsize;
1299 psize, lsize, NULL);
1337 BP_SET_LSIZE(bp, lsize);
1345 BP_SET_LSIZE(bp, lsize);
2088 uint64_t lsize;
2156 for (int g = 0; resid != 0; resid -= lsize, g++) {
2157 lsize = P2ROUNDUP(resid / (SPA_GBH_NBLKPTRS - g),
2159 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid);
2171 (char *)pio->io_data + (pio->io_size - resid), lsize, lsize,