Searched refs:lsize (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_decompress_zstd.ksh32 # 4. Record the DVA, lsize, and psize, and ZSTD header of L0 block 0
79 lsize=$(echo $size_str |awk '{split($0,array,"/")} END{print array[1]}')
80 lsize_orig=$lsize
81 lsize=${lsize%?}
82 lsize_bytes=$((16#$lsize))
H A Dzdb_decompress.ksh28 # 4. Record the DVA, lsize, and psize of L0 block 0
30 # 6. Run zdb -R with :dr flags and match the lsize/psize
31 # 7. Run zdb -R with :dr flags and match the lsize
99 # decompress using lsize
100 lsize=$(echo $size_str |awk '{split($0,array,"/")} END{print array[1]}')
102 output=$(zdb -R $TESTPOOL $vdev:$offset:$lsize:dr 2> /dev/null)
108 # lsize since zdb has to guess lsize incrementally.
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dblkptr.c131 int lsize, psize; local
135 lsize = BPE_GET_LSIZE(bp);
138 if (lsize > buflen)
140 ASSERT3U(lsize, ==, buflen);
148 ASSERT3U(lsize, ==, psize);
H A Dzio.c459 uint64_t lsize = BP_GET_LSIZE(bp); local
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, psiz
804 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, void *private, zio_type_t type, zio_priority_t priority, enum zio_flag flags, vdev_t *vd, uint64_t offset, const zbookmark_phys_t *zb, enum zio_stage stage, enum zio_stage pipeline) argument
1120 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp, zio_done_func_t *ready, zio_done_func_t *children_ready, zio_done_func_t *physdone, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb) argument
1651 uint64_t lsize = zio->io_lsize; local
2789 uint64_t lsize; local
[all...]
H A Darc.c1801 uint64_t lsize = HDR_GET_LSIZE(hdr); local
1820 tmpbuf = zio_buf_alloc(lsize);
1821 abd = abd_get_from_buf(tmpbuf, lsize);
1824 hdr->b_l1hdr.b_pabd, tmpbuf, lsize, hdr->b_complevel);
1835 ASSERT3U(lsize, ==, psize);
2166 "hdr %px, compress %d, psize %d, lsize %d",
2919 arc_loan_compressed_buf(spa_t *spa, uint64_t psize, uint64_t lsize, argument
2923 psize, lsize, compression_type, complevel);
2933 dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
2937 byteorder, salt, iv, mac, ot, psize, lsize, compression_typ
2931 arc_loan_raw_buf(spa_t *spa, uint64_t dsobj, boolean_t byteorder, const uint8_t *salt, const uint8_t *iv, const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize, enum zio_compress compression_type, uint8_t complevel) argument
3304 arc_hdr_alloc(uint64_t spa, int32_t psize, int32_t lsize, boolean_t protected, enum zio_compress compression_type, uint8_t complevel, arc_buf_contents_t type, boolean_t alloc_rdata) argument
3646 arc_alloc_compressed_buf(spa_t *spa, void *tag, uint64_t psize, uint64_t lsize, enum zio_compress compression_type, uint8_t complevel) argument
3678 arc_alloc_raw_buf(spa_t *spa, void *tag, uint64_t dsobj, boolean_t byteorder, const uint8_t *salt, const uint8_t *iv, const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize, enum zio_compress compression_type, uint8_t complevel) argument
3724 uint64_t lsize = HDR_GET_LSIZE(hdr); local
6112 uint64_t lsize = BP_GET_LSIZE(bp); local
6286 ASSERT3U(HDR_GET_LSIZE(hdr), ==, lsize); local
6628 uint64_t lsize = HDR_GET_LSIZE(hdr); local
[all...]
H A Dddt.c390 uint64_t lsize = DDK_GET_LSIZE(ddk); local
406 dds->dds_lsize += lsize;
411 dds->dds_ref_lsize += lsize * refcnt;
H A Ddnode_sync.c156 uint64_t lsize = BP_GET_LSIZE(bp); local
164 BP_SET_LSIZE(bp, lsize);
H A Ddmu_send.c453 uint64_t offset, int lsize, int psize, const blkptr_t *bp, void *data)
467 dscp->dsc_last_data_offset = offset + lsize - 1;
487 drrw->drr_logical_size = lsize;
490 if (raw || lsize != psize) {
517 ASSERT3S(lsize, >=, psize);
452 dmu_dump_write(dmu_send_cookie_t *dscp, dmu_object_type_t type, uint64_t object, uint64_t offset, int lsize, int psize, const blkptr_t *bp, void *data) argument
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend-c_zstreamdump.ksh54 lsize=$(awk '/^WRITE [^0]/ {lsize += $24} END {printf("%d", lsize)}' \
57 within_percent $lsize $lsize_prop 90 || log_fail \
58 "$lsize and $lsize_prop differed by too much"
/freebsd-13-stable/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_pool.c38 char blocks[6], lsize[6], psize[6], dsize[6]; local
50 zfs_nicebytes(dds->dds_lsize, lsize, sizeof (lsize));
60 blocks, lsize, psize, dsize,
/freebsd-13-stable/sys/ddb/
H A Ddb_input.c317 db_readline(lstart, lsize)
319 int lsize;
322 if (lsize < 2)
324 if (lsize != db_lhistlsize) {
329 db_lhist_nlines = sizeof(db_lhistory) / lsize;
330 db_lhistlsize = lsize;
338 db_lbuf_end = lstart + lsize - 2; /* Will append NL and NUL. */
H A Dddb.h213 int db_readline(char *lstart, int lsize);
/freebsd-13-stable/contrib/libdivsufsort/lib/
H A Dutils.c263 saidx_t size, lsize, rsize, half; local
287 lsize = half, j = i, rsize = size - half - 1, k = i + half + 1;
290 for(llmatch = lmatch, lrmatch = match, half = lsize >> 1;
291 0 < lsize;
292 lsize = half, half >>= 1) {
297 half -= (lsize & 1) ^ 1;
332 saidx_t size, lsize, rsize, half; local
349 lsize = half, j = i, rsize = size - half - 1, k = i + half + 1;
352 for(half = lsize >> 1;
353 0 < lsize;
[all...]
/freebsd-13-stable/sys/contrib/openzfs/include/sys/
H A Darc.h262 uint64_t psize, uint64_t lsize, enum zio_compress compression_type,
266 const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
270 arc_buf_t *arc_loan_compressed_buf(spa_t *spa, uint64_t psize, uint64_t lsize,
274 dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
H A Dzio.h542 struct abd *data, uint64_t lsize, zio_done_func_t *done, void *priv,
/freebsd-13-stable/lib/libcasper/services/cap_sysctl/
H A Dcap_sysctl.c348 size_t lsize, reqsize; local
386 lmib = dnvlist_get_binary(limit, "mib", &lsize, NULL, 0);
389 if (lsize > reqsize || ((op & CAP_SYSCTL_RECURSIVE) == 0 &&
390 lsize < reqsize))
392 if (memcmp(lmib, reqmib, lsize) != 0)
/freebsd-13-stable/lib/libdpv/
H A Ddprompt.c396 int lsize; local
592 lsize = (pbar_size - hlen) / 2;
593 rsize = lsize;
594 if ((lsize+hlen+rsize) != pbar_size)
599 lsize, "", human, rsize, "");
602 lsize, "", human, rsize, "");
/freebsd-13-stable/sys/contrib/openzfs/module/lua/
H A Dltable.c280 int lsize; local
283 lsize = 0;
287 lsize = luaO_ceillog2(size);
288 if (lsize > MAXBITS)
290 size = twoto(lsize);
299 t->lsizenode = cast_byte(lsize);
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_dof.c639 size_t ssize, lsize; local
854 lsize = roundup(h.dofh_loadsz, sizeof (uint64_t));
855 h.dofh_filesz = lsize + dt_buf_len(&ddo->ddo_udata);
857 lsize = h.dofh_loadsz;
858 h.dofh_filesz = lsize;
889 sp->dofs_offset += lsize;
/freebsd-13-stable/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c3352 char iblk[32], dblk[32], lsize[32], asize[32], fill[32], dnsize[32]; local
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";
6527 char csize[32], lsize[32], psize[32], asize[32]; local
7846 zdb_parse_block_sizes(char *sizes, uint64_t *lsize, uint64_t *psize) argument
7865 zdb_decompress_block(abd_t *pabd, void *buf, void *lbuf, uint64_t lsize, uint64_t psize, int flags) argument
7968 uint64_t offset = 0, psize = 0, lsize = 0, blkptr_offset = 0; local
[all...]
/freebsd-13-stable/contrib/lua/src/
H A Dltable.c458 int lsize = luaO_ceillog2(size); local
459 if (lsize > MAXHBITS || (1u << lsize) > MAXHSIZE)
461 size = twoto(lsize);
469 t->lsizenode = cast_byte(lsize);
/freebsd-13-stable/sys/compat/linprocfs/
H A Dlinprocfs.c1001 segsz_t lsize; local
1011 * computation of lsize.
1019 lsize = B2P(kp.ki_size) - kp.ki_dsize -
1021 sbuf_printf(sb, "%ju ", (uintmax_t)lsize);
1035 segsz_t lsize; local
1125 lsize = B2P(kp.ki_size) - kp.ki_dsize -
1127 sbuf_printf(sb, "VmLib:\t%8ju kB\n", P2K((uintmax_t)lsize));
/freebsd-13-stable/sys/kern/
H A Dtty.c1312 unsigned long lsize; local
1318 lsize = tty_list_count * sizeof(struct xtty);
1319 if (lsize == 0) {
1324 xtlist = xt = malloc(lsize, M_TTY, M_WAITOK);
1334 error = SYSCTL_OUT(req, xtlist, lsize);
/freebsd-13-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_create.c1098 ssize_t lsize; local
1102 else if ((lsize = ctf_type_size(fp, ltype)) != CTF_ERR)
1103 off += lsize * NBBY;
/freebsd-13-stable/sys/dev/syscons/
H A Dsyscons.c1111 size_t lsize, csize; local
1132 lsize = scp->xsize * sizeof(u_int16_t);
1135 frbp = scp->vtb.vtb_buffer + scp->ysize * lsize +
1150 frbp -= lsize;
1152 hstp -= lsize;
1154 hstp += scp->history->vtb_rows * lsize;

Completed in 402 milliseconds

12