| /freebsd-12-stable/contrib/sendmail/libsm/ |
| D | makebuf.c | 108 if (st.st_blksize == 0) 115 if (S_ISREG(st.st_mode) && st.st_blksize > SM_IO_MAX_BUF_FILE) 116 st.st_blksize = SM_IO_MAX_BUF_FILE; 123 if (st.st_blksize > SM_IO_MAX_BUF) 124 st.st_blksize = SM_IO_MAX_BUF; 130 if (st.st_blksize < SM_IO_MIN_BUF) 131 st.st_blksize = SM_IO_MIN_BUF; 144 *bufsize = st.st_blksize; 145 fp->f_blksize = st.st_blksize;
|
| D | README | 120 does not return a value for st_blksize that is the 126 st_blksize that is the "optimal blocksize for I/O". 131 st_blksize that is the "optimal blocksize for I/O".
|
| D | fseek.c | 206 fp->f_blksize = st.st_blksize;
|
| /freebsd-12-stable/lib/libc/stdio/ |
| D | makebuf.c | 104 if (st.st_blksize <= 0) { in __swhatbuf() 114 *bufsize = st.st_blksize; in __swhatbuf() 115 fp->_blksize = st.st_blksize; in __swhatbuf()
|
| D | fseek.c | 182 fp->_blksize = st.st_blksize; in _fseeko()
|
| /freebsd-12-stable/sys/sys/ |
| D | stat.h | 117 __int32_t st_blksize; /* optimal blocksize for I/O */ member 138 blksize_t st_blksize; /* optimal blocksize for I/O */ member 188 blksize_t st_blksize; /* optimal blocksize for I/O */ member 208 blksize_t st_blksize; /* optimal blocksize for I/O */ member
|
| /freebsd-12-stable/lib/libc/sys/ |
| D | compat-ino64.h | 68 sb->st_blksize = sb11->st_blksize; in __stat11_to_stat()
|
| /freebsd-12-stable/bin/pax/ |
| D | buf_subs.c | 683 if (sb.st_blksize > 0) in rd_wrfile() 684 sz = (int)sb.st_blksize; in rd_wrfile() 778 if (sb.st_blksize > 0) in cp_file() 779 sz = sb.st_blksize; in cp_file()
|
| D | ar_io.c | 246 if ((arsb.st_blksize > 0) && (arsb.st_blksize < MAXBLK) && in ar_open() 247 ((arsb.st_blksize % BLKMULT) == 0)) in ar_open() 248 rdblksz = arsb.st_blksize; in ar_open() 771 if (((fsbz = arsb.st_blksize) <= 0) || (artyp != ISREG)) in ar_rdsync()
|
| /freebsd-12-stable/sys/compat/linux/ |
| D | linux_stats.c | 199 tbuf.st_blksize = buf->st_blksize; in newstat_copyout() 274 lbuf.st_blksize = buf->st_blksize; in stat_copyout() 550 lbuf.st_blksize = buf->st_blksize; in stat64_copyout()
|
| /freebsd-12-stable/sys/compat/freebsd32/ |
| D | freebsd32.h | 194 u_int32_t st_blksize; member 212 u_int32_t st_blksize; member 233 __int32_t st_blksize; member
|
| /freebsd-12-stable/tests/sys/aio/ |
| D | aio_test.c | 1103 ATF_REQUIRE(sb.st_blksize != 0); in ATF_TC_BODY() 1104 ATF_REQUIRE(ftruncate(fd, sb.st_blksize * nitems(buffers)) == 0); in ATF_TC_BODY() 1115 buffers[i].buffer = malloc(sb.st_blksize); in ATF_TC_BODY() 1116 aio_fill_buffer(buffers[i].buffer, sb.st_blksize, random()); in ATF_TC_BODY() 1119 buffers[i].iocb.aio_nbytes = sb.st_blksize; in ATF_TC_BODY() 1120 buffers[i].iocb.aio_offset = sb.st_blksize * i; in ATF_TC_BODY() 1142 ATF_REQUIRE(rval == sb.st_blksize); in ATF_TC_BODY()
|
| /freebsd-12-stable/crypto/heimdal/appl/ftp/common/ |
| D | buffer.c | 54 new_sz = max(BUFSIZ, st->st_blksize); in alloc_buffer()
|
| /freebsd-12-stable/sbin/restore/ |
| D | tape.c | 262 if (stbuf.st_blksize > 0 && stbuf.st_blksize < TP_BSIZE ) in setup() 264 if (stbuf.st_blksize >= TP_BSIZE && stbuf.st_blksize <= MAXBSIZE) in setup() 265 fssize = stbuf.st_blksize; in setup() 266 if (((TP_BSIZE - 1) & stbuf.st_blksize) != 0) { in setup() 268 "blocksize (%d);\n", TP_BSIZE, stbuf.st_blksize); in setup()
|
| /freebsd-12-stable/sys/i386/linux/ |
| D | linux.h | 156 l_ulong st_blksize; member 177 l_long st_blksize; member 194 l_ulong st_blksize; member
|
| /freebsd-12-stable/sys/amd64/linux32/ |
| D | linux.h | 185 l_ulong st_blksize; member 206 l_long st_blksize; member 223 l_ulong st_blksize; member
|
| /freebsd-12-stable/crypto/heimdal/appl/rcp/ |
| D | util.c | 158 size = roundup(stb.st_blksize, blksize);
|
| /freebsd-12-stable/contrib/gdb/gdb/ |
| D | remote-fileio.c | 407 remote_fileio_to_fio_ulong ((LONGEST) st->st_blksize, fst->fst_blksize); in remote_fileio_to_fio_stat() 414 remote_fileio_to_fio_ulong (((LONGEST) st->st_size + st->st_blksize - 1) in remote_fileio_to_fio_stat() 415 / (LONGEST) st->st_blksize, in remote_fileio_to_fio_stat() 1136 st.st_blksize = 512; in remote_fileio_func_fstat()
|
| /freebsd-12-stable/tests/sys/fs/fusefs/ |
| D | getattr.cc | 168 EXPECT_EQ((blksize_t)PAGE_SIZE, sb.st_blksize); in TEST_F() 247 EXPECT_EQ((blksize_t)12345, sb.st_blksize); in TEST_F()
|
| /freebsd-12-stable/contrib/diff/src/ |
| D | system.h | 134 # define STAT_BLOCKSIZE(s) ((s).st_blksize)
|
| /freebsd-12-stable/sys/arm64/linux/ |
| D | linux.h | 131 l_int st_blksize; member
|
| /freebsd-12-stable/stand/ficl/ |
| D | loader.c | 627 blksz = (sb.st_blksize) ? sb.st_blksize : getpagesize(); in pfreaddir()
|
| /freebsd-12-stable/bin/cat/ |
| D | cat.c | 320 bsize = sbuf.st_blksize; in raw_cat()
|
| /freebsd-12-stable/sys/amd64/linux/ |
| D | linux.h | 141 l_long st_blksize; member
|
| /freebsd-12-stable/usr.bin/stat/ |
| D | stat.c | 789 small = (sizeof(st->st_blksize) == 4); in format1() 790 data = st->st_blksize; in format1()
|