Home
last modified time | relevance | path

Searched refs:blocksize (Results 1 – 19 of 19) sorted by relevance

/original-bsd/contrib/ansi/
H A Dansitape.c54 int blocksize=2048; local
139 if(blocksize <18) blocksize=18;
140 if(blocksize >62*1024) blocksize=62*1024;
159 if(blocksize <18) blocksize=18;
160 if(blocksize >62*1024) blocksize=62*1024;
283 int blocksize;
306 int blocksize;
527 int blocksize;
538 int blocksize;
619 int blocksize; local
[all …]
/original-bsd/lib/libc/gen/
H A Dgetbsize.c23 long n, max, mul, blocksize; local
68 if ((blocksize = n * mul) < 512) {
71 blocksize = n = 512;
74 blocksize = n = 512;
78 *blocksizep = blocksize;
/original-bsd/usr.bin/hexdump/
H A Dhexdump.c27 int blocksize; /* data block size */ variable
45 for (blocksize = 0, tfs = fshead; tfs; tfs = tfs->nextfs) {
47 if (blocksize < tfs->bcnt)
48 blocksize = tfs->bcnt;
H A Ddisplay.c210 curp = emalloc(blocksize); in get()
211 savp = emalloc(blocksize); in get()
216 address += blocksize; in get()
218 for (need = blocksize, nread = 0;;) { in get()
225 if (need == blocksize) in get()
250 bcmp(curp, savp, blocksize)) { in get()
258 address += blocksize; in get()
259 need = blocksize; in get()
H A Dhexdump.h48 extern int blocksize; /* data block size */
H A Dparse.c388 if (!fu->nextfu && fs->bcnt < blocksize &&
390 fu->reps += (blocksize - fs->bcnt) / fu->bcnt;
/original-bsd/bin/sh/
H A Dmemalloc.c106 int blocksize; local
109 blocksize = nbytes;
110 if (blocksize < MINSIZE)
111 blocksize = MINSIZE;
113 sp = ckmalloc(sizeof(struct stack_block) - MINSIZE + blocksize);
116 stacknleft = blocksize;
/original-bsd/usr.bin/du/
H A Ddu.c43 long blocksize; local
117 (void)getbsize(&notused, &blocksize);
118 blocksize /= 512;
137 howmany(p->fts_number, blocksize),
157 howmany(p->fts_statp->st_blocks, blocksize),
/original-bsd/usr.bin/systat/
H A Dswap.c33 void showspace __P((char *header, int hlen, long blocksize));
55 static long *perdev, blocksize; variable
180 header = getbsize(&hlen, &blocksize); in labelswap()
195 div = blocksize / 512; in showswap()
/original-bsd/bin/ls/
H A Dprint.c65 (void)printf("total %lu\n", howmany(dp->btotal, blocksize));
75 dp->s_block, howmany(sp->st_blocks, blocksize));
155 (void)printf("total %lu\n", howmany(dp->btotal, blocksize));
191 (int)sizefield, howmany(sp->st_blocks, blocksize));
H A Dls.h15 extern long blocksize; /* block size units */
H A Dls.c44 long blocksize; /* block size units */ variable
206 (void)getbsize(&notused, &blocksize);
207 blocksize /= 512;
/original-bsd/old/adb/common_scripts/
H A Dvattr3 +/"blocksize"16t"atime"nDY4+
/original-bsd/sys/sparc/dev/
H A Dbsd_audio.c442 register int blocksize = sc->sc_au.au_blksize; in AUDIOREAD() local
451 while (AUCB_LEN(cb) < blocksize) { in AUDIOREAD()
458 if ((error = audio_sleep(cb, blocksize)) != 0) in AUDIOREAD()
483 } while (uio->uio_resid >= blocksize); in AUDIOREAD()
1039 if (ai->blocksize != ~0) {
1040 if (ai->blocksize == 0)
1041 bsize = ai->blocksize = DEFBLKSIZE;
1042 else if (ai->blocksize > MAXBLKSIZE)
1043 bsize = ai->blocksize = MAXBLKSIZE;
1045 bsize = ai->blocksize;
[all …]
/original-bsd/sbin/fsdb/
H A Dfsdb.c207 long blocksize; variable
672 blocksize = BLKSIZE;
831 blocksize = BLKSIZE;
1021 blocksize = FRGSIZE;
1027 filesize = blocksize * 2;
2506 blocksize = filesize = 0;
2510 blocksize = filesize * 2;
2568 if (blocksize > filesize)
3295 blocksize = FRGSIZE;
3560 if (blocksize > filesize) { in valid_addr()
[all …]
/original-bsd/sys/sparc/include/
H A Dbsd_audioio.h59 u_int blocksize; /* input blocking threshold */ member
/original-bsd/usr.sbin/amd/rpcx/
H A Dnfs_prot.h98 u_int blocksize; member
H A Dnfs_prot_xdr.c105 if (!xdr_u_int(xdrs, &objp->blocksize)) {
/original-bsd/usr.sbin/pstat/
H A Dpstat.c895 long blocksize, *perdev; in swapmode() local
983 header = getbsize(&hlen, &blocksize); in swapmode()
988 div = blocksize / 512; in swapmode()