Home
last modified time | relevance | path

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

12

/titanic_51/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_51/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]; t in printlin()
[all...]
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_51/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_51/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()
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()
/titanic_51/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()
531 * if 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()
552 /* don't expand into inline code if tsize < inlinelen */ in inline_struct()
558 expand_inline(indent, sizestr, tsize, fla in inline_struct()
569 int tsize = 0; check_inline() local
[all...]
/titanic_51/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_51/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_51/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 ! in main()
[all...]
/titanic_51/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_51/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; in tftp_sendfile()
263 tsize = 0; in tftp_recvfile()
465 * Return the tsize option value string to include in the request packet.
473 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize); in tsize_str()
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 in tsize_handler()
548 if (tsize == 0) in tsize_handler()
549 tsize in tsize_handler()
[all...]
/titanic_51/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_51/usr/src/boot/sys/boot/common/
H A Dmultiboot2.c1019 uint32_t tsize; in multiboot2_exec() local
1022 tsize = sizeof (*otag) + sizeof (ACPI_RSDP_COMMON); in multiboot2_exec()
1023 otag = (multiboot_tag_old_acpi_t *)mb_malloc(tsize); in multiboot2_exec()
1025 otag->mb_size = tsize; in multiboot2_exec()
1028 tsize = sizeof (*ntag) + rsdp->Length; in multiboot2_exec()
1029 ntag = (multiboot_tag_new_acpi_t *)mb_malloc(tsize); in multiboot2_exec()
1031 ntag->mb_size = tsize; in multiboot2_exec()
/titanic_51/usr/src/lib/libnisdb/
H A Ddb_index_c.x132 %/* Return in 'tsize' the table_size, and 'tcount' the number of entries
134 % void stats( long* tsize, long* tcount);
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) in stats() argument
373 *tsize = table_size; in stats()
/titanic_51/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_51/usr/src/boot/lib/libstand/
H A Dtftp.c321 bcopy("tsize", wtail, 6); in tftp_makereq()
730 int tsize = 0; in tftp_parse_oack() local
751 * * "tsize" is specified in RFC2349. in tftp_parse_oack()
758 } else if (strcasecmp(tftp_options[i], "tsize") == 0) { in tftp_parse_oack()
760 tsize = strtol(tftp_options[i + 1], (char **)NULL, 10); in tftp_parse_oack()
761 if (tsize != 0) in tftp_parse_oack()
762 h->tftp_tsize = tsize; in tftp_parse_oack()
/titanic_51/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);
/titanic_51/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_51/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_51/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_51/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.tftpd.c103 static off_t tsize; variable
170 { "tsize", tsize_handler },
620 * Return the tsize option value string to include in the OACK reply.
638 * The tsize value should be 0 for a read request, but to in tsize_handler()
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_51/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()

12