Home
last modified time | relevance | path

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

123

/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/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/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/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 Ddump.h135 extern ulong_t tsize; /* tape size in 0.1" units */
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 …]
H A Ddumptape.c2117 (!pipeout && tsize > 0 && asize > tsize)) { in dowrite()
/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/cmd/cmd-inet/usr.sbin/
H A Din.telnetd.c4595 int tsize; in drainstream() local
4597 tsize = netip - netibuf; in drainstream()
4599 if ((tsize + ncc + size) > netibufsize) { in drainstream()
4601 (unsigned)tsize + ncc + size))) in drainstream()
4603 netibufsize = tsize + ncc + size; in drainstream()
4605 netip = netibuf + tsize; in drainstream()
H A Din.tftpd.c104 static off_t tsize; variable
649 tsize = value; in tsize_handler()
652 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize); in tsize_handler()
878 tsize = statb.st_size; in tftp()
/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/cmd/fs.d/pcfs/mkfs/
H A Dmkfs.c1214 ulong_t tsize; in lookup_floppy() local
1222 tsize = cyls * hds * spt; in lookup_floppy()
1225 TotSize = tsize; in lookup_floppy()
1228 wbpb->bpb.sectors_in_logical_volume = tsize; in lookup_floppy()
1233 gettext("FDIOGCHAR call"), tsize, TotSize); in lookup_floppy()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c1790 size_t tsize, nsize, rem, offs, limit; in typegraph_pass2_node() local
1838 tsize = typegraph_size(type); in typegraph_pass2_node()
1847 if (tsize > nsize / 2) in typegraph_pass2_node()
1850 if ((rem = (nsize % tsize)) != 0) { in typegraph_pass2_node()
1903 for (offs = 0; offs < tsize; ) { in typegraph_pass2_node()
1912 addr += tsize) { in typegraph_pass2_node()
/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()
571 int tsize = 0; in check_inline() local
581 tsize = 0; in check_inline()
588 tsize += size; in check_inline()
[all …]
/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/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/sgs/libld/common/
H A Dsyms.c3112 size_t nsize, tsize; in ld_sym_process() local
3142 tsize = nsize + 1 + strlen(idstr) + 1; in ld_sym_process()
3143 if ((cname = libld_malloc(tsize)) == NULL) in ld_sym_process()
/illumos-gate/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()
/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/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);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dcdt.h166 ssize_t tsize[DT_MAXSIZE]; /* #tables by level */ member
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog4683 string, because the "tsize" option must be followed by zero,
/illumos-gate/usr/src/head/rpcsvc/
H A Dnfs_prot.x284 unsigned tsize; /* preferred transfer size in bytes */ member
/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()

123