Home
last modified time | relevance | path

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

123

/freebsd-12.1/usr.bin/truncate/
H A Dtruncate.c52 off_t oflow, rsize, sz, tsize, round; in main() local
63 rsize = tsize = sz = 0; in main()
110 tsize = sb.st_size; in main()
114 tsize = sz; in main()
145 tsize = oflow; in main()
162 tsize = (round < 0 ? 0 : round) * sz; in main()
164 tsize = sb.st_size; in main()
166 if (tsize < 0) in main()
167 tsize = 0; in main()
169 if (ftruncate(fd, tsize) == -1) { in main()
/freebsd-12.1/contrib/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;
/freebsd-12.1/tests/sys/geom/class/concat/
H A D2_test.sh8 tsize=6
16 dd if=/dev/random of=${src} bs=1m count=$tsize >/dev/null 2>&1
21 dd if=${src} of=/dev/concat/${name} bs=1m count=$tsize >/dev/null 2>&1
22 dd if=/dev/concat/${name} of=${dst} bs=1m count=$tsize >/dev/null 2>&1
/freebsd-12.1/tests/sys/geom/class/stripe/
H A D2_test.sh8 tsize=3
12 dd if=/dev/random of=${src} bs=1m count=$tsize >/dev/null 2>&1
21 dd if=${src} of=/dev/stripe/${name} bs=1m count=$tsize >/dev/null 2>&1
22 dd if=/dev/stripe/${name} of=${dst} bs=1m count=$tsize >/dev/null 2>&1
/freebsd-12.1/crypto/heimdal/lib/gssapi/krb5/
H A Dprf.c120 size_t tsize; in _gsskrb5_pseudo_random() local
134 tsize = min(dol, output.length); in _gsskrb5_pseudo_random()
135 memcpy(p, output.data, tsize); in _gsskrb5_pseudo_random()
136 p += tsize; in _gsskrb5_pseudo_random()
137 dol -= tsize; in _gsskrb5_pseudo_random()
/freebsd-12.1/usr.bin/tcopy/
H A Dtcopy.c66 static uint64_t lastrec, record, size, tsize; variable
208 tsize += size; in main()
214 fprintf(msg, "total length: %ju bytes\n", (intmax_t)tsize); in main()
291 fprintf(msg, "total length: %ju bytes\n", (uintmax_t)(tsize + size)); in intr()
/freebsd-12.1/usr.sbin/config/
H A Dmain.c566 size_t tsize; in moveifchanged() local
587 tsize = (size_t)from_sb.st_size; in moveifchanged()
590 p = mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, (off_t)0); in moveifchanged()
593 q = mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, (off_t)0); in moveifchanged()
597 changed = memcmp(p, q, tsize); in moveifchanged()
598 munmap(p, tsize); in moveifchanged()
599 munmap(q, tsize); in moveifchanged()
/freebsd-12.1/sbin/dump/
H A Dmain.c110 tsize = 0; /* Default later, based on 'c' option for cart tapes */ in main()
206 tsize = numarg("tape size", 1L, 0L) * 12 * 10; in main()
282 if (tsize == 0) in main()
283 tsize = cartridge ? 1700L*120L : 2300L*120L; in main()
495 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
508 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
H A Ddump.h74 long tsize; /* tape size in 0.1" units */ variable
/freebsd-12.1/sys/netsmb/
H A Dsmb_smb.c825 int tsize, len, resid; in smb_read() local
828 tsize = uio->uio_resid; in smb_read()
829 while (tsize > 0) { in smb_read()
831 len = tsize; in smb_read()
835 tsize -= resid; in smb_read()
900 int error = 0, len, tsize, resid; in smb_write() local
903 tsize = uio->uio_resid; in smb_write()
905 while (tsize > 0) { in smb_write()
907 len = tsize; in smb_write()
915 tsize -= resid; in smb_write()
/freebsd-12.1/contrib/binutils/include/coff/
H A Dexternal.h47 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
63 char tsize[4]; /* Text size in bytes, padded to FW bdry*/ member
H A Dia64.h46 char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
H A Drs6k64.h60 unsigned char tsize[8]; /* text size bytes, padded to FW bdry */ member
H A Drs6000.h38 unsigned char tsize[4]; /* text size in bytes, padded to FW bdry */ member
H A Dmips.h40 unsigned char tsize[4]; /* text size in bytes, padded to FW bdry*/ member
/freebsd-12.1/sys/kern/
H A Dvfs_cluster.c346 long tinc, tsize; in cluster_rbuild() local
451 tsize = size; in cluster_rbuild()
453 for (j = 0; tsize > 0; j++) { in cluster_rbuild()
455 tinc = tsize; in cluster_rbuild()
467 tsize -= tinc; in cluster_rbuild()
469 if (tsize > 0) { in cluster_rbuild()
/freebsd-12.1/stand/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()
/freebsd-12.1/sys/i386/ibcs2/
H A Dcoff.h60 long tsize; /* */ member
/freebsd-12.1/contrib/binutils/include/aout/
H A Dencap.h56 long tsize; member
/freebsd-12.1/contrib/binutils/bfd/
H A DpeXXigen.c399 aouthdr_int->tsize = GET_AOUTHDR_TSIZE (abfd, aouthdr_ext->tsize); in _bfd_XXi_swap_aouthdr_in()
415 a->SizeOfCode = aouthdr_int->tsize ; in _bfd_XXi_swap_aouthdr_in()
486 if (aouthdr_int->tsize) in _bfd_XXi_swap_aouthdr_in()
571 if (aouthdr_in->tsize) in _bfd_XXi_swap_aouthdr_out()
641 bfd_vma tsize = 0; in _bfd_XXi_swap_aouthdr_out() local
654 tsize += rounded; in _bfd_XXi_swap_aouthdr_out()
672 aouthdr_in->tsize = tsize; in _bfd_XXi_swap_aouthdr_out()
686 PUT_AOUTHDR_TSIZE (abfd, aouthdr_in->tsize, aouthdr_out->standard.tsize); in _bfd_XXi_swap_aouthdr_out()
/freebsd-12.1/contrib/amd/conf/nfs_prot/
H A Dnfs_prot_freebsd2.h101 #define sfrok_tsize tsize
H A Dnfs_prot_freebsd3.h139 #define sfrok_tsize tsize
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DRegisterContextLinux_i386.cpp65 uint32_t tsize; // Text segment size. member
/freebsd-12.1/usr.bin/xinstall/
H A Dxinstall.c1132 create_tempfile(const char *path, char *temp, size_t tsize) in create_tempfile() argument
1136 (void)strncpy(temp, path, tsize); in create_tempfile()
1137 temp[tsize - 1] = '\0'; in create_tempfile()
1142 (void)strncpy(p, "INS@XXXX", &temp[tsize - 1] - p); in create_tempfile()
1143 temp[tsize - 1] = '\0'; in create_tempfile()
/freebsd-12.1/contrib/openmp/runtime/src/
H A Dkmp_alloc.cpp156 bufsize tsize; /* Total size, including overhead */ member
599 bdh->tsize = size; in bget()
651 rsize = bd->tsize - (bufsize)sizeof(bdhead_t); in bgetz()
687 osize = bd->tsize - (bufsize)sizeof(bdhead_t); in bgetr()
718 thr->totalloc -= (size_t)bdh->tsize; in brel()
723 (void)memset((char *)buf, 0x55, (size_t)(bdh->tsize - sizeof(bdhead_t))); in brel()

123