Home
last modified time | relevance | path

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

12

/titanic_41/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;
/titanic_41/usr/src/cmd/acct/
H A Dacctcon.c53 int tsize = -1; /* highest index of used slot in tbuf table */ variable
231 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in loop()
295 for (i = 0; i <= tsize; i++) in iline()
298 if (++tsize >= a_tsize) { in iline()
307 CPYN(tbuf[tsize].tline, wb.ut_line); in iline()
308 tbuf[tsize].tdev = lintodev(wb.ut_line); in iline()
309 return (tsize); in iline()
318 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in upall()
424 qsort((char *)tbuf, tsize + 1, sizeof (tbuf[0]), in printlin()
426 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()
317 for (i = 0; i <= tsize; i++) in iline()
320 if (++tsize >= a_tsize) { in iline()
329 CPYN(tbuf[tsize].tline, wb.ut_line); in iline()
330 tbuf[tsize].tdev = lintodev(wb.ut_line); in iline()
331 return(tsize); in iline()
340 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) in upall()
449 for (tp = tbuf; tp <= &tbuf[tsize]; tp++) { in printlin()
/titanic_41/usr/src/cmd/tcopy/
H A Dtcopy.c57 off64_t size, tsize; /* number of bytes in file, total */ variable
173 tsize += size;
182 (void) printf("total length: %lld bytes\n", tsize);
199 (void) printf("total length: %lld bytes\n", tsize+size); in RUBOUT()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_dump.c235 int tsize = ptob(1); in nd_send_data() local
276 if (offset + tsize > nfsdump_maxcount) in nd_send_data()
277 tsize = nfsdump_maxcount - offset; in nd_send_data()
294 !XDR_PUTINT32(xdrp, (int32_t *)&tsize) || in nd_send_data()
295 !XDR_PUTINT32(xdrp, (int32_t *)&tsize)) { in nd_send_data()
314 !XDR_PUTINT32(xdrp, (int32_t *)&tsize) || in nd_send_data()
316 !XDR_PUTINT32(xdrp, (int32_t *)&tsize)) { in nd_send_data()
325 bcopy(addr, (caddr_t)dumpbuf, tsize); in nd_send_data()
H A Dnfs4_srv_readdir.c411 int tsize; in rfs4_op_readdir() local
535 tsize = rfs4_tsize(req); in rfs4_op_readdir()
536 if (args->maxcount > tsize) in rfs4_op_readdir()
537 args->maxcount = tsize; in rfs4_op_readdir()
609 dircount = (dircount > tsize) ? tsize : dircount; in rfs4_op_readdir()
H A Dnfs3_vnops.c457 int tsize; in nfs3_directio_read() local
492 tsize = MIN(mi->mi_tsize, count); in nfs3_directio_read()
494 args.count = (count3)tsize; in nfs3_directio_read()
495 res.size = (uint_t)tsize; in nfs3_directio_read()
1009 int tsize; in nfs3write() local
1029 tsize = MIN(mi->mi_stsize, count); in nfs3write()
1031 tsize = MIN(mi->mi_curwrite, count); in nfs3write()
1033 args.count = (count3)tsize; in nfs3write()
1034 args.data.data_len = (uint_t)tsize; in nfs3write()
1077 tsize = (int)res.resok.count; in nfs3write()
[all …]
H A Dnfs_vnops.c871 int tsize; in nfswrite() local
885 tsize = MIN(mi->mi_curwrite, count); in nfswrite()
888 wa.wa_totcount = tsize; in nfswrite()
889 wa.wa_count = tsize; in nfswrite()
920 count -= tsize; in nfswrite()
921 base += tsize; in nfswrite()
922 offset += tsize; in nfswrite()
928 nwritten += tsize; in nfswrite()
953 int tsize; in nfsread() local
984 tsize = MIN(mi->mi_curread, count); in nfsread()
[all …]
/titanic_41/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()
558 expand_inline(indent, sizestr, tsize, flag, dl, cur); in inline_struct()
569 int tsize = 0; in check_inline() local
579 tsize = 0; in check_inline()
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/audio/audioplay/
H A Daudioplay.c256 int tsize; in main() local
626 &tsize, in main()
628 outsiz = outsiz + tsize; in main()
647 &tsize, in main()
649 outsiz = outsiz + tsize; in main()
711 &tsize, in main()
713 outsiz = outsiz + tsize; in main()
737 &tsize, in main()
739 outsiz = outsiz + tsize; in main()
/titanic_41/usr/src/cmd/backup/dump/
H A Ddumpmain.c132 tsize = 0; /* no default size, detect EOT dynamically */ in main()
273 tsize = atol(*argv); in main()
274 if ((*argv[0] == '-') || (tsize == 0)) { in main()
567 tsize *= 12L*10L; in main()
569 tsize *= tracks; in main()
896 if (tsize != 0) in main()
897 fetapes = (double)(esize + ntrec) / (double)tsize; in main()
906 if (tsize != 0) in main()
914 * (1.0 / tsize); /* tape / 0.1" */ in main()
923 if (tsize != 0) in main()
[all …]
/titanic_41/usr/src/cmd/sgs/libld/common/
H A Dutil.c117 size_t tsize = (size_t)S_ROUND((asize + hsize), HEAPALIGN); in libld_malloc() local
122 if (tsize < HEAPBLOCK) in libld_malloc()
123 tsize = HEAPBLOCK; in libld_malloc()
125 if ((nhp = dz_map(tsize)) == MAP_FAILED) in libld_malloc()
130 nhp->lh_end = (void *)((size_t)nhp + tsize); in libld_malloc()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/tftp/
H A Dtftp.c92 static off_t tsize; variable
136 tsize = statb.st_size; in tftp_sendfile()
263 tsize = 0; in tftp_recvfile()
473 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize); in tsize_str()
548 if (tsize == 0) in tsize_handler()
549 tsize = value; in tsize_handler()
/titanic_41/usr/src/lib/libcurses/screen/
H A Dsetcurscreen.c64 TABSIZE = SP->tsize; in setcurscreen()
H A Dnewscreen.c197 SP->tsize = (short)tabsize; in newscreen()
293 TABSIZE = SP->tsize; in newscreen()
/titanic_41/usr/src/lib/libnisdb/
H A Ddb_index_c.x129 % void stats( long* tsize, long* tcount);
H A Ddb_index.cc370 db_index::stats(long *tsize, long *tcount) in stats() argument
373 *tsize = table_size; in stats()
/titanic_41/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()
/titanic_41/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)
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_tdaemon.c620 long tsize; in _sd_test_init() member
627 dev_tsize[uap->ar] = (uap->tsize < 48) ? 48 : uap->tsize; in _sd_test_init()
634 int cd, tsize; member
/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_internal.c1186 ssize_t tsize; in load_instance() local
1234 tsize = scf_limit(SCF_LIMIT_MAX_PG_TYPE_LENGTH); in load_instance()
1235 type = uu_zalloc(tsize); in load_instance()
1263 if (scf_pg_get_type(load_pgroup, type, tsize) <= 0) { in load_instance()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c103 static off_t tsize; variable
648 tsize = value; in tsize_handler()
651 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize); in tsize_handler()
877 tsize = statb.st_size; in tftp()
/titanic_41/usr/src/lib/libc/port/print/
H A Ddoprnt.c322 size_t tsize; in put_wide() local
324 tsize = (n + 1) * MB_LEN_MAX; in put_wide()
325 tmpp = lmalloc(tsize); in put_wide()
335 lfree(tmpp, tsize); in put_wide()
346 lfree(tmpp, tsize); in put_wide()
353 lfree(tmpp, tsize); in put_wide()
/titanic_41/usr/src/uts/common/io/hxge/
H A Dhxge_txdma.c137 size_t tsize; in hxge_setup_dma_common() local
139 tsize = size * entries; in hxge_setup_dma_common()
140 dest_p->alength = tsize; in hxge_setup_dma_common()
143 dest_p->offset += tsize; in hxge_setup_dma_common()
145 src_p->kaddrp = (caddr_t)dest_p->kaddrp + tsize; in hxge_setup_dma_common()
146 src_p->alength -= tsize; in hxge_setup_dma_common()
147 src_p->dma_cookie.dmac_laddress += tsize; in hxge_setup_dma_common()
148 src_p->dma_cookie.dmac_size -= tsize; in hxge_setup_dma_common()

12