/freebsd-10-stable/sys/rpc/ |
H A D | types.h | 67 #define mem_alloc(bsize) malloc(bsize, M_RPC, M_WAITOK|M_ZERO) 68 #define mem_free(ptr, bsize) free(ptr, M_RPC) 70 #define mem_alloc(bsize) calloc(1, bsize) 71 #define mem_free(ptr, bsize) free(ptr)
|
/freebsd-10-stable/sbin/newfs/ |
H A D | newfs.h | 66 #define MAXBLKPG(bsize) ((bsize) / sizeof(ufs2_daddr_t)) 95 extern int bsize; /* block size */
|
H A D | newfs.c | 101 int bsize = 0; /* block size */ variable 200 rval = expand_number_int(optarg, &bsize); 204 if (bsize < MINBSIZE) 207 if (bsize > MAXBSIZE) 378 if (bsize == 0) 379 bsize = pp->p_frag * pp->p_fsize; 387 if (bsize <= 0) 388 bsize = MIN(DFL_BLKSIZE, 8 * fsize);
|
/freebsd-10-stable/usr.sbin/makefs/ |
H A D | ffs.h | 48 int bsize; /* block size */ member in struct:__anon12125
|
/freebsd-10-stable/sbin/clri/ |
H A D | clri.c | 80 long generation, bsize; local 110 bsize = sbp->fs_bsize; 127 if (read(fd, ibuf, bsize) != bsize) 151 if (lseek(fd, (off_t)-bsize, SEEK_CUR) < 0) 153 if (write(fd, ibuf, bsize) != bsize)
|
/freebsd-10-stable/contrib/subversion/subversion/libsvn_delta/ |
H A D | xdelta.c | 276 apr_size_t bsize, 291 max_delta = asize - apos - MATCH_BLOCKSIZE < bsize - bpos - MATCH_BLOCKSIZE 293 : bsize - bpos - MATCH_BLOCKSIZE; 324 apr_size_t bsize, 329 apr_size_t max_len = asize > (bsize - start) ? bsize - start : asize; 333 end_match = svn_cstring__reverse_match_length(a + asize, b + bsize, 338 if (bsize - start > end_match) 340 start, bsize - start - end_match, b + start, pool); 376 apr_size_t bsize, 270 find_match(const struct blocks *blocks, const apr_uint32_t rolling, const char *a, apr_size_t asize, const char *b, apr_size_t bsize, apr_size_t *bposp, apr_size_t *aposp, apr_size_t pending_insert_start) argument 319 store_delta_trailer(svn_txdelta__ops_baton_t *build_baton, const char *a, apr_size_t asize, const char *b, apr_size_t bsize, apr_size_t start, apr_pool_t *pool) argument 371 compute_delta(svn_txdelta__ops_baton_t *build_baton, const char *a, apr_size_t asize, const char *b, apr_size_t bsize, apr_pool_t *pool) argument [all...] |
/freebsd-10-stable/sys/geom/eli/ |
H A D | pkcs5v2.c | 57 u_int i, bsize, passlen; local 66 for (count = 1; keylen > 0; count++, keylen -= bsize, keyp += bsize) { 67 bsize = MIN(keylen, sizeof(md)); 75 xor(keyp, md, bsize); 80 xor(keyp, md, bsize);
|
/freebsd-10-stable/lib/libc/db/test/ |
H A D | run.test | 625 bsize=256 627 echo " bucketsize $bsize, fill factor $ffactor" 629 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 634 bsize=$bsize ffactor=$ffactor nelem=25000 cachesize=65536 failed" 638 bsize=512 640 echo " bucketsize $bsize, fill factor $ffactor" 642 -ibsize=$bsize,ffactor=$ffactor,nelem=25000,cachesize=65536\ 647 bsize=$bsize ffacto [all...] |
/freebsd-10-stable/sys/boot/uboot/lib/ |
H A D | disk.c | 65 u_int bsize; /* block size */ member in struct:__anon6506 119 stor_info[stor_info_no].bsize = 158 if (size % SI(dev).bsize) { 160 size, SI(dev).bsize); 163 bcount = size / SI(dev).bsize; 204 return (disk_open(dev, SI(dev).blocks * SI(dev).bsize, 205 SI(dev).bsize, 0)); 270 *(u_int *)data = SI(dev).bsize; 273 *(off_t *)data = SI(dev).bsize * SI(dev).blocks;
|
/freebsd-10-stable/sbin/fsirand/ |
H A D | fsirand.c | 121 u_int32_t bsize = DEV_BSIZE; local 172 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) { 173 warn("can't seek to %jd", (intmax_t)dblk * bsize); 235 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) { 237 (intmax_t)dblk * bsize); 250 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) { 251 warn("can't seek to %jd", (intmax_t)dblk * bsize); 279 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) { 281 (intmax_t)dblk * bsize);
|
/freebsd-10-stable/contrib/sendmail/src/ |
H A D | bf.c | 106 size_t bsize; local 114 bsize = ((struct bf_info *) info)->bi_bsize; 140 /* A zero bsize is valid, just don't allocate memory */ 141 if (bsize > 0) 143 bfp->bf_buf = (char *) sm_malloc(bsize); 159 bfp->bf_bufsize = bsize; 190 ** bsize -- amount of buffer space to allocate (may be 0) 216 bfopen(char *filename, MODE_T fmode, size_t bsize, long flags) argument 219 bfopen(filename, fmode, bsize, flags) 222 size_t bsize; 831 int bsize; local [all...] |
/freebsd-10-stable/sbin/ggate/ggatel/ |
H A D | ggatel.c | 87 size_t bsize; local 98 bsize = sectorsize; 99 ggio.gctl_data = malloc(bsize); 103 ggio.gctl_length = bsize; 123 bsize = ggio.gctl_length; 136 if ((size_t)ggio.gctl_length > bsize) { 140 bsize = ggio.gctl_length;
|
/freebsd-10-stable/usr.bin/tsort/ |
H A D | tsort.c | 118 int bsize, ch, nused; local 164 bsize = b->b_bsize; 167 if (nused == bsize) 168 b->b_buf = grow_buf(b->b_buf, bsize *= 2); 173 b->b_bsize = bsize; 205 int bsize, i; local 226 bsize = n1->n_arcsize * sizeof(*n1->n_arcs) * 2; 227 n1->n_arcs = grow_buf(n1->n_arcs, bsize); 228 n1->n_arcsize = bsize / sizeof(*n1->n_arcs);
|
/freebsd-10-stable/sys/vm/ |
H A D | vnode_pager.c | 300 int bsize; local 317 bsize = vp->v_mount->mnt_stat.f_iosize; 318 pagesperblock = bsize / PAGE_SIZE; 323 blocksperpage = (PAGE_SIZE / bsize); 466 int bsize; local 477 bsize = vp->v_mount->mnt_stat.f_iosize; 478 vblock = address / bsize; 479 voffset = address % bsize; 487 *run *= bsize/PAGE_SIZE; 508 vm_offset_t bsize; local 705 int pbefore, pafter, i, size, bsize, first, last; local [all...] |
/freebsd-10-stable/contrib/binutils/include/coff/ |
H A D | ia64.h | 48 char bsize[4]; /* uninitialized data " " */ member in struct:__anon402
|
H A D | external.h | 49 char bsize[4]; /* uninitialized data " " */ member in struct:external_aouthdr 65 char bsize[4]; /* Uninitialized data " ". */ member in struct:external_aouthdr64
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zutil.c | 225 ulg bsize = (ulg)items*size; local 230 if (bsize < 65520L) { 231 buf = farmalloc(bsize); 234 buf = farmalloc(bsize + 16L);
|
/freebsd-10-stable/sys/i386/ibcs2/ |
H A D | coff.h | 60 long bsize; /* */ member in struct:aouthdr
|
/freebsd-10-stable/bin/cat/ |
H A D | cat.c | 295 static size_t bsize; local 306 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); 308 bsize = BUFSIZE_SMALL; 310 bsize = MAX(sbuf.st_blksize, 312 if ((buf = malloc(bsize)) == NULL) 315 while ((nr = read(rfd, buf, bsize)) > 0)
|
/freebsd-10-stable/sbin/ggate/shared/ |
H A D | ggate.c | 279 int bsize, on; local 291 bsize = rcvbuf; 292 if (setsockopt(sfd, SOL_SOCKET, SO_RCVBUF, &bsize, sizeof(bsize)) == -1) 294 bsize = sndbuf; 295 if (setsockopt(sfd, SOL_SOCKET, SO_SNDBUF, &bsize, sizeof(bsize)) == -1)
|
/freebsd-10-stable/sys/fs/ext2fs/ |
H A D | ext2_subr.c | 73 int bsize, error; local 81 bsize = blksize(fs, ip, lbn); 105 error = bread(ip->i_devvp, fsbtodb(fs, newblk), bsize, NOCRED, &bp); 116 bp->b_offset = lbn * bsize; 122 if ((error = bread(vp, lbn, bsize, NOCRED, &bp)) != 0) {
|
/freebsd-10-stable/sys/fs/msdosfs/ |
H A D | msdosfs_fat.c | 145 u_long bsize; local 204 fatblock(pmp, byteoffset, &bn, &bsize, &bo); 208 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); 216 if (bo >= bsize) { 491 u_long bn, bo, bsize, byteoffset; local 529 fatblock(pmp, byteoffset, &bn, &bsize, &bo); 530 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); 601 u_long bn, bo, bsize, byteoffset, readcn, newc; local 616 fatblock(pmp, byteoffset, &bn, &bsize, &bo); 617 error = bread(pmp->pm_devvp, bn, bsize, NOCRE 873 u_long bn, bo, bsize, byteoffset; local 937 u_long bn, bo, bsize, byteoffset; local 1159 u_long bn, bo, bsize, byteoffset, fatval; local [all...] |
/freebsd-10-stable/lib/libc/gen/ |
H A D | disklabel.c | 139 long bsize; local 141 if (cgetnum(buf, pbsize, &bsize) == 0) 142 pp->p_frag = bsize / pp->p_fsize;
|
/freebsd-10-stable/usr.bin/dpv/ |
H A D | dpv.c | 62 static size_t bsize; variable 134 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); 136 bsize = BUFSIZE_SMALL; 138 bsize = MAX(sb.st_blksize, 141 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8); 144 if ((buf = malloc(bsize+1)) == NULL) { 163 if ((r = read(fd, buf, bsize)) <= 0) { 208 if ((r = read(fd, buf, bsize)) <= 0) {
|
/freebsd-10-stable/sys/ufs/ffs/ |
H A D | ffs_rawread.c | 200 int bsize; local 206 bsize = vp->v_mount->mnt_stat.f_iosize; 223 blockno = offset / bsize; 224 blockoff = (offset % bsize) / DEV_BSIZE; 238 if (bp->b_bcount + blockoff * DEV_BSIZE > bsize) 239 bp->b_bcount = bsize - blockoff * DEV_BSIZE; 257 if (bp->b_bcount + blockoff * DEV_BSIZE > bsize * (1 + bforwards)) 258 bp->b_bcount = bsize * (1 + bforwards) - blockoff * DEV_BSIZE;
|