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

12

/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Dsend-c_zstreamdump.ksh47 lsize=$(awk '/^WRITE [^0]/ {lsize += $4} END {printf("%d", lsize)}' \
50 within_percent $lsize $lsize_prop 90 || log_fail \
51 "$lsize and $lsize_prop differed by too much"
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dblkptr.c130 int lsize, psize; local
134 lsize = BPE_GET_LSIZE(bp);
137 if (lsize > buflen)
139 ASSERT3U(lsize, ==, buflen);
147 ASSERT3U(lsize, ==, psize);
H A Dzio.c368 uint64_t lsize = BP_GET_LSIZE(bp); local
397 tmp = zio_buf_alloc(lsize);
399 zio->io_abd, tmp, zio->io_size, lsize);
405 tmp, lsize, BP_SHOULD_BYTESWAP(bp), mac);
406 zio_buf_free(tmp, lsize);
688 abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done,
703 IMPLY(lsize != psize, (flags & ZIO_FLAG_RAW_COMPRESS) != 0);
749 zio->io_lsize = lsize;
943 abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp,
960 zio = zio_create(pio, spa, txg, bp, data, lsize, psiz
687 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
942 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
1465 uint64_t lsize = zio->io_lsize; local
2414 uint64_t lsize; local
[all...]
H A Darc.c1784 uint64_t lsize = HDR_GET_LSIZE(hdr); local
1789 abd_to_buf(cdata), lsize);
2107 uint64_t lsize = HDR_GET_LSIZE(hdr); local
2126 tmpbuf = zio_buf_alloc(lsize);
2127 abd = abd_get_from_buf(tmpbuf, lsize);
2131 hdr->b_l1hdr.b_pabd, tmpbuf, lsize);
2142 ASSERT3U(lsize, ==, psize);
2474 "hdr %p, compress %d, psize %d, lsize %d",
3123 arc_loan_compressed_buf(spa_t *spa, uint64_t psize, uint64_t lsize, argument
3127 psize, lsize, compression_typ
3135 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) argument
3509 arc_hdr_alloc(uint64_t spa, int32_t psize, int32_t lsize, boolean_t protected, enum zio_compress compression_type, arc_buf_contents_t type, boolean_t alloc_rdata) argument
3844 arc_alloc_compressed_buf(spa_t *spa, void *tag, uint64_t psize, uint64_t lsize, enum zio_compress compression_type) argument
3878 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) argument
6078 uint64_t lsize = BP_GET_LSIZE(bp); local
6236 ASSERT3U(HDR_GET_LSIZE(hdr), ==, lsize); local
6500 uint64_t lsize = HDR_GET_LSIZE(hdr); local
[all...]
H A Ddmu_send.c257 uint64_t offset, int lsize, int psize, const blkptr_t *bp, void *data)
271 dsp->dsa_last_data_offset = offset + lsize - 1;
291 drrw->drr_logical_size = lsize;
294 if (raw || lsize != psize) {
319 ASSERT3S(lsize, >=, psize);
256 dump_write(dmu_sendarg_t *dsp, dmu_object_type_t type, uint64_t object, uint64_t offset, int lsize, int psize, const blkptr_t *bp, void *data) argument
H A Dddt.c366 uint64_t lsize = DDK_GET_LSIZE(ddk); local
382 dds->dds_lsize += lsize;
387 dds->dds_ref_lsize += lsize * refcnt;
/illumos-gate/usr/src/lib/libcurses/screen/
H A Drestart.c92 LINES = SP->lsize;
H A Dripoffline.c70 LINES = --SP->lsize;
H A Dsetcurscreen.c62 LINES = SP->lsize;
H A Dnewscreen.c67 * lsize, csize, tabsize: physical sizes
72 newscreen(char *type, int lsize, int csize, int tabsize, argument
152 LINES = SP->lsize = lsize > 0 ? lsize : lines;
H A Dslk_start.c162 LINES = --SP->lsize;
H A Dcurshdr.h135 short lsize; /* How many lines decided by newscreen */ member in struct:screen
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Darc.h198 uint64_t psize, uint64_t lsize, enum zio_compress compression_type);
201 const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
204 arc_buf_t *arc_loan_compressed_buf(spa_t *spa, uint64_t psize, uint64_t lsize,
208 dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_subr.c352 uint64_t llongint, lsize; local
388 md_get_uint64le(mdp, &lsize);
389 fap->fa_allocsz = lsize;
392 error = md_get_uint64le(mdp, &lsize);
393 fap->fa_size = lsize;
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c445 char blocks[6], lsize[6], psize[6], dsize[6]; local
457 zfs_nicenum(dds->dds_lsize, lsize, sizeof (lsize));
467 blocks, lsize, psize, dsize,
/illumos-gate/usr/src/cmd/auditreduce/
H A Dproc.c958 int lsize; local
991 (void) adrf_int32(&adrf, &lsize, 1);
992 *buf = (char *)a_calloc(1, (size_t)(lsize + leadin));
995 adr_int32(&adr, (int32_t *)&lsize, 1);
996 if (fread(*buf + leadin, sizeof (char), lsize - leadin, fp) !=
997 lsize - leadin) {
1003 return (lsize + leadin);
/illumos-gate/usr/src/uts/common/fs/zfs/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);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c384 size_t lsize = 0; local
416 lsize = sizeof (in6_addr_t) * addrcnt;
417 llist = kmem_alloc(lsize, KM_SLEEP);
420 lsize);
426 kmem_free(llist, lsize);
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c432 int lsize, psize; local
436 lsize = BPE_GET_LSIZE(bp);
450 decomp_table[comp].decomp_func(dstbuf, buf, psize, lsize);
469 int lsize, psize, comp; local
482 lsize = BP_GET_LSIZE(bp);
492 if ((char *)buf < stack && ((char *)buf) + lsize > stack) {
494 lsize);
511 lsize) != 0) {
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dof.c645 size_t ssize, lsize; local
860 lsize = roundup(h.dofh_loadsz, sizeof (uint64_t));
861 h.dofh_filesz = lsize + dt_buf_len(&ddo->ddo_udata);
863 lsize = h.dofh_loadsz;
864 h.dofh_filesz = lsize;
895 sp->dofs_offset += lsize;
/illumos-gate/usr/src/cmd/ls/
H A Dls.c194 off_t lsize; /* filesize or major/minor dev numbers */ member in struct:lbuf
1298 (uint_t)major((dev_t)p->lsize),
1299 (uint_t)minor((dev_t)p->lsize));
1303 nicenum_scale(p->lsize, 1, numbuf, sizeof (numbuf),
1308 uint64_t bsize = p->lsize / block_size;
1314 if (p->lsize % block_size != 0)
1862 rep->lsize = statb.st_size;
1877 rep->lsize = (off_t)statb.st_rdev;
1881 rep->lsize = (off_t)statb.st_rdev;
1888 rep->lsize
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2205 char iblk[32], dblk[32], lsize[32], asize[32], fill[32], dnsize[32]; local
2213 CTASSERT(sizeof (lsize) >= NN_NUMBUF_SZ);
2220 "lsize", "%full", "type");
2259 zdb_nicenum(doi.doi_max_offset, lsize, sizeof (lsize));
2282 asize, dnsize, lsize, fill, ZDB_OT_NAME(doi.doi_type), aux);
4224 char csize[32], lsize[32], psize[32], asize[32]; local
4230 CTASSERT(sizeof (lsize) >= NN_NUMBUF_SZ);
4271 zdb_nicenum(zb->zb_lsize, lsize,
4272 sizeof (lsize));
5496 uint64_t offset = 0, size = 0, psize = 0, lsize = 0, blkptr_offset = 0; local
[all...]
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c1148 xen_ldt_setprot(user_desc_t *ldt, size_t lsize, uint_t prot) argument
1159 if ((err = as_setprot(&kas, (caddr_t)ldt, lsize, prot)) != 0)
1164 ASSERT(IS_P2ALIGNED(lsize, PAGESIZE));
1165 npgs = mmu_btop(lsize);
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c1371 long size, lsize, sz; local
1467 ((tp = get_write_buffer(size - sz, &lsize,
1469 (void) memcpy(tp, pp, lsize);
1470 sz += lsize;
1471 pp += lsize;
H A Dtlm_restore_writer.c2334 int size, lsize, sz; local
2389 ((tp = get_read_buffer(size - sz, &rv, &lsize,
2391 (void) memcpy(pp, tp, lsize);
2392 sz += lsize;
2393 pp += lsize;

Completed in 257 milliseconds

12