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

12

/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 Ddnode_sync.c137 uint64_t lsize = BP_GET_LSIZE(bp); local
145 BP_SET_LSIZE(bp, lsize);
H A Dddt.c366 uint64_t lsize = DDK_GET_LSIZE(ddk); local
382 dds->dds_lsize += lsize;
387 dds->dds_ref_lsize += lsize * refcnt;
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 Ddsl_dir.c1381 dsl_dir_tempreserve_space(dsl_dir_t *dd, uint64_t lsize, uint64_t asize, argument
1397 err = arc_tempreserve_space(dd->dd_pool->dp_spa, lsize, tx->tx_txg);
1402 tr->tr_size = lsize;
H A Dspa_misc.c1731 spa_get_worst_case_asize(spa_t *spa, uint64_t lsize) argument
1733 return (lsize * spa_asize_inflation);
H A Ddbuf.c3529 int lsize = arc_buf_lsize(*datap); local
3542 dn->dn_type, psize, lsize, compress_type);
3546 psize, lsize, compress_type);
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...]
/illumos-gate/usr/src/lib/libcurses/screen/
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 Dcurshdr.h135 short lsize; /* How many lines decided by newscreen */ member in struct:screen
/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/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/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);
H A Dsctp_addr.c294 uchar_t *list, size_t lsize)
418 if (lsize >= sizeof (addr)) {
421 lsize -= sizeof (addr);
293 sctp_valid_addr_list(sctp_t *sctp, const void *addrs, uint32_t addrcnt, uchar_t *list, size_t lsize) argument
/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/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/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/uts/i86xpv/os/
H A Dxen_machdep.c1147 xen_ldt_setprot(user_desc_t *ldt, size_t lsize, uint_t prot)
1158 if ((err = as_setprot(&kas, (caddr_t)ldt, lsize, prot)) != 0)
1163 ASSERT(IS_P2ALIGNED(lsize, PAGESIZE));
1164 npgs = mmu_btop(lsize);
1148 xen_ldt_setprot(user_desc_t *ldt, size_t lsize, uint_t prot) argument
/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;
/illumos-gate/usr/src/common/ctf/
H A Dctf_create.c1522 ssize_t lsize; local
1527 else if ((lsize = ctf_type_size(fp, ltype)) != CTF_ERR)
1528 off += lsize * NBBY;
/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/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c688 ssize_t lsize; local
768 lsize = mdb_ctf_type_size(last);
771 offset - size - lsize, e, member));
/illumos-gate/usr/src/uts/common/krtld/
H A Dkobj.c715 int i, lsize, osize, nsize, allocsize; local
803 lsize = strlen(libname);
804 nsize += lsize;
814 bcopy(libname, mp->depends_on + osize, lsize);
1677 int lsize; local
1705 lsize = strlen(libname);
1706 nsize += lsize;
1717 bcopy(libname, depstr + osize, 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...]

Completed in 367 milliseconds

12