Home
last modified time | relevance | path

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

12

/freebsd-13.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-13.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-13.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-13.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-13.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-13.1/sys/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math_impl.h732 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_r_abd()
828 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pq_abd()
858 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pq_abd()
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()
1149 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_qr_abd()
1178 raidz_rec_qr_abd(void **t, const size_t tsize, void **c, in raidz_rec_qr_abd() argument
1183 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_qr_abd()
1318 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pqr_abd()
[all …]
H A Dabd.c1132 ssize_t tsize, const unsigned parity, in abd_raidz_rec_iterate() argument
1133 void (*func_raidz_rec)(void **t, const size_t tsize, void **c, in abd_raidz_rec_iterate() argument
1160 while (tsize > 0) { in abd_raidz_rec_iterate()
1177 len = tsize; in abd_raidz_rec_iterate()
1212 tsize -= len; in abd_raidz_rec_iterate()
1213 ASSERT3S(tsize, >=, 0); in abd_raidz_rec_iterate()
/freebsd-13.1/sbin/dump/
H A Dmain.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()
H A Ddump.h72 extern long tsize; /* tape size in 0.1" units */
/freebsd-13.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-13.1/usr.sbin/config/
H A Dmain.c603 size_t tsize; in moveifchanged() local
624 tsize = (size_t)from_sb.st_size; in moveifchanged()
627 p = mmap(NULL, tsize, PROT_READ, MAP_SHARED, from_fd, (off_t)0); in moveifchanged()
630 q = mmap(NULL, tsize, PROT_READ, MAP_SHARED, to_fd, (off_t)0); in moveifchanged()
634 changed = memcmp(p, q, tsize); in moveifchanged()
635 munmap(p, tsize); in moveifchanged()
636 munmap(q, tsize); in moveifchanged()
/freebsd-13.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-13.1/sys/contrib/openzfs/include/sys/
H A Dabd.h134 ssize_t tsize, const unsigned parity,
135 void (*func_raidz_rec)(void **t, const size_t tsize, void **c,
/freebsd-13.1/sys/kern/
H A Dvfs_cluster.c349 long tinc, tsize; in cluster_rbuild() local
451 tsize = size; in cluster_rbuild()
452 for (j = 0; tsize > 0; j++) { in cluster_rbuild()
454 tinc = tsize; in cluster_rbuild()
466 tsize -= tinc; in cluster_rbuild()
468 if (tsize > 0) { in cluster_rbuild()
/freebsd-13.1/stand/libsa/
H A Dtftp.c772 int tsize = 0; in tftp_parse_oack() local
802 tsize = strtol(tftp_options[i + 1], NULL, 10); in tftp_parse_oack()
803 if (tsize != 0) in tftp_parse_oack()
804 h->tftp_tsize = tsize; in tftp_parse_oack()
/freebsd-13.1/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-13.1/sys/powerpc/booke/
H A Dpmap.c2688 tsize2size(unsigned int tsize) in tsize2size() argument
2696 return ((1 << (2 * tsize)) * 1024); in tsize2size()
2721 int tsize, index; in tlb1_set_entry() local
2735 tsize = size2tsize(size); in tlb1_set_entry()
2745 e.mas1 |= ((tsize << MAS1_TSIZE_SHIFT) & MAS1_TSIZE_MASK); in tlb1_set_entry()
3030 unsigned int tsize; in tlb_print_entry() local
3046 tsize = (mas1 & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT; in tlb_print_entry()
3048 if (tsize) in tlb_print_entry()
3049 size = tsize2size(tsize); in tlb_print_entry()
3054 i, desc, as, (uintmax_t)size, tsize, tid, mas1, mas2, mas3, mas7); in tlb_print_entry()
/freebsd-13.1/usr.bin/xinstall/
H A Dxinstall.c1154 create_tempfile(const char *path, char *temp, size_t tsize) in create_tempfile() argument
1158 (void)strncpy(temp, path, tsize); in create_tempfile()
1159 temp[tsize - 1] = '\0'; in create_tempfile()
1164 (void)strncpy(p, "INS@XXXXXX", &temp[tsize - 1] - p); in create_tempfile()
1165 temp[tsize - 1] = '\0'; in create_tempfile()
/freebsd-13.1/lib/libc/rpc/
H A Drpcb_clnt.c431 size_t tsize; in local_rpcb() local
450 tsize = __rpc_get_t_size(AF_LOCAL, 0, 0); in local_rpcb()
452 (rpcvers_t)RPCBVERS, tsize, tsize); in local_rpcb()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-dfa.h398 …uint64_t tsize : 8; /**< tsize*256 is the number of terminal nodes for GRAPH_T… member
752 command.s.tsize = (graph->num_terminal_nodes + 255) / 256; in cvmx_dfa_submit()
/freebsd-13.1/sys/rpc/
H A Drpcb_clnt.c443 size_t tsize; in local_rpcb() local
462 tsize = __rpc_get_t_size(AF_LOCAL, 0, 0); in local_rpcb()
464 (rpcvers_t)RPCBVERS, tsize, tsize, 1); in local_rpcb()
/freebsd-13.1/sys/fs/smbfs/
H A Dsmbfs_vnops.c305 u_quad_t tsize = 0; local
353 tsize = np->n_size;
368 np->n_size = tsize;
369 vnode_pager_setsize(vp, (u_long)tsize);
/freebsd-13.1/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-13.1/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()

12