Searched refs:bsize (Results 1 - 25 of 136) sorted by relevance

123456

/freebsd-10.0-release/sys/rpc/
H A Dtypes.h68 #define mem_alloc(bsize) malloc(bsize, M_RPC, M_WAITOK|M_ZERO)
69 #define mem_free(ptr, bsize) free(ptr, M_RPC)
71 #define mem_alloc(bsize) calloc(1, bsize)
72 #define mem_free(ptr, bsize) free(ptr)
/freebsd-10.0-release/sbin/newfs/
H A Dnewfs.h66 #define MAXBLKPG(bsize) ((bsize) / sizeof(ufs2_daddr_t))
95 extern int bsize; /* block size */
H A Dnewfs.c101 int bsize = 0; /* block size */ variable
201 rval = expand_number_int(optarg, &bsize);
205 if (bsize < MINBSIZE)
208 if (bsize > MAXBSIZE)
379 if (bsize == 0)
380 bsize = pp->p_frag * pp->p_fsize;
388 if (bsize <= 0)
389 bsize = MIN(DFL_BLKSIZE, 8 * fsize);
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_delta/
H A Dxdelta.c309 apr_size_t bsize,
324 max_delta = asize - apos - MATCH_BLOCKSIZE < bsize - bpos - MATCH_BLOCKSIZE
326 : bsize - bpos - MATCH_BLOCKSIZE;
357 apr_size_t bsize,
362 apr_size_t max_len = asize > (bsize - start) ? bsize - start : asize;
366 end_match = reverse_match_length(a + asize, b + bsize, max_len);
370 if (bsize - start > end_match)
372 start, bsize - start - end_match, b + start, pool);
408 apr_size_t bsize,
303 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
352 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
403 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.0-release/usr.sbin/makefs/
H A Dffs.h48 int bsize; /* block size */ member in struct:__anon11611
/freebsd-10.0-release/sbin/clri/
H A Dclri.c80 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.0-release/sys/geom/eli/
H A Dpkcs5v2.c57 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.0-release/lib/libc/db/test/
H A Drun.test625 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.0-release/sbin/fsirand/
H A Dfsirand.c122 u_int32_t bsize = DEV_BSIZE; local
134 bsize);
136 bsize = label.d_secsize;
183 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
184 warn("can't seek to %jd", (intmax_t)dblk * bsize);
246 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
248 (intmax_t)dblk * bsize);
261 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
262 warn("can't seek to %jd", (intmax_t)dblk * bsize);
290 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SE
[all...]
/freebsd-10.0-release/sys/boot/uboot/lib/
H A Ddisk.c68 u_int bsize; /* block size */ member in struct:__anon6174
122 stor_info[stor_info_no].bsize =
161 if (size % SI(dev).bsize) {
163 size, SI(dev).bsize);
166 bcount = size / SI(dev).bsize;
207 return (disk_open(dev, SI(dev).blocks * SI(dev).bsize,
208 SI(dev).bsize, 0));
273 *(u_int *)data = SI(dev).bsize;
276 *(off_t *)data = SI(dev).bsize * SI(dev).blocks;
/freebsd-10.0-release/contrib/sendmail/src/
H A Dbf.c106 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;
830 int bsize; local
[all...]
/freebsd-10.0-release/sbin/ggate/ggatel/
H A Dggatel.c87 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.0-release/usr.bin/tsort/
H A Dtsort.c118 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.0-release/contrib/binutils/include/coff/
H A Dia64.h48 char bsize[4]; /* uninitialized data " " */ member in struct:__anon404
H A Dexternal.h49 char bsize[4]; /* uninitialized data " " */ member in struct:external_aouthdr
65 char bsize[4]; /* Uninitialized data " ". */ member in struct:external_aouthdr64
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzutil.c225 ulg bsize = (ulg)items*size; local
230 if (bsize < 65520L) {
231 buf = farmalloc(bsize);
234 buf = farmalloc(bsize + 16L);
/freebsd-10.0-release/sys/i386/ibcs2/
H A Dcoff.h60 long bsize; /* */ member in struct:aouthdr
/freebsd-10.0-release/bin/cat/
H A Dcat.c270 static size_t bsize; local
281 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
283 bsize = BUFSIZE_SMALL;
285 bsize = MAX(sbuf.st_blksize,
287 if ((buf = malloc(bsize)) == NULL)
290 while ((nr = read(rfd, buf, bsize)) > 0)
/freebsd-10.0-release/sys/vm/
H A Dvnode_pager.c294 int bsize; local
311 bsize = vp->v_mount->mnt_stat.f_iosize;
312 pagesperblock = bsize / PAGE_SIZE;
317 blocksperpage = (PAGE_SIZE / bsize);
460 int bsize; local
471 bsize = vp->v_mount->mnt_stat.f_iosize;
472 vblock = address / bsize;
473 voffset = address % bsize;
481 *run *= bsize/PAGE_SIZE;
502 vm_offset_t bsize; local
695 int i, j, size, bsize, first; local
[all...]
/freebsd-10.0-release/sbin/ggate/shared/
H A Dggate.c279 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.0-release/sys/fs/ext2fs/
H A Dext2_subr.c73 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.0-release/sys/fs/msdosfs/
H A Dmsdosfs_fat.c143 u_long bsize; local
202 fatblock(pmp, byteoffset, &bn, &bsize, &bo);
206 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp);
214 if (bo >= bsize) {
480 u_long bn, bo, bsize, byteoffset; local
518 fatblock(pmp, byteoffset, &bn, &bsize, &bo);
519 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp);
590 u_long bn, bo, bsize, byteoffset, readcn, newc; local
605 fatblock(pmp, byteoffset, &bn, &bsize, &bo);
606 error = bread(pmp->pm_devvp, bn, bsize, NOCRE
845 u_long bn, bo, bsize, byteoffset; local
909 u_long bn, bo, bsize, byteoffset; local
1124 u_long bn, bo, bsize, byteoffset, fatval; local
[all...]
/freebsd-10.0-release/lib/libc/gen/
H A Ddisklabel.c135 long bsize; local
137 if (cgetnum(buf, pbsize, &bsize) == 0)
138 pp->p_frag = bsize / pp->p_fsize;
/freebsd-10.0-release/sys/ufs/ffs/
H A Dffs_rawread.c202 int bsize; local
208 bsize = vp->v_mount->mnt_stat.f_iosize;
225 blockno = offset / bsize;
226 blockoff = (offset % bsize) / DEV_BSIZE;
240 if (bp->b_bcount + blockoff * DEV_BSIZE > bsize)
241 bp->b_bcount = bsize - blockoff * DEV_BSIZE;
259 if (bp->b_bcount + blockoff * DEV_BSIZE > bsize * (1 + bforwards))
260 bp->b_bcount = bsize * (1 + bforwards) - blockoff * DEV_BSIZE;
/freebsd-10.0-release/sys/boot/zfs/
H A Dzfs.c218 size_t bsize = fp->f_dnode.dn_datablkszsec << SPA_MINBLOCKSHIFT; local
246 fp->f_seekp = bsize;
247 fp->f_zap_leaf = (zap_leaf_phys_t *)malloc(bsize);
251 bsize);
259 if (fp->f_seekp >= bsize)
288 zl.l_bs = ilog2(bsize);
297 chunk = fp->f_seekp & (bsize - 1);
299 fp->f_seekp = (fp->f_seekp & ~(bsize - 1)) + bsize;
305 if (fp->f_seekp >= bsize * f
[all...]

Completed in 201 milliseconds

123456