Home
last modified time | relevance | path

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

12

/freebsd-14-stable/usr.bin/truncate/
HDtruncate.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-14-stable/contrib/sendmail/libsm/
HDfvwrite.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-14-stable/tests/sys/geom/class/concat/
HD2_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-14-stable/tests/sys/geom/class/stripe/
HD2_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-14-stable/crypto/heimdal/lib/gssapi/krb5/
HDprf.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-14-stable/sys/contrib/openzfs/module/zfs/
HDvdev_raidz_math_impl.h726 raidz_syn_r_abd(void **xc, const void *dc, const size_t tsize, in raidz_syn_r_abd() argument
732 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_r_abd()
821 raidz_syn_pq_abd(void **tc, const void *dc, const size_t tsize, in raidz_syn_pq_abd() argument
828 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pq_abd()
853 raidz_rec_pq_abd(void **tc, const size_t tsize, void **c, in raidz_rec_pq_abd() argument
858 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pq_abd()
982 raidz_syn_pr_abd(void **c, const void *dc, const size_t tsize, in raidz_syn_pr_abd() argument
989 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pr_abd()
1014 raidz_rec_pr_abd(void **t, const size_t tsize, void **c, in raidz_rec_pr_abd() argument
1019 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pr_abd()
[all …]
HDabd.c1153 ssize_t tsize, const unsigned parity, in abd_raidz_rec_iterate() argument
1154 void (*func_raidz_rec)(void **t, const size_t tsize, void **c, in abd_raidz_rec_iterate() argument
1172 ASSERT3U(tsize, <=, cabds[i]->abd_size); in abd_raidz_rec_iterate()
1173 ASSERT3U(tsize, <=, tabds[i]->abd_size); in abd_raidz_rec_iterate()
1181 while (tsize > 0) { in abd_raidz_rec_iterate()
1182 len = tsize; in abd_raidz_rec_iterate()
1215 tsize -= len; in abd_raidz_rec_iterate()
1216 ASSERT3S(tsize, >=, 0); in abd_raidz_rec_iterate()
/freebsd-14-stable/sbin/dump/
HDmain.c89 long tsize; /* tape size in 0.1" units */ variable
133 tsize = 0; /* Default later, based on 'c' option for cart tapes */ in main()
228 tsize = numarg("tape size", 1L, 0L) * 12 * 10; in main()
304 if (tsize == 0) in main()
305 tsize = cartridge ? 1700L*120L : 2300L*120L; in main()
517 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
530 ) * (1.0 / tsize ); /* tape / 0.1" " */ in main()
HDdump.h70 extern long tsize; /* tape size in 0.1" units */
/freebsd-14-stable/usr.bin/tcopy/
HDtcopy.c64 static uint64_t lastrec, record, size, tsize; variable
211 tsize += size; in main()
217 fprintf(msg, "total length: %ju bytes\n", (intmax_t)tsize); in main()
294 fprintf(msg, "total length: %ju bytes\n", (uintmax_t)(tsize + size)); in intr()
/freebsd-14-stable/usr.sbin/config/
HDmain.cc594 size_t tsize; in moveifchanged() local
618 tsize = (size_t)from_sb.st_size; in moveifchanged()
620 p = (char *)mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, in moveifchanged()
624 q = (char *)mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, in moveifchanged()
629 changed = memcmp(p, q, tsize); in moveifchanged()
630 munmap(p, tsize); in moveifchanged()
631 munmap(q, tsize); in moveifchanged()
/freebsd-14-stable/sys/netsmb/
HDsmb_smb.c821 int tsize, len, resid; in smb_read() local
824 tsize = uio->uio_resid; in smb_read()
825 while (tsize > 0) { in smb_read()
827 len = tsize; in smb_read()
831 tsize -= resid; in smb_read()
896 int error = 0, len, tsize, resid; in smb_write() local
899 tsize = uio->uio_resid; in smb_write()
901 while (tsize > 0) { in smb_write()
903 len = tsize; in smb_write()
911 tsize -= resid; in smb_write()
/freebsd-14-stable/sys/contrib/openzfs/include/sys/
HDabd.h130 ssize_t tsize, const unsigned parity,
131 void (*func_raidz_rec)(void **t, const size_t tsize, void **c,
/freebsd-14-stable/sys/kern/
HDvfs_cluster.c347 long tinc, tsize; in cluster_rbuild() local
449 tsize = size; in cluster_rbuild()
450 for (j = 0; tsize > 0; j++) { in cluster_rbuild()
452 tinc = tsize; in cluster_rbuild()
464 tsize -= tinc; in cluster_rbuild()
466 if (tsize > 0) { in cluster_rbuild()
/freebsd-14-stable/stand/libsa/
HDtftp.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-14-stable/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
HDRegisterContextLinux_i386.cpp64 uint32_t tsize; // Text segment size. member
HDRegisterContextLinux_x86_64.cpp57 uint64_t tsize; // Text segment size. member
/freebsd-14-stable/sys/powerpc/booke/
HDpmap.c2689 tsize2size(unsigned int tsize) in tsize2size() argument
2697 return ((1 << (2 * tsize)) * 1024); in tsize2size()
2722 int tsize, index; in tlb1_set_entry() local
2736 tsize = size2tsize(size); in tlb1_set_entry()
2746 e.mas1 |= ((tsize << MAS1_TSIZE_SHIFT) & MAS1_TSIZE_MASK); in tlb1_set_entry()
3031 unsigned int tsize; in tlb_print_entry() local
3047 tsize = (mas1 & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT; in tlb_print_entry()
3049 if (tsize) in tlb_print_entry()
3050 size = tsize2size(tsize); in tlb_print_entry()
3055 i, desc, as, (uintmax_t)size, tsize, tid, mas1, mas2, mas3, mas7); in tlb_print_entry()
/freebsd-14-stable/usr.bin/xinstall/
HDxinstall.c1170 create_tempfile(const char *path, char *temp, size_t tsize) in create_tempfile() argument
1174 (void)strncpy(temp, path, tsize); in create_tempfile()
1175 temp[tsize - 1] = '\0'; in create_tempfile()
1180 (void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p); in create_tempfile()
1181 temp[tsize - 1] = '\0'; in create_tempfile()
/freebsd-14-stable/lib/libc/rpc/
HDrpcb_clnt.c428 size_t tsize; in local_rpcb() local
447 tsize = __rpc_get_t_size(AF_LOCAL, 0, 0); in local_rpcb()
449 (rpcvers_t)RPCBVERS, tsize, tsize); in local_rpcb()
/freebsd-14-stable/sys/rpc/
HDrpcb_clnt.c441 size_t tsize; in local_rpcb() local
460 tsize = __rpc_get_t_size(AF_LOCAL, 0, 0); in local_rpcb()
462 (rpcvers_t)RPCBVERS, tsize, tsize, 1); in local_rpcb()
/freebsd-14-stable/sys/fs/smbfs/
HDsmbfs_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-14-stable/contrib/tcsh/
HDtc.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-14-stable/contrib/llvm-project/openmp/runtime/src/
HDkmp_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-14-stable/sys/fs/nfsclient/
HDnfs_clbio.c1809 u_quad_t tsize; in ncl_meta_setsize() local
1814 tsize = np->n_size; in ncl_meta_setsize()
1818 if (nsize < tsize) { in ncl_meta_setsize()

12