Home
last modified time | relevance | path

Searched refs:st_blksize (Results 1 – 25 of 68) sorted by relevance

123

/freebsd/contrib/sendmail/libsm/
H A Dmakebuf.c108 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 DREADME118 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 Dmakebuf.c98 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 Dstat.h114 __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 Dlinux_stats.c160 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 Dfreebsd32.h181 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 Dbuf_subs.c675 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 Dar_io.c238 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 Dlinux.h164 l_ulong st_blksize; member
186 l_long st_blksize; member
203 l_ulong st_blksize; member
/freebsd/sys/amd64/linux32/
H A Dlinux.h192 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 Dmkfile.c206 if (bufsz != st.st_blksize) { in main()
209 bufsz = (size_t)st.st_blksize; in main()
/freebsd/stand/kboot/include/arch/powerpc64/
H A Dstat_arch.h20 host_blksize_t st_blksize; member
/freebsd/stand/kboot/include/arch/aarch64/
H A Dstat_arch.h21 host_blksize_t st_blksize; member
/freebsd/stand/kboot/include/arch/amd64/
H A Dstat_arch.h22 host_blksize_t st_blksize; member
/freebsd/crypto/heimdal/appl/ftp/common/
H A Dbuffer.c54 new_sz = max(BUFSIZ, st->st_blksize); in alloc_buffer()
/freebsd/stand/kboot/kboot/
H A Dhostfs.c182 sb->st_blksize = ksb.st_blksize; in hostfs_readdir()
/freebsd/sbin/restore/
H A Dtape.c254 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 Dutil.c158 size = roundup(stb.st_blksize, blksize);
/freebsd/tools/test/stress2/misc/
H A Dkinfo2.sh127 if (space < sb.st_blksize)
/freebsd/sys/arm64/linux/
H A Dlinux.h138 l_int st_blksize; member
/freebsd/tests/sys/aio/
H A Daio_test.c1540 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 Dp9_protocol.h211 uint64_t st_blksize; /* blocksize for file system I/O */ member
/freebsd/tests/sys/fs/fusefs/
H A Dgetattr.cc166 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 Dlinux.h143 l_long st_blksize; member
/freebsd/contrib/diff/src/
H A Dsystem.h134 # define STAT_BLOCKSIZE(s) ((s).st_blksize)

123