Home
last modified time | relevance | path

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

12

/freebsd/usr.bin/truncate/
H A Dtruncate.c54 off_t oflow, rsize, sz, tsize, round, off, len; in main() local
68 rsize = tsize = sz = off = 0; in main()
141 tsize = sb.st_size; in main()
145 tsize = sz; in main()
176 tsize = oflow; in main()
193 tsize = (round < 0 ? 0 : round) * sz; in main()
195 tsize = sb.st_size; in main()
197 if (tsize < 0) in main()
198 tsize = 0; in main()
206 r = ftruncate(fd, tsize); in main()
/freebsd/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/tests/sys/geom/class/concat/
H A D2_test.sh7 tsize=6
15 dd if=/dev/random of=${src} bs=1m count=$tsize >/dev/null 2>&1
20 dd if=${src} of=/dev/concat/${name} bs=1m count=$tsize >/dev/null 2>&1
21 dd if=/dev/concat/${name} of=${dst} bs=1m count=$tsize >/dev/null 2>&1
/freebsd/tests/sys/geom/class/stripe/
H A D2_test.sh7 tsize=3
11 dd if=/dev/random of=${src} bs=1m count=$tsize >/dev/null 2>&1
20 dd if=${src} of=/dev/stripe/${name} bs=1m count=$tsize >/dev/null 2>&1
21 dd if=/dev/stripe/${name} of=${dst} bs=1m count=$tsize >/dev/null 2>&1
/freebsd/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/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math_impl.h752 raidz_syn_r_abd(void **xc, const void *dc, const size_t tsize, in raidz_syn_r_abd() argument
758 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_r_abd()
847 raidz_syn_pq_abd(void **tc, const void *dc, const size_t tsize, in raidz_syn_pq_abd() argument
854 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pq_abd()
879 raidz_rec_pq_abd(void **tc, const size_t tsize, void **c, in raidz_rec_pq_abd() argument
884 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pq_abd()
1008 raidz_syn_pr_abd(void **c, const void *dc, const size_t tsize, in raidz_syn_pr_abd() argument
1015 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pr_abd()
1040 raidz_rec_pr_abd(void **t, const size_t tsize, void **c, in raidz_rec_pr_abd() argument
1045 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pr_abd()
[all …]
H A Dabd.c1145 size_t tsize, const unsigned parity, in abd_raidz_rec_iterate() argument
1146 void (*func_raidz_rec)(void **t, const size_t tsize, void **c, in abd_raidz_rec_iterate() argument
1164 ASSERT3U(tsize, <=, cabds[i]->abd_size); in abd_raidz_rec_iterate()
1165 ASSERT3U(tsize, <=, tabds[i]->abd_size); in abd_raidz_rec_iterate()
1173 while (tsize > 0) { in abd_raidz_rec_iterate()
1174 len = tsize; in abd_raidz_rec_iterate()
1207 tsize -= len; in abd_raidz_rec_iterate()
1208 ASSERT3S(tsize, >=, 0); in abd_raidz_rec_iterate()
/freebsd/sbin/dump/
H A Dmain.c77 long tsize; /* tape size in 0.1" units */ variable
121 tsize = 0; /* Default later, based on 'c' option for cart tapes */ in main()
216 tsize = numarg("tape size", 1L, 0L) * 12 * 10; in main()
292 if (tsize == 0) in main()
293 tsize = cartridge ? 1700L*120L : 2300L*120L; in main()
505 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
518 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
H A Ddump.h68 extern long tsize; /* tape size in 0.1" units */
/freebsd/usr.bin/tcopy/
H A Dtcopy.c54 static uint64_t lastrec, record, size, tsize; variable
206 tsize += size; in main()
212 fprintf(msg, "total length: %ju bytes\n", (intmax_t)tsize); in main()
289 fprintf(msg, "total length: %ju bytes\n", (uintmax_t)(tsize + size)); in intr()
/freebsd/usr.sbin/config/
H A Dmain.cc587 size_t tsize; in moveifchanged() local
611 tsize = (size_t)from_sb.st_size; in moveifchanged()
613 p = (char *)mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, in moveifchanged()
617 q = (char *)mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, in moveifchanged()
622 changed = memcmp(p, q, tsize); in moveifchanged()
623 munmap(p, tsize); in moveifchanged()
624 munmap(q, tsize); in moveifchanged()
/freebsd/sys/netsmb/
H A Dsmb_smb.c820 int tsize, len, resid; in smb_read() local
823 tsize = uio->uio_resid; in smb_read()
824 while (tsize > 0) { in smb_read()
826 len = tsize; in smb_read()
830 tsize -= resid; in smb_read()
895 int error = 0, len, tsize, resid; in smb_write() local
898 tsize = uio->uio_resid; in smb_write()
900 while (tsize > 0) { in smb_write()
902 len = tsize; in smb_write()
910 tsize -= resid; in smb_write()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dabd.h132 size_t tsize, const unsigned parity,
133 void (*func_raidz_rec)(void **t, const size_t tsize, void **c,
/freebsd/sys/kern/
H A Dvfs_cluster.c344 long tinc, tsize; in cluster_rbuild() local
446 tsize = size; in cluster_rbuild()
447 for (j = 0; tsize > 0; j++) { in cluster_rbuild()
449 tinc = tsize; in cluster_rbuild()
461 tsize -= tinc; in cluster_rbuild()
463 if (tsize > 0) { in cluster_rbuild()
/freebsd/stand/libsa/
H A Dtftp.c771 int tsize = 0; in tftp_parse_oack() local
801 tsize = strtol(tftp_options[i + 1], NULL, 10); in tftp_parse_oack()
802 if (tsize != 0) in tftp_parse_oack()
803 h->tftp_tsize = tsize; in tftp_parse_oack()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DRegisterContextLinux_i386.cpp64 uint32_t tsize; // Text segment size. member
H A DRegisterContextLinux_x86_64.cpp57 uint64_t tsize; // Text segment size. member
/freebsd/usr.bin/xinstall/
H A Dxinstall.c1158 create_tempfile(const char *path, char *temp, size_t tsize) in compare()
1162 (void)strncpy(temp, path, tsize); in compare()
1163 temp[tsize - 1] = '\0'; in compare()
1168 (void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p); in compare()
1169 temp[tsize - 1] = '\0'; in compare()
1210 create_tempfile(const char * path,char * temp,size_t tsize) create_tempfile() argument
/freebsd/lib/libc/rpc/
H A Drpcb_clnt.c422 size_t tsize; in local_rpcb() local
441 tsize = __rpc_get_t_size(AF_LOCAL, 0, 0); in local_rpcb()
443 (rpcvers_t)RPCBVERS, tsize, tsize); in local_rpcb()
/freebsd/sys/rpc/
H A Drpcb_clnt.c435 size_t tsize; in local_rpcb() local
454 tsize = __rpc_get_t_size(AF_LOCAL, 0, 0); in local_rpcb()
456 (rpcvers_t)RPCBVERS, tsize, tsize, 1); in local_rpcb()
/freebsd/sys/fs/smbfs/
H A Dsmbfs_vnops.c274 u_quad_t tsize = 0; in smbfs_setattr() local
322 tsize = np->n_size; in smbfs_setattr()
337 np->n_size = tsize; in smbfs_setattr()
338 vnode_pager_setsize(vp, (u_long)tsize); in smbfs_setattr()
/freebsd/contrib/tcsh/
H A Dtc.func.c1450 static size_t tsize = TILINCR; variable
1568 if (tlength == tsize) { in gettilde()
1569 tsize += TILINCR; in gettilde()
1570 tcache = xrealloc(tcache, tsize * sizeof(struct tildecache)); in gettilde()
1595 tsize = TILINCR; in getusername()
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_alloc.cpp155 bufsize tsize; /* Total size, including overhead */ member
598 bdh->tsize = size; in bget()
650 rsize = bd->tsize - (bufsize)sizeof(bdhead_t); in bgetz()
686 osize = bd->tsize - (bufsize)sizeof(bdhead_t); in bgetr()
717 thr->totalloc -= (size_t)bdh->tsize; in brel()
722 (void)memset((char *)buf, 0x55, (size_t)(bdh->tsize - sizeof(bdhead_t))); in brel()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clbio.c1806 u_quad_t tsize; in ncl_meta_setsize()
1811 tsize = np->n_size; in ncl_meta_setsize()
1815 if (nsize < tsize) {
1777 u_quad_t tsize; ncl_meta_setsize() local
H A Dnfs_clvnops.c1052 u_quad_t tsize; in nfs_setattr() local
1056 tsize = (u_quad_t)0; in nfs_setattr()
1106 tsize = np->n_size; in nfs_setattr()
1111 tsize = np->n_size; in nfs_setattr()
1116 vnode_pager_setsize(vp, tsize); in nfs_setattr()
1156 np->n_size = np->n_vattr.na_size = tsize; in nfs_setattr()
1157 vnode_pager_setsize(vp, tsize); in nfs_setattr()

12