• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/sys/contrib/openzfs/cmd/zdb/

Lines Matching defs:lsize

3352 	char iblk[32], dblk[32], lsize[32], asize[32], fill[32], dnsize[32];
3360 CTASSERT(sizeof (lsize) >= NN_NUMBUF_SZ);
3367 "lsize", "%full", "type");
3413 zdb_nicenum(doi.doi_max_offset, lsize, sizeof (lsize));
3453 asize, dnsize, lsize, fill, zdb_ot_name(doi.doi_type), aux);
5014 * The number of separate histograms processed for psize, lsize and asize.
5021 * the count, length and cumulative length of the psize, lsize and
5051 * Setup the histogram arrays (psize, lsize, and asize).
5060 parm_histo[1].name = "lsize";
5139 * for psize, lsize and asize
6527 char csize[32], lsize[32], psize[32], asize[32];
6533 CTASSERT(sizeof (lsize) >= NN_NUMBUF_SZ);
6574 zdb_nicenum(zb->zb_lsize, lsize,
6575 sizeof (lsize));
6586 csize, lsize, psize, asize, avg,
7846 zdb_parse_block_sizes(char *sizes, uint64_t *lsize, uint64_t *psize)
7857 *lsize = strtoull(s0, NULL, 16);
7858 *psize = s1 ? strtoull(s1, NULL, 16) : *lsize;
7859 return (*lsize >= *psize && *psize > 0);
7865 zdb_decompress_block(abd_t *pabd, void *buf, void *lbuf, uint64_t lsize,
7894 if (lsize == psize)
7895 lsize += SPA_MINBLOCKSIZE;
7897 maxlsize = lsize;
7898 for (; lsize <= maxlsize; lsize += SPA_MINBLOCKSIZE) {
7904 (u_longlong_t)lsize,
7912 * decompression fill exactly to lsize.
7914 VERIFY0(random_get_pseudo_bytes(lbuf2, lsize));
7917 lbuf, psize, lsize, NULL) == 0 &&
7919 lbuf2, psize, lsize, NULL) == 0 &&
7920 bcmp(lbuf, lbuf2, lsize) == 0)
7928 if (lsize > maxlsize) {
7945 * pool:vdev_specifier:offset:[lsize/]psize[:flags]
7968 uint64_t offset = 0, psize = 0, lsize = 0, blkptr_offset = 0;
7987 if (!zdb_parse_block_sizes(sizes, &lsize, &psize))
7989 if (!IS_P2ALIGNED(psize, DEV_BSIZE) || !IS_P2ALIGNED(lsize, DEV_BSIZE))
8073 BP_SET_LSIZE(bp, lsize);
8111 uint64_t orig_lsize = lsize;
8115 lsize, psize, flags);
8121 buf = abd_borrow_buf_copy(pabd, lsize);
8134 abd_return_buf_copy(pabd, buf, lsize);
8138 lbuf, lsize, psize, flags);
8153 zdb_dump_block_raw(buf, lsize, flags);
8160 zdb_dump_block(thing, buf, lsize, flags);
8207 zio_checksum_compute(ck_zio, ck, pabd, lsize);
8223 abd_return_buf_copy(pabd, buf, lsize);