/freebsd/contrib/sendmail/libsm/ |
H A 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;
|
H A D | README | 118 does not return a value for st_blksize that is the 124 st_blksize that is the "optimal blocksize for I/O". 129 st_blksize that is the "optimal blocksize for I/O".
|
/freebsd/lib/libc/stdio/ |
H A D | makebuf.c | 98 if (st.st_blksize <= 0) { in __swhatbuf() 108 *bufsize = st.st_blksize; in __swhatbuf() 109 fp->_blksize = st.st_blksize; in __swhatbuf()
|
/freebsd/sys/sys/ |
H A D | stat.h | 114 __int32_t st_blksize; /* optimal blocksize for I/O */ member 135 blksize_t st_blksize; /* optimal blocksize for I/O */ member 185 blksize_t st_blksize; /* optimal blocksize for I/O */ member 206 blksize_t st_blksize; /* optimal blocksize for I/O */ 205 blksize_t st_blksize; /* optimal blocksize for I/O */ global() member
|
/freebsd/sys/compat/linux/ |
H A D | linux_stats.c | 160 tbuf.st_blksize = buf->st_blksize; in newstat_copyout() 235 lbuf.st_blksize = buf->st_blksize; in old_stat_copyout() 535 lbuf.st_blksize = buf->st_blksize; in stat64_copyout() 676 tbuf.stx_blksize = buf->st_blksize; in statx_copyout()
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32.h | 181 blksize_t st_blksize; /* optimal blocksize for I/O */ member 240 uint32_t st_blksize; member 259 uint32_t st_blksize; 280 __int32_t st_blksize; 258 uint32_t st_blksize; global() member 279 __int32_t st_blksize; global() member
|
/freebsd/bin/pax/ |
H A D | buf_subs.c | 675 if (sb.st_blksize > 0) in rd_wrfile() 676 sz = (int)sb.st_blksize; in rd_wrfile() 770 if (sb.st_blksize > 0) in cp_file() 771 sz = sb.st_blksize; in cp_file()
|
H A D | ar_io.c | 238 if ((arsb.st_blksize > 0) && (arsb.st_blksize < MAXBLK) && in ar_open() 239 ((arsb.st_blksize % BLKMULT) == 0)) in ar_open() 240 rdblksz = arsb.st_blksize; in ar_open() 753 if (((fsbz = arsb.st_blksize) <= 0) || (artyp != ISREG)) in ar_rdsync()
|
/freebsd/sys/i386/linux/ |
H A D | linux.h | 164 l_ulong st_blksize; member 186 l_long st_blksize; member 203 l_ulong st_blksize; member
|
/freebsd/sys/amd64/linux32/ |
H A D | linux.h | 192 l_ulong st_blksize; member 214 l_long st_blksize; member 231 l_ulong st_blksize; member
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | mkfile.c | 206 if (bufsz != st.st_blksize) { in main() 209 bufsz = (size_t)st.st_blksize; in main()
|
/freebsd/stand/kboot/include/arch/powerpc64/ |
H A D | stat_arch.h | 20 host_blksize_t st_blksize; member
|
/freebsd/stand/kboot/include/arch/aarch64/ |
H A D | stat_arch.h | 21 host_blksize_t st_blksize; member
|
/freebsd/stand/kboot/include/arch/amd64/ |
H A D | stat_arch.h | 22 host_blksize_t st_blksize; member
|
/freebsd/crypto/heimdal/appl/ftp/common/ |
H A D | buffer.c | 54 new_sz = max(BUFSIZ, st->st_blksize); in alloc_buffer()
|
/freebsd/stand/kboot/kboot/ |
H A D | hostfs.c | 182 sb->st_blksize = ksb.st_blksize; in hostfs_readdir()
|
/freebsd/sbin/restore/ |
H A D | tape.c | 254 if (stbuf.st_blksize > 0 && stbuf.st_blksize < TP_BSIZE ) in setup() 256 if (stbuf.st_blksize >= TP_BSIZE && stbuf.st_blksize <= MAXBSIZE) in setup() 257 fssize = stbuf.st_blksize; in setup() 258 if (((TP_BSIZE - 1) & stbuf.st_blksize) != 0) { in setup() 260 "blocksize (%d);\n", TP_BSIZE, stbuf.st_blksize); in setup()
|
/freebsd/crypto/heimdal/appl/rcp/ |
H A D | util.c | 158 size = roundup(stb.st_blksize, blksize);
|
/freebsd/tools/test/stress2/misc/ |
H A D | kinfo2.sh | 127 if (space < sb.st_blksize)
|
/freebsd/sys/arm64/linux/ |
H A D | linux.h | 138 l_int st_blksize; member
|
/freebsd/tests/sys/aio/ |
H A D | aio_test.c | 1540 ATF_REQUIRE(sb.st_blksize != 0); in aio_fsync_test() 1541 ATF_REQUIRE(ftruncate(fd, sb.st_blksize * nitems(buffers)) == 0); in aio_fsync_test() 1552 buffers[i].buffer = malloc(sb.st_blksize); in aio_fsync_test() 1553 aio_fill_buffer(buffers[i].buffer, sb.st_blksize, random()); in aio_fsync_test() 1556 buffers[i].iocb.aio_nbytes = sb.st_blksize; in aio_fsync_test() 1557 buffers[i].iocb.aio_offset = sb.st_blksize * i; in aio_fsync_test() 1579 ATF_REQUIRE(rval == sb.st_blksize); in aio_fsync_test()
|
/freebsd/sys/fs/p9fs/ |
H A D | p9_protocol.h | 211 uint64_t st_blksize; /* blocksize for file system I/O */ member
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | getattr.cc | 166 EXPECT_EQ((blksize_t)PAGE_SIZE, sb.st_blksize); in TEST_F() 245 EXPECT_EQ((blksize_t)12345, sb.st_blksize); in TEST_F()
|
/freebsd/sys/amd64/linux/ |
H A D | linux.h | 143 l_long st_blksize; member
|
/freebsd/contrib/diff/src/ |
H A D | system.h | 134 # define STAT_BLOCKSIZE(s) ((s).st_blksize)
|