/openbsd-current/include/rpc/ |
H A D | types.h | 58 #define mem_alloc(bsize) malloc(bsize) 59 #define mem_free(ptr, bsize) free(ptr)
|
/openbsd-current/sys/arch/macppc/stand/ |
H A D | ofdev.h | 41 int bsize; member in struct:of_dev
|
/openbsd-current/sbin/newfs_ext2fs/ |
H A D | extern.h | 47 extern uint bsize; /* block size */
|
H A D | newfs_ext2fs.c | 100 uint bsize = 0; /* block size */ variable 180 bsize = strsuftoi64("block size", 340 if (bsize == 0) { 341 bsize = fsize; 342 if (bsize == 0) { 344 bsize = S_DFL_BSIZE; 346 bsize = M_DFL_BSIZE; 348 bsize = L_DFL_BSIZE; 352 fsize = bsize; 354 blocks = fssize * sectorsize / bsize; [all...] |
/openbsd-current/usr.sbin/makefs/ |
H A D | ffs.h | 44 int bsize; /* block size */ member in struct:__anon23
|
/openbsd-current/sbin/clri/ |
H A D | clri.c | 69 size_t bsize; local 101 bsize = sbp->fs_bsize; 132 if (pread(fd, ibuf, bsize, offset) != bsize) 154 if (pwrite(fd, ibuf, bsize, offset) != bsize)
|
/openbsd-current/usr.bin/tmux/ |
H A D | cmd-load-buffer.c | 61 size_t bsize = EVBUFFER_LENGTH(buffer); local 70 else if (bsize != 0) { 71 copy = xmalloc(bsize); 72 memcpy(copy, bdata, bsize); 73 if (paste_set(copy, bsize, cdata->name, &cause) != 0) { 80 tty_set_selection(&tc->tty, "", copy, bsize);
|
/openbsd-current/sys/arch/alpha/stand/ |
H A D | bbinfo.h | 42 int32_t bsize; member in struct:bbinfo
|
H A D | bootxx.c | 88 if (bbinfop->bsize < DEV_BSIZE || bbinfop->bsize > MAXBSIZE) { 118 ret.bits = prom_read(fd, bbinfop->bsize, cp, 126 cp += bbinfop->bsize;
|
/openbsd-current/regress/lib/libc/db/ |
H A D | run.test | 627 bsize=256 629 echo " bucketsize $bsize, fill factor $ffactor" 631 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 636 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed" 640 bsize=512 642 echo " bucketsize $bsize, fill factor $ffactor" 644 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 649 bsize=$bsize ffacto [all...] |
/openbsd-current/bin/ksh/ |
H A D | shf.c | 40 int bsize = sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; local 44 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 47 shf->bsize = bsize; 78 int bsize = sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; local 106 if (bsize) { 107 shf->buf = alloc(bsize, ATEMP); 112 shf = alloc(sizeof(struct shf) + bsize, ATEMP); 120 shf->rbsize = bsize; 122 shf->wbsize = sflags & SHF_UNBUF ? 0 : bsize; 135 int bsize = sflags & SHF_UNBUF ? (sflags & SHF_RD ? 1 : 0) : SHF_BSIZE; local 187 shf_sopen(char *buf, int bsize, int sflags, struct shf *shf) argument 435 shf_read(char *buf, int bsize, struct shf *shf) argument 469 shf_getse(char *buf, int bsize, struct shf *shf) argument 683 shf_snprintf(char *buf, int bsize, const char *fmt, ...) argument [all...] |
/openbsd-current/sbin/fsirand/ |
H A D | fsirand.c | 107 u_int32_t bsize = DEV_BSIZE; local 120 bsize); 122 bsize = label.d_secsize; 193 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) == -1) { 194 warn("Can't seek to %lld", (long long)dblk * bsize); 264 if (lseek(devfd, (off_t)dblk * bsize, 267 (long long)dblk * bsize); 280 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) == -1) { 281 warn("Can't seek to %lld", (long long)dblk * bsize); 309 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SE [all...] |
/openbsd-current/sys/arch/sparc64/stand/ofwboot/ |
H A D | ofdev.h | 53 int bsize; member in struct:of_dev
|
/openbsd-current/sys/arch/hppa/stand/libsa/ |
H A D | lif.c | 167 size_t bsize, count = sizeof(bbuf); local 176 for (p = bbuf; size; fp->f_seek += bsize, p += bsize) { 181 btodb(foff), count, p, &bsize))) 184 bsize = sizeof(bbuf) - (foff & (sizeof(bbuf) - 1)); 185 bsize = min(bsize, size); 186 bcopy(bbuf + (foff & (sizeof(bbuf) - 1)), buf, bsize); 189 count = size -= bsize;
|
/openbsd-current/sys/kern/ |
H A D | spec_vnops.c | 195 int bsize; local 223 bsize = BLKDEV_IOSIZE; 233 bsize = frag * fsize; 235 bscale = btodb(bsize); 238 on = uio->uio_offset % bsize; 239 n = ulmin((bsize - on), uio->uio_resid); 242 error = breadn(vp, bn, bsize, &nextbn, &bsize, 245 error = bread(vp, bn, bsize, &bp); 247 n = ulmin(n, bsize 284 int bsize; local [all...] |
/openbsd-current/sys/isofs/udf/ |
H A D | udf_subr.c | 98 int i, bsize = 2048, error = EINVAL; local 107 bp = geteblk(bsize); 113 bp->b_blkno = sector * btodb(bsize); 114 bp->b_bcount = bsize; 128 mvds_end = mvds_start + (letoh32(avdp.main_vds_ex.len) - 1) / bsize; 134 bp->b_blkno = sector * btodb(bsize); 135 bp->b_bcount = bsize;
|
/openbsd-current/gnu/usr.bin/binutils/include/coff/ |
H A D | ia64.h | 48 char bsize[4]; /* uninitialized data " " */ member in struct:__anon4793
|
/openbsd-current/gnu/usr.bin/binutils-2.17/include/coff/ |
H A D | ia64.h | 48 char bsize[4]; /* uninitialized data " " */ member in struct:__anon5455
|
/openbsd-current/bin/cat/ |
H A D | cat.c | 214 static size_t bsize; local 222 bsize = MAXIMUM(sbuf.st_blksize, BUFSIZ); 223 if ((buf = malloc(bsize)) == NULL) 226 while ((nr = read(rfd, buf, bsize)) != -1 && nr != 0) {
|
/openbsd-current/usr.sbin/installboot/ |
H A D | i386_softraid.c | 99 uint16_t bsize = SR_FS_BLOCKSIZE; local 166 sym_set_value(pbr_symbols, "_fs_bsize_p", (bsize / 16)); 167 sym_set_value(pbr_symbols, "_fs_bsize_s", (bsize / 512)); 176 stage2, nblocks, bsize);
|
/openbsd-current/sys/lib/libz/ |
H A D | zutil.c | 205 ulg bsize = (ulg)items*size; local 212 if (bsize < 65520L) { 213 buf = farmalloc(bsize); 216 buf = farmalloc(bsize + 16L);
|
/openbsd-current/lib/libz/ |
H A D | zutil.c | 202 ulg bsize = (ulg)items*size; local 209 if (bsize < 65520L) { 210 buf = farmalloc(bsize); 213 buf = farmalloc(bsize + 16L);
|
/openbsd-current/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/ |
H A D | zutil.c | 222 ulg bsize = (ulg)items*size; local 229 if (bsize < 65520L) { 230 buf = farmalloc(bsize); 233 buf = farmalloc(bsize + 16L);
|
/openbsd-current/bin/rm/ |
H A D | rm.c | 298 size_t bsize; local 326 bsize = MAXIMUM(fsb.f_iosize, 1024U); 327 if ((buf = malloc(bsize)) == NULL) 330 if (!pass(fd, sbp->st_size, buf, bsize)) 347 pass(int fd, off_t len, char *buf, size_t bsize) argument 352 wlen = len < bsize ? len : bsize;
|
/openbsd-current/usr.sbin/eigrpd/ |
H A D | interface.c | 529 int bsize; local 531 bsize = 65535; 532 while (setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &bsize, 533 sizeof(bsize)) == -1) 534 bsize /= 2; 536 if (bsize != 65535) 537 log_warnx("%s: recvbuf size only %d", __func__, bsize); 539 bsize = 65535; 540 while (setsockopt(fd, SOL_SOCKET, SO_SNDBUF, &bsize, 541 sizeof(bsize)) [all...] |