Home
last modified time | relevance | path

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

123

/freebsd-14-stable/contrib/sendmail/libsm/
HDmakebuf.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;
HDREADME118 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".
HDfseek.c206 fp->f_blksize = st.st_blksize;
/freebsd-14-stable/lib/libc/stdio/
HDmakebuf.c101 if (st.st_blksize <= 0) { in __swhatbuf()
111 *bufsize = st.st_blksize; in __swhatbuf()
112 fp->_blksize = st.st_blksize; in __swhatbuf()
HDfseek.c179 fp->_blksize = st.st_blksize; in _fseeko()
/freebsd-14-stable/sys/sys/
HDstat.h116 __int32_t st_blksize; /* optimal blocksize for I/O */ member
137 blksize_t st_blksize; /* optimal blocksize for I/O */ member
187 blksize_t st_blksize; /* optimal blocksize for I/O */ member
208 blksize_t st_blksize; /* optimal blocksize for I/O */ member
/freebsd-14-stable/lib/libc/sys/
HDcompat-ino64.h65 sb->st_blksize = sb11->st_blksize; in __stat11_to_stat()
/freebsd-14-stable/sys/compat/linux/
HDlinux_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-14-stable/sys/compat/freebsd32/
HDfreebsd32.h181 blksize_t st_blksize; /* optimal blocksize for I/O */ member
240 uint32_t st_blksize; member
259 uint32_t st_blksize; member
280 __int32_t st_blksize; member
/freebsd-14-stable/sys/i386/linux/
HDlinux.h164 l_ulong st_blksize; member
186 l_long st_blksize; member
203 l_ulong st_blksize; member
/freebsd-14-stable/sys/amd64/linux32/
HDlinux.h192 l_ulong st_blksize; member
214 l_long st_blksize; member
231 l_ulong st_blksize; member
/freebsd-14-stable/sys/contrib/openzfs/tests/zfs-tests/cmd/
HDmkfile.c206 if (bufsz != st.st_blksize) { in main()
209 bufsz = (size_t)st.st_blksize; in main()
/freebsd-14-stable/stand/kboot/include/arch/powerpc64/
HDstat_arch.h20 host_blksize_t st_blksize; member
/freebsd-14-stable/stand/kboot/include/arch/amd64/
HDstat_arch.h22 host_blksize_t st_blksize; member
/freebsd-14-stable/stand/kboot/include/arch/aarch64/
HDstat_arch.h21 host_blksize_t st_blksize; member
/freebsd-14-stable/crypto/heimdal/appl/ftp/common/
HDbuffer.c54 new_sz = max(BUFSIZ, st->st_blksize); in alloc_buffer()
/freebsd-14-stable/stand/kboot/kboot/
HDhostfs.c182 sb->st_blksize = ksb.st_blksize; in hostfs_stat()
/freebsd-14-stable/sbin/restore/
HDtape.c260 if (stbuf.st_blksize > 0 && stbuf.st_blksize < TP_BSIZE ) in setup()
262 if (stbuf.st_blksize >= TP_BSIZE && stbuf.st_blksize <= MAXBSIZE) in setup()
263 fssize = stbuf.st_blksize; in setup()
264 if (((TP_BSIZE - 1) & stbuf.st_blksize) != 0) { in setup()
266 "blocksize (%d);\n", TP_BSIZE, stbuf.st_blksize); in setup()
/freebsd-14-stable/crypto/heimdal/appl/rcp/
HDutil.c158 size = roundup(stb.st_blksize, blksize);
/freebsd-14-stable/tools/test/stress2/misc/
HDkinfo2.sh127 if (space < sb.st_blksize)
/freebsd-14-stable/sys/arm64/linux/
HDlinux.h138 l_int st_blksize; member
/freebsd-14-stable/tests/sys/aio/
HDaio_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-14-stable/tests/sys/fs/fusefs/
HDgetattr.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-14-stable/sys/amd64/linux/
HDlinux.h143 l_long st_blksize; member
/freebsd-14-stable/contrib/diff/src/
HDsystem.h134 # define STAT_BLOCKSIZE(s) ((s).st_blksize)

123