Searched refs:st_blksize (Results 1 - 25 of 64) sorted by relevance

123

/macosx-10.10/CPANInternal-159.1/Perl4-CoreLibs-0.003/lib/
H A Dstat.pl26 $st_atime,$st_mtime,$st_ctime,$st_blksize,$st_blocks) = stat(shift(@_));
/macosx-10.10/Heimdal-398.1.2/appl/ftp/common/
H A Dbuffer.c42 * Allocate a buffer enough to handle st->st_blksize, if
54 new_sz = max(BUFSIZ, st->st_blksize);
/macosx-10.10/Libc-1044.1.2/stdio/FreeBSD/
H A Dmakebuf.c82 /* st_blksize for ttys is 128K, so make it more reasonable */
118 if (st.st_blksize <= 0) {
128 fp->_blksize = *bufsize = st.st_blksize > MAXBUFSIZE ? MAXBUFSIZE : st.st_blksize;
H A Dfseek.c188 fp->_blksize = st.st_blksize;
/macosx-10.10/removefile-35/
H A Dremovefile_sunlink.c89 state->buffsize = statbuf->st_blksize;
93 state->buffsize = (u_int32_t)(statbuf->st_size / statbuf->st_blksize) * statbuf->st_blksize;
94 if ((statbuf->st_size % statbuf->st_blksize) != 0) {
96 state->buffsize += statbuf->st_blksize;
97 } else if (state->buffsize < statbuf->st_blksize) {
99 state->buffsize = statbuf->st_blksize;
/macosx-10.10/srm-7/srm/src/
H A Dsunlink.c75 buffsize = statbuf->st_blksize;
79 buffsize = (u_int32_t)(statbuf->st_size / statbuf->st_blksize) * statbuf->st_blksize;
80 if ((statbuf->st_size % statbuf->st_blksize) != 0) {
82 buffsize += statbuf->st_blksize;
83 } else if (buffsize < statbuf->st_blksize) {
85 buffsize = statbuf->st_blksize;
/macosx-10.10/xnu-2782.1.97/bsd/sys/
H A Dstat.h130 __int32_t st_blksize; /* optimal blocksize for I/O */ member in struct:ostat
177 blksize_t st_blksize; /* [XSI] optimal blocksize for I/O */ \
216 blksize_t st_blksize; /* [XSI] optimal blocksize for I/O */ member in struct:stat
265 blksize_t st_blksize; /* [XSI] Optimal blocksize for I/O */ member in struct:user64_stat
298 blksize_t st_blksize; /* [XSI] Optimal blocksize for I/O */ member in struct:user32_stat
334 blksize_t st_blksize; /* [XSI] optimal blocksize for I/O */ member in struct:user64_stat64
366 blksize_t st_blksize; /* [XSI] optimal blocksize for I/O */ member in struct:user32_stat64
/macosx-10.10/BerkeleyDB-21/db/os/
H A Dos_stat.c96 * Check for a 0 size -- the HP MPE/iX architecture has st_blksize,
100 if (iosizep != NULL && (*iosizep = sb.st_blksize) == 0)
/macosx-10.10/lsof-53/lsof/dialects/darwin/libproc/
H A Ddlsof.h63 #define vst_blksize st_blksize
/macosx-10.10/file_cmds-242/mv/
H A Dmv.c335 if (blen < sbp->st_blksize) {
338 if ((bp = malloc((size_t)sbp->st_blksize)) == NULL) {
343 blen = sbp->st_blksize;
/macosx-10.10/Heimdal-398.1.2/appl/rcp/
H A Dutil.c158 size = roundup(stb.st_blksize, blksize);
/macosx-10.10/file_cmds-242/pax/
H A Dbuf_subs.c690 if (sb.st_blksize > 0)
691 sz = (int)sb.st_blksize;
785 if (sb.st_blksize > 0)
786 sz = sb.st_blksize;
H A Dar_io.c258 if ((arsb.st_blksize > 0) && (arsb.st_blksize < MAXBLK) &&
259 ((arsb.st_blksize % BLKMULT) == 0))
260 rdblksz = arsb.st_blksize;
792 if (((fsbz = arsb.st_blksize) <= 0) || (artyp != ISREG))
/macosx-10.10/remote_cmds-47/rcp.tproj/
H A Dutil.c139 size = roundup(stb.st_blksize, blksize);
/macosx-10.10/ksh-23/ksh/src/lib/libast/comp/
H A Dstatvfs.c124 st->st_blksize;
/macosx-10.10/libutil-38/
H A Dwipefs.cpp156 nativeBlockSize = sbuf.st_blksize;
157 numBlocks = sbuf.st_size / sbuf.st_blksize;
/macosx-10.10/text_cmds-88/sort/
H A Dsystem.h262 /* Some systems, like Sequents, return st_blksize of 0 on pipes.
264 determine that the output stream had an st_blksize of 2147421096.
267 st_blksize can exceed 4MB, please report it as a bug in this code. */
268 # define ST_BLKSIZE(statbuf) ((0 < (statbuf).st_blksize \
269 && (statbuf).st_blksize <= (1 << 22)) /* 4MB */ \
270 ? (statbuf).st_blksize : DEV_BSIZE)
/macosx-10.10/gnutar-453/gnutar/lib/
H A Dsystem.h353 Sequents, return st_blksize of 0 on pipes. */
361 ((statbuf).st_blksize > 0 ? (statbuf).st_blksize : DEFAULT_ST_BLKSIZE)
/macosx-10.10/text_cmds-88/tail/
H A Dforward.c205 /* Seek to sbp->st_blksize before the end of the file, find
207 lines. Otherwise go back another sbp->st_blksize bytes,
244 if (try_at < sbp->st_blksize) {
249 try_at -= sbp->st_blksize;
/macosx-10.10/xnu-2782.1.97/bsd/kern/
H A Dsys_pipe.c532 sb64->st_blksize = pipe_size;
534 sb64->st_blocks = (sb64->st_size + sb64->st_blksize - 1) / sb64->st_blksize;
559 sb->st_blksize = pipe_size;
561 sb->st_blocks = (sb->st_size + sb->st_blksize - 1) / sb->st_blksize;
/macosx-10.10/gnudiff-19/diffutils/src/
H A Dsystem.h164 # define STAT_BLOCKSIZE(s) ((s).st_blksize)
/macosx-10.10/text_cmds-88/cat/
H A Dcat.c250 bsize = MAX(sbuf.st_blksize, 1024);
/macosx-10.10/webdavfs-367/mount.tproj/
H A Dwebdav_file.c605 wstat->st_blksize = node->attr_stat_info.attr_stat.st_blksize;
770 statbuf.attr_stat.st_blksize = WEBDAV_IOSIZE;
871 statbuf.attr_stat.st_blksize = WEBDAV_IOSIZE;
1184 statbuf.attr_stat.st_blksize = WEBDAV_IOSIZE;
/macosx-10.10/file_cmds-242/stat/
H A Dstat.c108 "st_blksize=%k st_blocks=%b" SHELL_F
722 small = (sizeof(st->st_blksize) == 4);
723 data = st->st_blksize;
/macosx-10.10/Libc-1044.1.2/db/btree/FreeBSD/
H A Dbt_open.c257 b.psize = sb.st_blksize;

Completed in 411 milliseconds

123