Home
last modified time | relevance | path

Searched refs:BLKSIZE (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libproc/common/
H A DPscantext.c40 #define BLKSIZE (8 * 1024) macro
60 uint32_t buf[2 * BLKSIZE / sizeof (uint32_t)]; /* text buffer */ in Pscantext()
140 if ((nbytes = read(P->asfd, buf, 2*BLKSIZE)) <= 0) in Pscantext()
143 if (nbytes < BLKSIZE) in Pscantext()
146 n2bytes = nbytes - BLKSIZE; in Pscantext()
147 nbytes = BLKSIZE; in Pscantext()
158 &buf[BLKSIZE / sizeof (buf[0])], in Pscantext()
162 if (nbytes == BLKSIZE && in Pscantext()
163 offset + BLKSIZE < endoff) in Pscantext()
165 &buf[BLKSIZE / sizeof (buf[0])], in Pscantext()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsuid_exec.c63 #undef BLKSIZE
64 #define BLKSIZE sizeof(char*)*1024 macro
496 char buffer[BLKSIZE]; in mycopy()
499 while((n = read(fdi,buffer,BLKSIZE)) > 0) in mycopy()
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dbindings.h39 #define BLKSIZE 0x4000 macro
H A Dbindings.c148 if (ftruncate(fd, bhp->bh_size + BLKSIZE) == -1) { in grow_buffer()
154 bhp->bh_size += BLKSIZE; in grow_buffer()
246 int init_size = sizeof (bindhead) + BLKSIZE; in la_version()
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c611 buffers = malloc(NBUF * BLKSIZE); in main()
832 count = BLKSIZE; in main()
1008 blocksize = BLKSIZE; in main()
1009 filesize = BLKSIZE * 2; in main()
1175 blocksize = BLKSIZE; in main()
1176 filesize = BLKSIZE * 2; in main()
1341 cur_bytes = (value) * BLKSIZE; in main()
1486 temp *= NINDIR(fs) * BLKSIZE; in main()
3272 if ((nbytes = write(fd, sbptr, BLKSIZE)) != BLKSIZE) { in put()
3335 if ((nbytes = read(fd, bp->blkaddr, BLKSIZE)) != BLKSIZE) { in getblk()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/replacement/
H A Dreplacement.cfg37 export HOLES_COUNT=${HOLES_COUNT-"16384"} # FILESIZE/BLKSIZE/8
/illumos-gate/usr/src/test/zfs-tests/tests/functional/sparse/
H A Dsparse.cfg36 export HOLES_COUNT=${HOLES_COUNT-"16384"} # FILESIZE/BLKSIZE/8
/illumos-gate/usr/src/test/zfs-tests/tests/functional/truncate/
H A Dtruncate.cfg32 export TRUNC_COUNT=${TRUNC_COUNT-"16384"} # FILESIZE/BLKSIZE/8