Searched defs:tsize (Results 1 - 25 of 36) sorted by relevance

12

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfvwrite.c138 int tsize; local
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/tcopy/
H A Dtcopy.c55 off64_t size, tsize; /* number of bytes in file, total */ variable
170 tsize += size;
179 (void) printf("total length: %lld bytes\n", tsize);
196 (void) printf("total length: %lld bytes\n", tsize+size);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_tftp.c33 int tsize; member in struct:tftp_options
51 opts.tsize = 0;
/illumos-gate/usr/src/lib/libnisdb/
H A Ddb_index.cc366 * Return in 'tsize' the table_size, and 'tcount' the number of entries
370 db_index::stats(long *tsize, long *tcount) argument
373 *tsize = table_size;
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_dup.c386 db_indx_t tsize, item_size; local
391 tsize = DUP_SIZE(item_size);
392 if ((ret = __ham_init_dbt(duplicate, tsize, bufp, sizep)) != 0)
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_dump.c240 int tsize = ptob(1); local
281 if (offset + tsize > nfsdump_maxcount)
282 tsize = nfsdump_maxcount - offset;
299 !XDR_PUTINT32(xdrp, (int32_t *)&tsize) ||
300 !XDR_PUTINT32(xdrp, (int32_t *)&tsize)) {
319 !XDR_PUTINT32(xdrp, (int32_t *)&tsize) ||
321 !XDR_PUTINT32(xdrp, (int32_t *)&tsize)) {
330 bcopy(addr, (caddr_t)dumpbuf, tsize);
H A Dnfs4_srv_readdir.c389 int tsize; local
514 tsize = rfs4_tsize(req);
515 if (args->maxcount > tsize)
516 args->maxcount = tsize;
588 dircount = (dircount > tsize) ? tsize : dircount;
H A Dnfs_vnops.c871 int tsize; local
885 tsize = MIN(mi->mi_curwrite, count);
888 wa.wa_totcount = tsize;
889 wa.wa_count = tsize;
920 count -= tsize;
921 base += tsize;
922 offset += tsize;
928 nwritten += tsize;
953 int tsize; local
984 tsize
[all...]
/illumos-gate/usr/src/cmd/acct/
H A Dacctcon1.c54 int tsize = -1; /* used slots in tbuf table */ variable
255 for (tp = tbuf; tp <= &tbuf[tsize]; tp++)
318 for (i = 0; i <= tsize; i++)
321 if (++tsize >= a_tsize) {
330 CPYN(tbuf[tsize].tline, wb.ut_line);
331 tbuf[tsize].tdev = lintodev(wb.ut_line);
332 return(tsize);
341 for (tp = tbuf; tp <= &tbuf[tsize]; tp++)
450 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) {
H A Dacctcon.c51 int tsize = -1; /* highest index of used slot in tbuf table */ variable
229 for (tp = tbuf; tp <= &tbuf[tsize]; tp++)
294 for (i = 0; i <= tsize; i++)
297 if (++tsize >= a_tsize) {
306 CPYN(tbuf[tsize].tline, wb.ut_line);
307 tbuf[tsize].tdev = lintodev(wb.ut_line);
308 return (tsize);
317 for (tp = tbuf; tp <= &tbuf[tsize]; tp++)
423 qsort((char *)tbuf, tsize + 1, sizeof (tbuf[0]),
425 for (tp = tbuf; tp <= &tbuf[tsize]; t
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dutil.c121 size_t tsize = (size_t)S_ROUND((asize + hsize), HEAPALIGN); local
126 if (tsize < HEAPBLOCK)
127 tsize = HEAPBLOCK;
129 if ((nhp = dz_map(tsize)) == MAP_FAILED)
134 nhp->lh_end = (void *)((size_t)nhp + tsize);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_fsctl_sparse.c362 ssize_t tsize = hole - src_off; local
363 if (tsize > bufsize)
364 tsize = bufsize;
370 iov.iov_len = tsize;
374 uio.uio_resid = tsize;
386 tsize -= uio.uio_resid;
387 ASSERT(tsize > 0);
393 iov.iov_len = tsize;
397 uio.uio_resid = tsize;
408 ASSERT(xfer <= tsize);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c83 { "tsize", tsize_str, tsize_handler },
92 static off_t tsize; variable
136 tsize = statb.st_size;
263 tsize = 0;
465 * Return the tsize option value string to include in the request packet.
473 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize);
524 * Validate and action the tsize option value string from the OACK packet.
545 * Don't bother checking the tsize value we specified in a write
548 if (tsize == 0)
549 tsize
[all...]
/illumos-gate/usr/src/cmd/rpcgen/
H A Drpc_cout.c508 int size, tsize; local
513 tsize = 0;
521 tsize += size;
528 if (sizestr == NULL && tsize < inlinelen) {
531 * if tsize < inlinelen
540 tsize, flag, dl, cur);
542 tsize = 0;
551 if (sizestr == NULL && tsize < inlinelen) {
552 /* don't expand into inline code if tsize < inlinelen */
558 expand_inline(indent, sizestr, tsize, fla
569 int tsize = 0; local
[all...]
/illumos-gate/usr/src/boot/lib/libstand/
H A Dtftp.c333 bcopy("tsize", wtail, 6);
689 int tsize = 0; local
710 * * "tsize" is specified in RFC2349.
717 } else if (strcasecmp(tftp_options[i], "tsize") == 0) {
719 tsize = strtol(tftp_options[i + 1], NULL, 10);
720 if (tsize != 0)
721 h->tftp_tsize = tsize;
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsamr_clnt.c906 uint16_t usize, tsize; local
938 tsize = usize + (2 * sizeof (WORD));
939 FIXUP_PDU_SIZE(samr_SetUserInfo_s, tsize);
940 tsize += sizeof (ndr_request_hdr_t) + sizeof (DWORD);
941 FIXUP_PDU_SIZE(samr_SetUserInfo, tsize);
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_internal.c1186 ssize_t tsize; local
1234 tsize = scf_limit(SCF_LIMIT_MAX_PG_TYPE_LENGTH);
1235 type = uu_zalloc(tsize);
1263 if (scf_pg_get_type(load_pgroup, type, tsize) <= 0) {
/illumos-gate/usr/src/cmd/audio/audioplay/
H A Daudioplay.c261 int tsize; local
631 &tsize,
633 outsiz = outsiz + tsize;
652 &tsize,
654 outsiz = outsiz + tsize;
716 &tsize,
718 outsiz = outsiz + tsize;
742 &tsize,
744 outsiz = outsiz + tsize;
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dmultiboot2.c1105 uint32_t tsize; local
1108 tsize = sizeof (*otag) + sizeof (ACPI_RSDP_COMMON);
1109 otag = (multiboot_tag_old_acpi_t *)mb_malloc(tsize);
1111 otag->mb_size = tsize;
1114 tsize = sizeof (*ntag) + rsdp->Length;
1115 ntag = (multiboot_tag_new_acpi_t *)mb_malloc(tsize);
1117 ntag->mb_size = tsize;
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcurshdr.h137 short tsize; /* How big is a tab decided by newscreen */ member in struct:screen
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddump.h135 ulong_t tsize; /* tape size in 0.1" units */ variable
/illumos-gate/usr/src/lib/libmtmalloc/common/
H A Dmtmalloc.c531 size_t tsize; local
574 tsize = (shift + size) - (MAX_CACHED + 8 +
577 if (!IS_OVERSIZE(tsize, alloc_size)) {
582 tsize += OVSZ_HEADER_SIZE;
584 tsize, MTMALLOC_MIN_ALIGN);
619 tsize = orig->size - (MAX_CACHED + 8 +
622 if (!IS_OVERSIZE(tsize, alloc_size)) {
644 tsize = orig->size - data_sz;
648 tsize -= OVSZ_HEADER_SIZE;
649 tail = oversize_header_alloc(taddr, tsize);
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c104 static off_t tsize; variable
171 { "tsize", tsize_handler },
621 * Return the tsize option value string to include in the OACK reply.
639 * The tsize value should be 0 for a read request, but to
649 tsize = value;
652 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize);
878 tsize = statb.st_size;
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c137 size_t tsize; local
139 tsize = size * entries;
140 dest_p->alength = tsize;
143 dest_p->offset += tsize;
145 src_p->kaddrp = (caddr_t)dest_p->kaddrp + tsize;
146 src_p->alength -= tsize;
147 src_p->dma_cookie.dmac_laddress += tsize;
148 src_p->dma_cookie.dmac_size -= tsize;
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_txdma.c225 size_t tsize; local
227 tsize = size * entries;
228 dest_p->alength = tsize;
231 dest_p->offset += tsize;
233 src_p->kaddrp = (caddr_t)dest_p->kaddrp + tsize;
234 src_p->alength -= tsize;
235 src_p->dma_cookie.dmac_laddress += tsize;
236 src_p->dma_cookie.dmac_size -= tsize;

Completed in 396 milliseconds

12