Home
last modified time | relevance | path

Searched refs:lsize (Results 1 – 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dblkptr.c130 int lsize, psize; in decode_embedded_bp() local
134 lsize = BPE_GET_LSIZE(bp); in decode_embedded_bp()
137 if (lsize > buflen) in decode_embedded_bp()
139 ASSERT3U(lsize, ==, buflen); in decode_embedded_bp()
147 ASSERT3U(lsize, ==, psize); in decode_embedded_bp()
H A Dzio.c374 uint64_t lsize = BP_GET_LSIZE(bp); in zio_decrypt() local
403 tmp = zio_buf_alloc(lsize); in zio_decrypt()
405 zio->io_abd, tmp, zio->io_size, lsize); in zio_decrypt()
411 tmp, lsize, BP_SHOULD_BYTESWAP(bp), mac); in zio_decrypt()
412 zio_buf_free(tmp, lsize); in zio_decrypt()
694 abd_t *data, uint64_t lsize, uint64_t psize, zio_done_func_t *done, in zio_create() argument
709 IMPLY(lsize != psize, (flags & ZIO_FLAG_RAW_COMPRESS) != 0); in zio_create()
755 zio->io_lsize = lsize; in zio_create()
949 abd_t *data, uint64_t lsize, uint64_t psize, const zio_prop_t *zp, in zio_write() argument
966 zio = zio_create(pio, spa, txg, bp, data, lsize, psize, done, private, in zio_write()
[all …]
H A Darc.c1633 uint64_t lsize = HDR_GET_LSIZE(hdr); in arc_hdr_authenticate() local
1652 tmpbuf = zio_buf_alloc(lsize); in arc_hdr_authenticate()
1653 abd = abd_get_from_buf(tmpbuf, lsize); in arc_hdr_authenticate()
1657 hdr->b_l1hdr.b_pabd, tmpbuf, lsize); in arc_hdr_authenticate()
1668 ASSERT3U(lsize, ==, psize); in arc_hdr_authenticate()
2660 arc_loan_compressed_buf(spa_t *spa, uint64_t psize, uint64_t lsize, in arc_loan_compressed_buf() argument
2664 psize, lsize, compression_type); in arc_loan_compressed_buf()
2674 dmu_object_type_t ot, uint64_t psize, uint64_t lsize, in arc_loan_raw_buf() argument
2678 byteorder, salt, iv, mac, ot, psize, lsize, compression_type); in arc_loan_raw_buf()
3102 arc_hdr_alloc(uint64_t spa, int32_t psize, int32_t lsize, in arc_hdr_alloc() argument
[all …]
H A Ddmu_send.c257 uint64_t offset, int lsize, int psize, const blkptr_t *bp, void *data) in dump_write() argument
271 dsp->dsa_last_data_offset = offset + lsize - 1; in dump_write()
291 drrw->drr_logical_size = lsize; in dump_write()
294 if (raw || lsize != psize) { in dump_write()
319 ASSERT3S(lsize, >=, psize); in dump_write()
H A Dddt.c366 uint64_t lsize = DDK_GET_LSIZE(ddk); in ddt_stat_generate() local
382 dds->dds_lsize += lsize; in ddt_stat_generate()
387 dds->dds_ref_lsize += lsize * refcnt; in ddt_stat_generate()
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_pool.c41 char blocks[6], lsize[6], psize[6], dsize[6]; in dump_ddt_stat() local
53 zfs_nicebytes(dds->dds_lsize, lsize, sizeof (lsize)); in dump_ddt_stat()
63 blocks, lsize, psize, dsize, in dump_ddt_stat()
/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/smbclnt/smbfs/
H A Dsmbfs_subr.c353 uint64_t llongint, lsize; in smbfs_decode_file_all_info() local
389 md_get_uint64le(mdp, &lsize); in smbfs_decode_file_all_info()
390 fap->fa_allocsz = lsize; in smbfs_decode_file_all_info()
393 error = md_get_uint64le(mdp, &lsize); in smbfs_decode_file_all_info()
394 fap->fa_size = lsize; in smbfs_decode_file_all_info()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dnewscreen.c74 newscreen(char *type, int lsize, int csize, int tabsize, in newscreen() argument
154 LINES = SP->lsize = lsize > 0 ? lsize : lines; in newscreen()
H A Dsetcurscreen.c60 LINES = SP->lsize; in setcurscreen()
H A Drestart.c90 LINES = SP->lsize; in restartterm()
H A Dripoffline.c68 LINES = --SP->lsize; in _init_rip_func()
H A Dslk_start.c160 LINES = --SP->lsize; in _init_slk_func()
H A Dcurshdr.h133 short lsize; /* How many lines decided by newscreen */ member
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Darc.h209 uint64_t psize, uint64_t lsize, enum zio_compress compression_type);
212 const uint8_t *mac, dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
215 arc_buf_t *arc_loan_compressed_buf(spa_t *spa, uint64_t psize, uint64_t lsize,
219 dmu_object_type_t ot, uint64_t psize, uint64_t lsize,
/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; in setnodevector() local
283 lsize = 0; in setnodevector()
287 lsize = luaO_ceillog2(size); in setnodevector()
288 if (lsize > MAXBITS) in setnodevector()
290 size = twoto(lsize); in setnodevector()
299 t->lsizenode = cast_byte(lsize); in setnodevector()
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_bind.c384 size_t lsize = 0; in sctp_bind_add() local
416 lsize = sizeof (in6_addr_t) * addrcnt; in sctp_bind_add()
417 llist = kmem_alloc(lsize, KM_SLEEP); in sctp_bind_add()
420 lsize); in sctp_bind_add()
426 kmem_free(llist, lsize); in sctp_bind_add()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c433 int lsize, psize; in decode_embedded_bp() local
437 lsize = BPE_GET_LSIZE(bp); in decode_embedded_bp()
451 decomp_table[comp].decomp_func(dstbuf, buf, psize, lsize); in decode_embedded_bp()
470 int lsize, psize, comp; in zio_read() local
483 lsize = BP_GET_LSIZE(bp); in zio_read()
493 if ((char *)buf < stack && ((char *)buf) + lsize > stack) { in zio_read()
495 lsize); in zio_read()
512 lsize) != 0) { in zio_read()
/illumos-gate/usr/src/cmd/ls/
H A Dls.c196 off_t lsize; /* filesize or major/minor dev numbers */ member
1318 (uint_t)major((dev_t)p->lsize), in pentry()
1319 (uint_t)minor((dev_t)p->lsize)); in pentry()
1323 nicenum_scale(p->lsize, 1, numbuf, sizeof (numbuf), in pentry()
1328 uint64_t bsize = p->lsize / block_size; in pentry()
1334 if (p->lsize % block_size != 0) in pentry()
1888 rep->lsize = statb.st_size; in gstat()
1903 rep->lsize = (off_t)statb.st_rdev; in gstat()
1907 rep->lsize = (off_t)statb.st_rdev; in gstat()
1914 rep->lsize = 0; in gstat()
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_dof.c645 size_t ssize, lsize; in dtrace_dof_create() local
860 lsize = roundup(h.dofh_loadsz, sizeof (uint64_t)); in dtrace_dof_create()
861 h.dofh_filesz = lsize + dt_buf_len(&ddo->ddo_udata); in dtrace_dof_create()
863 lsize = h.dofh_loadsz; in dtrace_dof_create()
864 h.dofh_filesz = lsize; in dtrace_dof_create()
895 sp->dofs_offset += lsize; in dtrace_dof_create()
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c1132 xen_ldt_setprot(user_desc_t *ldt, size_t lsize, uint_t prot) in xen_ldt_setprot() argument
1141 if ((err = as_setprot(&kas, (caddr_t)ldt, lsize, prot)) != 0) in xen_ldt_setprot()
1145 ASSERT(IS_P2ALIGNED(lsize, PAGESIZE)); in xen_ldt_setprot()
1146 npgs = mmu_btop(lsize); in xen_ldt_setprot()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_backup_reader.c1371 long size, lsize, sz; in ndmp_include_zfs() local
1467 ((tp = get_write_buffer(size - sz, &lsize, in ndmp_include_zfs()
1469 (void) memcpy(tp, pp, lsize); in ndmp_include_zfs()
1470 sz += lsize; in ndmp_include_zfs()
1471 pp += lsize; in ndmp_include_zfs()
H A Dtlm_restore_writer.c2335 int size, lsize, sz; in ndmp_iter_zfs() local
2391 ((tp = get_read_buffer(size - sz, &rv, &lsize, in ndmp_iter_zfs()
2393 (void) memcpy(pp, tp, lsize); in ndmp_iter_zfs()
2394 sz += lsize; in ndmp_iter_zfs()
2395 pp += lsize; in ndmp_iter_zfs()
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2242 char iblk[32], dblk[32], lsize[32], asize[32], fill[32], dnsize[32]; in dump_object() local
2250 CTASSERT(sizeof (lsize) >= NN_NUMBUF_SZ); in dump_object()
2296 zdb_nicenum(doi.doi_max_offset, lsize, sizeof (lsize)); in dump_object()
2319 asize, dnsize, lsize, fill, ZDB_OT_NAME(doi.doi_type), aux); in dump_object()
4739 char csize[32], lsize[32], psize[32], asize[32]; in dump_block_stats() local
4745 CTASSERT(sizeof (lsize) >= NN_NUMBUF_SZ); in dump_block_stats()
4786 zdb_nicenum(zb->zb_lsize, lsize, in dump_block_stats()
4787 sizeof (lsize)); in dump_block_stats()
4798 csize, lsize, psize, asize, avg, in dump_block_stats()
6012 uint64_t offset = 0, size = 0, psize = 0, lsize = 0, blkptr_offset = 0; in zdb_read_block() local
[all …]

12