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
67 rsize = tsize = sz = off = 0; in main()
140 tsize = sb.st_size; in main()
144 tsize = sz; in main()
175 tsize = oflow; in main()
192 tsize = (round < 0 ? 0 : round) * sz; in main()
194 tsize = sb.st_size; in main()
196 if (tsize < 0) in main()
197 tsize = 0; in main()
207 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/openssl/crypto/chacha/asm/
H A Dchacha-armv8-sve.pl891 my %tsize = (
988 my $esize = (8<<$tsize{$isize});
999 my $esize = (8<<$tsize{$isize});
1013 return &verify_inst($opcode_unpred{$mnemonic}|$1|($3<<5)|($tsize{$2}<<22)|($4<<16),
1022 && ((8<<$tsize{$isize}) > $2)) {
1027 … return &verify_inst($opcode_unpred{$mnemonic}|$regd|($tsize{$isize}<<22)|($1<<5)|($2<<16), $inst);
1029 …return &verify_inst($opcode_imm_unpred{$mnemonic}|$regd|($tsize{$isize}<<22)|($1<<5)|($2<<16), $in…
1031 return &verify_inst($opcode_unpred{$mnemonic}|$regd|($tsize{$isize}<<22)|($1<<5), $inst);
1035 $encoded_size = ($tsize{$isize}<<22);
1045 return &verify_inst($opcode_imm_unpred{$mnemonic}|$1|($3<<5)|($tsize{$2}<<22),
[all …]
/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.h753 raidz_syn_r_abd(void **xc, const void *dc, const size_t tsize, in raidz_syn_r_abd() argument
759 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_syn_r_abd()
848 raidz_syn_pq_abd(void **tc, const void *dc, const size_t tsize, in raidz_syn_pq_abd() argument
855 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pq_abd()
880 raidz_rec_pq_abd(void **tc, const size_t tsize, void **c, in raidz_rec_pq_abd() argument
885 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pq_abd()
1009 raidz_syn_pr_abd(void **c, const void *dc, const size_t tsize, in raidz_syn_pr_abd() argument
1016 const v_t * const yend = y + (tsize / sizeof (v_t)); in raidz_syn_pr_abd()
1041 raidz_rec_pr_abd(void **t, const size_t tsize, void **c, in raidz_rec_pr_abd() argument
1046 const v_t * const xend = x + (tsize / sizeof (v_t)); in raidz_rec_pr_abd()
[all …]
H A Dabd.c1146 size_t tsize, const unsigned parity, in abd_raidz_rec_iterate() argument
1147 void (*func_raidz_rec)(void **t, const size_t tsize, void **c, in abd_raidz_rec_iterate() argument
1165 ASSERT3U(tsize, <=, cabds[i]->abd_size); in abd_raidz_rec_iterate()
1166 ASSERT3U(tsize, <=, tabds[i]->abd_size); in abd_raidz_rec_iterate()
1174 while (tsize > 0) { in abd_raidz_rec_iterate()
1175 len = tsize; in abd_raidz_rec_iterate()
1208 tsize -= len; in abd_raidz_rec_iterate()
1209 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.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.h133 size_t tsize, const unsigned parity,
134 void (*func_raidz_rec)(void **t, const size_t tsize, void **c,
/freebsd/sys/kern/
H A Dvfs_cluster.c346 long tinc, tsize; in cluster_rbuild() local
448 tsize = size; in cluster_rbuild()
449 for (j = 0; tsize > 0; j++) { in cluster_rbuild()
451 tinc = tsize; in cluster_rbuild()
463 tsize -= tinc; in cluster_rbuild()
465 if (tsize > 0) { in cluster_rbuild()
/freebsd/usr.bin/tcopy/
H A Dtcopy.cc502 static uint64_t lastrec, fsize, tsize; variable
512 uintmax_t tot = tsize + fsize; in report_total()
623 tsize += fsize; in progress()
672 tsize = 0; in verify()
/freebsd/stand/libsa/
H A Dtftp.c843 int tsize = 0; in tftp_parse_oack() local
873 tsize = strtol(tftp_options[i + 1], NULL, 10); in tftp_parse_oack()
874 if (tsize != 0) in tftp_parse_oack()
875 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.c2698 tsize2size(unsigned int tsize) in tsize2size() argument
2706 return ((1 << (2 * tsize)) * 1024); in tsize2size()
2731 int tsize, index; in tlb1_set_entry() local
2745 tsize = size2tsize(size); in tlb1_set_entry()
2755 e.mas1 |= ((tsize << MAS1_TSIZE_SHIFT) & MAS1_TSIZE_MASK); in tlb1_set_entry()
3040 unsigned int tsize; in tlb_print_entry() local
3056 tsize = (mas1 & MAS1_TSIZE_MASK) >> MAS1_TSIZE_SHIFT; in tlb_print_entry()
3058 if (tsize) in tlb_print_entry()
3059 size = tsize2size(tsize); in tlb_print_entry()
3064 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/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

12