Home
last modified time | relevance | path

Searched refs:tsize (Results 1 – 25 of 34) 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/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/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/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/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/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math_impl.h758 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_r_abd()
854 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pq_abd()
884 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pq_abd()
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()
1175 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_qr_abd()
1204 raidz_rec_qr_abd(void **t, const size_t tsize, void **c, in raidz_rec_qr_abd() argument
1209 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_qr_abd()
1344 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pqr_abd()
[all …]
H A Dabd.c1152 size_t tsize, const unsigned parity, in abd_raidz_rec_iterate() argument
1153 void (*func_raidz_rec)(void **t, const size_t tsize, void **c, in abd_raidz_rec_iterate() argument
1171 ASSERT3U(tsize, <=, cabds[i]->abd_size); in abd_raidz_rec_iterate()
1172 ASSERT3U(tsize, <=, tabds[i]->abd_size); in abd_raidz_rec_iterate()
1180 while (tsize > 0) { in abd_raidz_rec_iterate()
1181 len = tsize; in abd_raidz_rec_iterate()
1214 tsize -= len; in abd_raidz_rec_iterate()
1215 ASSERT3S(tsize, >=, 0); in abd_raidz_rec_iterate()
/freebsd/usr.bin/tcopy/
H A Dtcopy.c53 static uint64_t lastrec, record, size, tsize; variable
200 tsize += size; in main()
206 fprintf(msg, "total length: %ju bytes\n", (intmax_t)tsize); in main()
283 fprintf(msg, "total length: %ju bytes\n", (uintmax_t)(tsize + size)); in intr()
/freebsd/usr.sbin/config/
H A Dmain.cc582 size_t tsize; in moveifchanged() local
606 tsize = (size_t)from_sb.st_size; in moveifchanged()
608 p = (char *)mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, in moveifchanged()
612 q = (char *)mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, in moveifchanged()
617 changed = memcmp(p, q, tsize); in moveifchanged()
618 munmap(p, tsize); in moveifchanged()
619 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.h147 size_t tsize, const unsigned parity,
148 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/sys/powerpc/booke/
H A Dpmap.c2694 tsize2size(unsigned int tsize) in tsize2size() argument
2702 return ((1 << (2 * tsize)) * 1024); in tsize2size()
2727 int tsize, index; in tlb1_set_entry() local
2741 tsize = size2tsize(size); in tlb1_set_entry()
2751 e.mas1 |= ((tsize << MAS1_TSIZE_SHIFT) & MAS1_TSIZE_MASK); in tlb1_set_entry()
3036 unsigned int tsize; in tlb_print_entry() local
3052 tsize = (mas1 & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT; in tlb_print_entry()
3054 if (tsize) in tlb_print_entry()
3055 size = tsize2size(tsize); in tlb_print_entry()
3060 i, desc, as, (uintmax_t)size, tsize, tid, mas1, mas2, mas3, mas7); in tlb_print_entry()
/freebsd/usr.bin/xinstall/
H A Dxinstall.c1158 create_tempfile(const char *path, char *temp, size_t tsize) in create_tempfile() argument
1162 (void)strncpy(temp, path, tsize); in create_tempfile()
1163 temp[tsize - 1] = '\0'; in create_tempfile()
1168 (void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p); in create_tempfile()
1169 temp[tsize - 1] = '\0'; in create_tempfile()
/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() local
1811 tsize = np->n_size; in ncl_meta_setsize()
1815 if (nsize < tsize) { in ncl_meta_setsize()

12