Lines Matching defs:lsize
511 uint64_t lsize = BP_GET_LSIZE(bp);
540 abd_t *abd = abd_alloc_linear(lsize, B_TRUE);
542 zio->io_abd, abd, zio->io_size, lsize,
550 abd, lsize, BP_SHOULD_BYTESWAP(bp), mac);
906 abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done,
922 IMPLY(lsize != psize, (flags & ZIO_FLAG_RAW_COMPRESS) != 0);
970 zio->io_lsize = lsize;
1286 abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp,
1297 zio = zio_create(pio, spa, txg, bp, data, lsize, psize, done, private,
1853 uint64_t lsize = zio->io_lsize;
1911 if (abd_cmp_zero(zio->io_abd, lsize) == 0)
1914 psize = lsize;
1917 lsize,
1919 spa->spa_gcd_alloc, spa->spa_min_alloc, lsize),
1923 } else if (psize >= lsize) {
1931 void *cbuf = abd_borrow_buf_copy(cabd, lsize);
1933 cbuf, compress, lsize, psize);
1937 abd_return_buf(cabd, cbuf, lsize);
1955 if (rounded >= lsize) {
1958 psize = lsize;
1963 psize, lsize, NULL);
1984 if (abd_cmp_zero(zio->io_abd, lsize) == 0) {
1988 psize = lsize;
1998 lsize);
2036 BP_SET_LSIZE(bp, lsize);
2044 BP_SET_LSIZE(bp, lsize);
3039 uint64_t lsize;
3125 for (int g = 0; resid != 0; resid -= lsize, g++) {
3126 lsize = P2ROUNDUP(resid / (SPA_GBH_NBLKPTRS - g),
3128 ASSERT(lsize >= SPA_MINBLOCKSIZE && lsize <= resid);
3148 resid) : NULL, lsize, lsize, &zp,