Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libcurses/screen/
H A Dnewscreen.c72 newscreen(char *type, int lsize, int csize, int tabsize, in newscreen() argument
152 LINES = SP->lsize = lsize > 0 ? lsize : lines; in newscreen()
H A Dsetcurscreen.c62 LINES = SP->lsize; in setcurscreen()
H A Drestart.c92 LINES = SP->lsize; in restartterm()
H A Dripoffline.c70 LINES = --SP->lsize; in _init_rip_func()
H A Dslk_start.c162 LINES = --SP->lsize; in _init_slk_func()
H A Dcurshdr.h135 short lsize; /* How many lines decided by newscreen */ member
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_status.c391 char blocks[6], lsize[6], psize[6], dsize[6]; in dump_ddt_stat() local
403 zfs_nicenum(dds->dds_lsize, lsize, sizeof (lsize)); in dump_ddt_stat()
413 blocks, lsize, psize, dsize, in dump_ddt_stat()
/titanic_41/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);
/titanic_41/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()
/titanic_41/usr/src/cmd/ls/
H A Dls.c195 off_t lsize; /* filesize or major/minor dev numbers */ member
1309 (uint_t)major((dev_t)p->lsize), in pentry()
1310 (uint_t)minor((dev_t)p->lsize)); in pentry()
1311 } else if (hflg && (p->lsize >= hscale)) { in pentry()
1313 number_to_scaled_string(hbuf, p->lsize, hscale)); in pentry()
1315 uint64_t bsize = p->lsize / block_size; in pentry()
1321 if (p->lsize % block_size != 0) in pentry()
1869 rep->lsize = statb.st_size; in gstat()
1884 rep->lsize = (off_t)statb.st_rdev; in gstat()
1888 rep->lsize = (off_t)statb.st_rdev; in gstat()
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c423 int lsize, psize; in decode_embedded_bp() local
427 lsize = BPE_GET_LSIZE(bp); in decode_embedded_bp()
441 decomp_table[comp].decomp_func(dstbuf, buf, psize, lsize); in decode_embedded_bp()
460 int lsize, psize, comp; in zio_read() local
473 lsize = BP_GET_LSIZE(bp); in zio_read()
483 if ((char *)buf < stack && ((char *)buf) + lsize > stack) { in zio_read()
485 lsize); in zio_read()
507 lsize) != 0) { in zio_read()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzio.c1090 uint64_t lsize = zio->io_size; in zio_write_bp_init() local
1091 uint64_t psize = lsize; in zio_write_bp_init()
1169 void *cbuf = zio_buf_alloc(lsize); in zio_write_bp_init()
1170 psize = zio_compress_data(compress, zio->io_data, cbuf, lsize); in zio_write_bp_init()
1171 if (psize == 0 || psize == lsize) { in zio_write_bp_init()
1173 zio_buf_free(cbuf, lsize); in zio_write_bp_init()
1178 cbuf, compress, lsize, psize); in zio_write_bp_init()
1182 zio_buf_free(cbuf, lsize); in zio_write_bp_init()
1200 if (rounded >= lsize) { in zio_write_bp_init()
1202 zio_buf_free(cbuf, lsize); in zio_write_bp_init()
[all …]
H A Dddt.c356 uint64_t lsize = DDK_GET_LSIZE(ddk); in ddt_stat_generate() local
372 dds->dds_lsize += lsize; in ddt_stat_generate()
377 dds->dds_ref_lsize += lsize * refcnt; in ddt_stat_generate()
H A Ddnode_sync.c142 uint64_t lsize = BP_GET_LSIZE(bp); in free_blocks() local
150 BP_SET_LSIZE(bp, lsize); in free_blocks()
H A Ddsl_dir.c1249 dsl_dir_tempreserve_space(dsl_dir_t *dd, uint64_t lsize, uint64_t asize, in dsl_dir_tempreserve_space() argument
1266 err = arc_tempreserve_space(lsize, tx->tx_txg); in dsl_dir_tempreserve_space()
1271 tr->tr_size = lsize; in dsl_dir_tempreserve_space()
H A Dspa_misc.c1625 spa_get_asize(spa_t *spa, uint64_t lsize) in spa_get_asize() argument
1627 return (lsize * spa_asize_inflation); in spa_get_asize()
/titanic_41/usr/src/cmd/zdb/
H A Dzdb.c1797 char iblk[32], dblk[32], lsize[32], asize[32], fill[32]; in dump_object() local
1824 zdb_nicenum(doi.doi_max_offset, lsize); in dump_object()
1845 asize, lsize, fill, ZDB_OT_NAME(doi.doi_type), aux); in dump_object()
2803 char csize[32], lsize[32], psize[32], asize[32]; in dump_block_stats() local
2841 zdb_nicenum(zb->zb_lsize, lsize); in dump_block_stats()
2849 csize, lsize, psize, asize, avg, in dump_block_stats()
3242 uint64_t offset = 0, size = 0, psize = 0, lsize = 0, blkptr_offset = 0; in zdb_read_block() local
3314 lsize = size; in zdb_read_block()
3328 BP_SET_LSIZE(bp, lsize); in zdb_read_block()
3383 for (lsize = SPA_MAXBLOCKSIZE; lsize > psize; in zdb_read_block()
[all …]
/titanic_41/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()
/titanic_41/usr/src/uts/i86xpv/os/
H A Dxen_machdep.c1148 xen_ldt_setprot(user_desc_t *ldt, size_t lsize, uint_t prot) in xen_ldt_setprot() argument
1159 if ((err = as_setprot(&kas, (caddr_t)ldt, lsize, prot)) != 0) in xen_ldt_setprot()
1164 ASSERT(IS_P2ALIGNED(lsize, PAGESIZE)); in xen_ldt_setprot()
1165 npgs = mmu_btop(lsize); in xen_ldt_setprot()
/titanic_41/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.c2334 int size, lsize, sz; in ndmp_iter_zfs() local
2389 ((tp = get_read_buffer(size - sz, &rv, &lsize, in ndmp_iter_zfs()
2391 (void) memcpy(pp, tp, lsize); in ndmp_iter_zfs()
2392 sz += lsize; in ndmp_iter_zfs()
2393 pp += lsize; in ndmp_iter_zfs()
/titanic_41/usr/src/uts/common/krtld/
H A Dkobj.c713 int i, lsize, osize, nsize, allocsize; in load_exec() local
801 lsize = strlen(libname); in load_exec()
802 nsize += lsize; in load_exec()
812 bcopy(libname, mp->depends_on + osize, lsize); in load_exec()
1675 int lsize; in process_dynamic() local
1703 lsize = strlen(libname); in process_dynamic()
1704 nsize += lsize; in process_dynamic()
1715 bcopy(libname, depstr + osize, lsize); in process_dynamic()
/titanic_41/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_smb.c237 uint64_t llongint, lsize; in smbfs_smb_trans2_query() local
354 md_get_uint64le(mdp, &lsize); in smbfs_smb_trans2_query()
355 fap->fa_allocsz = lsize; in smbfs_smb_trans2_query()
357 error = md_get_uint64le(mdp, &lsize); in smbfs_smb_trans2_query()
358 fap->fa_size = lsize; in smbfs_smb_trans2_query()
/titanic_41/usr/src/common/ctf/
H A Dctf_create.c1098 ssize_t lsize; in ctf_add_member() local
1102 else if ((lsize = ctf_type_size(fp, ltype)) != CTF_ERR) in ctf_add_member()
1103 off += lsize * NBBY; in ctf_add_member()
/titanic_41/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth452 : bp-lsize ( bp -- lsize ) blk_lsize fsz>dsz ;
1048 dup bp-lsize swap read-bp ( )
1074 dup bp-lsize swap read-bp
1154 >dsl-ds ds_bp dup bp-lsize swap read-bp
1227 dup bp-lsize swap read-bp ( dst dn )

12