Home
last modified time | relevance | path

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

123

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfvwrite.c136 int tsize; variable
139 tsize = fp->f_bf.smb_size;
142 tsize = (tsize << 1) + 1;
143 } while ((size_t) tsize < blen + len);
145 tsize + 1);
151 fp->f_w += tsize - fp->f_bf.smb_size;
153 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/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_sparse.c365 ssize_t tsize = hole - src_off; in smb2_sparse_copy() local
366 if (tsize > bufsize) in smb2_sparse_copy()
367 tsize = bufsize; in smb2_sparse_copy()
373 iov.iov_len = tsize; in smb2_sparse_copy()
377 uio.uio_resid = tsize; in smb2_sparse_copy()
389 tsize -= uio.uio_resid; in smb2_sparse_copy()
390 ASSERT(tsize > 0); in smb2_sparse_copy()
396 iov.iov_len = tsize; in smb2_sparse_copy()
400 uio.uio_resid = tsize; in smb2_sparse_copy()
411 ASSERT(xfer <= tsize); in smb2_sparse_copy()
/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/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.c510 int size, tsize; in inline_struct() local
515 tsize = 0; in inline_struct()
523 tsize += size; in inline_struct()
530 if (sizestr == NULL && tsize < inlinelen) { in inline_struct()
542 tsize, flag, dl, cur); in inline_struct()
544 tsize = 0; in inline_struct()
553 if (sizestr == NULL && tsize < inlinelen) { in inline_struct()
560 expand_inline(indent, sizestr, tsize, flag, dl, cur); in inline_struct()
571 int tsize = 0; in check_inline() local
581 tsize = 0; in check_inline()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_impl.h719 raidz_syn_r_abd(void **xc, const void *dc, const size_t tsize, in raidz_syn_r_abd() argument
725 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_r_abd()
811 raidz_syn_pq_abd(void **tc, const void *dc, const size_t tsize, in raidz_syn_pq_abd() argument
818 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pq_abd()
843 raidz_rec_pq_abd(void **tc, const size_t tsize, void **c, in raidz_rec_pq_abd() argument
848 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pq_abd()
969 raidz_syn_pr_abd(void **c, const void *dc, const size_t tsize, in raidz_syn_pr_abd() argument
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()
[all …]
H A Dabd.c1110 ssize_t tsize, const unsigned parity, in abd_raidz_rec_iterate() argument
1111 void (*func_raidz_rec)(void **t, const size_t tsize, void **c, in abd_raidz_rec_iterate() argument
1131 while (tsize > 0) { in abd_raidz_rec_iterate()
1140 len = tsize; in abd_raidz_rec_iterate()
1171 tsize -= len; in abd_raidz_rec_iterate()
1172 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
574 tsize = (shift + size) - (MAX_CACHED + 8 + in memalign()
577 if (!IS_OVERSIZE(tsize, alloc_size)) { in memalign()
582 tsize += OVSZ_HEADER_SIZE; in memalign()
584 tsize, MTMALLOC_MIN_ALIGN); in memalign()
619 tsize = orig->size - (MAX_CACHED + 8 + 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()
649 tail = oversize_header_alloc(taddr, tsize); in memalign()
[all …]
/illumos-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c260 int tsize; in main() local
630 &tsize, in main()
632 outsiz = outsiz + tsize; in main()
651 &tsize, in main()
653 outsiz = outsiz + tsize; in main()
715 &tsize, in main()
717 outsiz = outsiz + tsize; in main()
741 &tsize, in main()
743 outsiz = outsiz + tsize; in main()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpmain.c76 ulong_t tsize; variable
171 tsize = 0; /* no default size, detect EOT dynamically */ in main()
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()
936 fetapes = (double)(esize + ntrec) / (double)tsize; in main()
945 if (tsize != 0) in main()
953 * (1.0 / tsize); /* tape / 0.1" */ in main()
[all …]
/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.c62 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/boot/common/
H A Dmultiboot2.c1113 uint32_t tsize; in multiboot2_exec() local
1116 tsize = sizeof (*otag) + sizeof (ACPI_RSDP_COMMON); in multiboot2_exec()
1117 otag = (multiboot_tag_old_acpi_t *)mb_malloc(tsize); in multiboot2_exec()
1119 otag->mb_size = tsize; in multiboot2_exec()
1122 tsize = sizeof (*ntag) + rsdp->Length; in multiboot2_exec()
1123 ntag = (multiboot_tag_new_acpi_t *)mb_malloc(tsize); in multiboot2_exec()
1125 ntag->mb_size = tsize; in multiboot2_exec()
/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/libsa/
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.cc369 db_index::stats(long *tsize, long *tcount) in stats() argument
372 *tsize = table_size; in stats()
H A Ddb_index_c.x134 % void stats( long* tsize, long* tcount);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddttree.c188 static ssize_t tsize(Dtlink_t* root, ssize_t lev, Dtstat_t* st) in tsize() function
190 static ssize_t tsize(root, lev, st) in tsize()
214 if((z = tsize(root->_left, lev+1, st)) < 0)
218 if((z = tsize(root->_rght, lev+1, st)) < 0)
240 size = tsize(tree->root, 0, st);

123