Home
last modified time | relevance | path

Searched refs:tsize (Results 1 – 25 of 51) sorted by relevance

123

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfvwrite.c138 int tsize; variable
141 tsize = fp->f_bf.smb_size;
144 tsize = (tsize << 1) + 1;
145 } while ((size_t) tsize < blen + len);
147 tsize + 1);
153 fp->f_w += tsize - fp->f_bf.smb_size;
155 fp->f_bf.smb_size = tsize;
/illumos-gate/usr/src/cmd/acct/
H A Dacctcon.c51 int tsize = -1; /* highest index of used slot in tbuf table */ variable
229 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in loop()
294 for (i = 0; i <= tsize; i++) in iline()
297 if (++tsize >= a_tsize) { in iline()
306 CPYN(tbuf[tsize].tline, wb.ut_line); in iline()
307 tbuf[tsize].tdev = lintodev(wb.ut_line); in iline()
308 return (tsize); in iline()
317 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in upall()
423 qsort((char *)tbuf, tsize + 1, sizeof (tbuf[0]), in printlin()
425 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) { in printlin()
H A Dacctcon1.c54 int tsize = -1; /* used slots in tbuf table */ variable
255 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in loop()
318 for (i = 0; i <= tsize; i++) in iline()
321 if (++tsize >= a_tsize) { in iline()
330 CPYN(tbuf[tsize].tline, wb.ut_line); in iline()
331 tbuf[tsize].tdev = lintodev(wb.ut_line); in iline()
332 return(tsize); in iline()
341 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in upall()
450 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) { in printlin()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_tsearchhash.c275 unsigned long tsize = h->tablesize_; in dumptree_inner() local
289 for( ; ix < tsize; ix++,p++) { in dumptree_inner()
314 printf("Hashtable: %lu of %lu hash entries used.\n",hashused,tsize); in dumptree_inner()
389 unsigned long tsize = head->tablesize_; in resize_table() local
391 for( ; ix < tsize; ix++,p++) { in resize_table()
631 unsigned long tsize = h->tablesize_; in dwarf_twalk_inner() local
632 for( ; ix < tsize; ix++,p++) { in dwarf_twalk_inner()
664 unsigned long tsize = h->tablesize_; in dwarf_tdestroy_inner() local
666 for( ; ix < tsize; ix++,p++) { in dwarf_tdestroy_inner()
/illumos-gate/usr/src/cmd/tcopy/
H A Dtcopy.c55 off64_t size, tsize; /* number of bytes in file, total */ variable
170 tsize += size; in main()
179 (void) printf("total length: %lld bytes\n", tsize); in main()
196 (void) printf("total length: %lld bytes\n", tsize+size); in RUBOUT()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_sparse.c362 ssize_t tsize = hole - src_off; in smb2_sparse_copy() local
363 if (tsize > bufsize) in smb2_sparse_copy()
364 tsize = bufsize; in smb2_sparse_copy()
370 iov.iov_len = tsize; in smb2_sparse_copy()
374 uio.uio_resid = tsize; in smb2_sparse_copy()
386 tsize -= uio.uio_resid; in smb2_sparse_copy()
387 ASSERT(tsize > 0); in smb2_sparse_copy()
393 iov.iov_len = tsize; in smb2_sparse_copy()
397 uio.uio_resid = tsize; in smb2_sparse_copy()
408 ASSERT(xfer <= tsize); in smb2_sparse_copy()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dump.c240 int tsize = ptob(1); in nd_send_data() local
281 if (offset + tsize > nfsdump_maxcount) in nd_send_data()
282 tsize = nfsdump_maxcount - offset; in nd_send_data()
299 !XDR_PUTINT32(xdrp, (int32_t *)&tsize) || in nd_send_data()
300 !XDR_PUTINT32(xdrp, (int32_t *)&tsize)) { in nd_send_data()
319 !XDR_PUTINT32(xdrp, (int32_t *)&tsize) || in nd_send_data()
321 !XDR_PUTINT32(xdrp, (int32_t *)&tsize)) { in nd_send_data()
330 bcopy(addr, (caddr_t)dumpbuf, tsize); in nd_send_data()
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_cout.c508 int size, tsize; in inline_struct() local
513 tsize = 0; in inline_struct()
521 tsize += size; in inline_struct()
528 if (sizestr == NULL && tsize < inlinelen) { in inline_struct()
540 tsize, flag, dl, cur); in inline_struct()
542 tsize = 0; in inline_struct()
551 if (sizestr == NULL && tsize < inlinelen) { in inline_struct()
569 int tsize = 0; in check_inline() local
579 tsize = 0; in check_inline()
586 tsize += size; in check_inline()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_impl.h725 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_r_abd()
818 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pq_abd()
848 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pq_abd()
976 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pr_abd()
1001 raidz_rec_pr_abd(void **t, const size_t tsize, void **c, in raidz_rec_pr_abd() argument
1006 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pr_abd()
1132 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_qr_abd()
1161 raidz_rec_qr_abd(void **t, const size_t tsize, void **c, in raidz_rec_qr_abd() argument
1166 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_qr_abd()
1297 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pqr_abd()
[all …]
H A Dabd.c1104 ssize_t tsize, const unsigned parity, in abd_raidz_rec_iterate() argument
1105 void (*func_raidz_rec)(void **t, const size_t tsize, void **c, in abd_raidz_rec_iterate() argument
1125 while (tsize > 0) { in abd_raidz_rec_iterate()
1134 len = tsize; in abd_raidz_rec_iterate()
1165 tsize -= len; in abd_raidz_rec_iterate()
1166 ASSERT3S(tsize, >=, 0); in abd_raidz_rec_iterate()
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c531 size_t tsize; in memalign() local
577 if (!IS_OVERSIZE(tsize, alloc_size)) { in memalign()
582 tsize += OVSZ_HEADER_SIZE; in memalign()
584 tsize, MTMALLOC_MIN_ALIGN); in memalign()
622 if (!IS_OVERSIZE(tsize, alloc_size)) { in memalign()
644 tsize = orig->size - data_sz; in memalign()
648 tsize -= OVSZ_HEADER_SIZE; in memalign()
667 if (!IS_OVERSIZE(tsize, alloc_size)) { in memalign()
699 tsize = orig->size; in memalign()
706 assert(tsize > (shift + data_sz + in memalign()
[all …]
/illumos-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c261 int tsize; in main() local
631 &tsize, in main()
633 outsiz = outsiz + tsize; in main()
652 &tsize, in main()
654 outsiz = outsiz + tsize; in main()
716 &tsize, in main()
718 outsiz = outsiz + tsize; in main()
742 &tsize, in main()
744 outsiz = outsiz + tsize; in main()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c76 ulong_t tsize; variable
312 tsize = atol(*argv); in main()
313 if ((*argv[0] == '-') || (tsize == 0)) { in main()
606 tsize *= 12L*10L; in main()
608 tsize *= tracks; in main()
935 if (tsize != 0) in main()
945 if (tsize != 0) in main()
953 * (1.0 / tsize); /* tape / 0.1" */ in main()
962 if (tsize != 0) in main()
970 * (1.0 / tsize); /* tape / 0.1" */ in main()
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dutil.c121 size_t tsize = (size_t)S_ROUND((asize + hsize), HEAPALIGN); in libld_malloc() local
126 if (tsize < HEAPBLOCK) in libld_malloc()
127 tsize = HEAPBLOCK; in libld_malloc()
129 if ((nhp = dz_map(tsize)) == MAP_FAILED) in libld_malloc()
134 nhp->lh_end = (void *)((size_t)nhp + tsize); in libld_malloc()
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/chip/
H A Dchip_intel.c611 uint64_t tsize; in mc_dimm_create_v1() local
614 tsize = size; in mc_dimm_create_v1()
623 if (tsize >= (1ULL << 40)) { in mc_dimm_create_v1()
624 tsize /= (1ULL << 40); in mc_dimm_create_v1()
626 } else if (tsize >= (1ULL << 30)) { in mc_dimm_create_v1()
627 tsize /= (1ULL << 30); in mc_dimm_create_v1()
629 } else if (tsize >= (1ULL << 20)) { in mc_dimm_create_v1()
630 tsize /= (1ULL << 20); in mc_dimm_create_v1()
637 if (snprintf(buf, sizeof (buf), "%"PRIu64"%s", tsize, in mc_dimm_create_v1()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c91 static off_t tsize; variable
136 tsize = statb.st_size; in tftp_sendfile()
264 tsize = 0; in tftp_recvfile()
474 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize); in tsize_str()
549 if (tsize == 0) in tsize_handler()
550 tsize = value; in tsize_handler()
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dabd.h110 ssize_t tsize, const unsigned parity,
111 void (*func_raidz_rec)(void **t, const size_t tsize, void **c,
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dsetcurscreen.c64 TABSIZE = SP->tsize; in setcurscreen()
H A Dnewscreen.c199 SP->tsize = (short)tabsize; in newscreen()
295 TABSIZE = SP->tsize; in newscreen()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c33 int tsize; member
51 opts.tsize = 0; in interpret_tftp()
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dmultiboot2.c1105 uint32_t tsize; in multiboot2_exec() local
1108 tsize = sizeof (*otag) + sizeof (ACPI_RSDP_COMMON); in multiboot2_exec()
1109 otag = (multiboot_tag_old_acpi_t *)mb_malloc(tsize); in multiboot2_exec()
1111 otag->mb_size = tsize; in multiboot2_exec()
1114 tsize = sizeof (*ntag) + rsdp->Length; in multiboot2_exec()
1115 ntag = (multiboot_tag_new_acpi_t *)mb_malloc(tsize); in multiboot2_exec()
1117 ntag->mb_size = tsize; in multiboot2_exec()
/illumos-gate/usr/src/boot/lib/libstand/
H A Dtftp.c690 int tsize = 0; in tftp_parse_oack() local
720 tsize = strtol(tftp_options[i + 1], NULL, 10); in tftp_parse_oack()
721 if (tsize != 0) in tftp_parse_oack()
722 h->tftp_tsize = tsize; in tftp_parse_oack()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamr_clnt.c906 uint16_t usize, tsize; in samr_set_user_info() local
938 tsize = usize + (2 * sizeof (WORD)); in samr_set_user_info()
939 FIXUP_PDU_SIZE(samr_SetUserInfo_s, tsize); in samr_set_user_info()
940 tsize += sizeof (ndr_request_hdr_t) + sizeof (DWORD); in samr_set_user_info()
941 FIXUP_PDU_SIZE(samr_SetUserInfo, tsize); in samr_set_user_info()
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index_c.x134 % void stats( long* tsize, long* tcount);
H A Ddb_index.cc369 db_index::stats(long *tsize, long *tcount) in stats() argument
372 *tsize = table_size; in stats()

123