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

123456

/freebsd-12-stable/sys/rpc/
H A Dtypes.h69 #define mem_alloc(bsize) malloc(bsize, M_RPC, M_WAITOK|M_ZERO)
70 #define mem_free(ptr, bsize) free(ptr, M_RPC)
72 #define mem_alloc(bsize) calloc(1, bsize)
73 #define mem_free(ptr, bsize) free(ptr)
/freebsd-12-stable/sbin/newfs/
H A Dnewfs.h68 #define MAXBLKPG(bsize) ((bsize) / sizeof(ufs2_daddr_t))
97 extern int bsize; /* block size */
/freebsd-12-stable/sbin/clri/
H A Dclri.c79 long generation, bsize; local
103 bsize = fs->fs_bsize;
120 if (read(fd, ibuf, bsize) != bsize)
144 if (lseek(fd, (off_t)-bsize, SEEK_CUR) < 0)
146 if (write(fd, ibuf, bsize) != bsize)
/freebsd-12-stable/tests/sys/cddl/zfs/bin/
H A Dfile_trunc.c51 static size_t bsize = BSIZE; variable
107 count = fsize / bsize;
112 bsize = atoi(optarg);
176 buf = (char *)calloc(1, bsize);
177 rbuf = (char *)calloc(1, bsize);
190 if (write(fd, buf, bsize) < bsize) {
201 if (read(fd, rbuf, bsize) < bsize) {
206 if (memcmp(buf, rbuf, bsize) !
[all...]
/freebsd-12-stable/contrib/subversion/subversion/libsvn_delta/
H A Dxdelta.c276 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-12-stable/sys/geom/eli/
H A Dpkcs5v2.c59 u_int i, bsize, passlen; local
69 for (count = 1; keylen > 0; count++, keylen -= bsize, keyp += bsize) {
70 bsize = MIN(keylen, sizeof(md));
78 xor(keyp, md, bsize);
84 xor(keyp, md, bsize);
/freebsd-12-stable/usr.sbin/makefs/
H A Dffs.h50 int bsize; /* block size */ member in struct:__anon17484
/freebsd-12-stable/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-12-stable/stand/uboot/lib/
H A Ddisk.c65 u_int bsize; /* block size */ member in struct:__anon9277
119 stor_info[stor_info_no].bsize =
158 if (size % SI(dev).bsize) {
161 size, SI(dev).bsize);
164 bcount = size / SI(dev).bsize;
205 return (disk_open(dev, SI(dev).blocks * SI(dev).bsize,
206 SI(dev).bsize));
287 *(u_int *)data = SI(dev).bsize;
290 *(uint64_t *)data = SI(dev).bsize * SI(dev).blocks;
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_alloc.cpp141 bufsize bsize; /* Buffer size: positive if free, negative if allocated. */ member in struct:bhead2
200 /* End sentinel: value placed in bsize field of dummy block delimiting
300 KMP_DEBUG_ASSERT(b->bh.bb.bsize != 0);
321 KMP_DEBUG_ASSERT(b->bh.bb.bsize != 0);
369 KMP_DEBUG_ASSERT(b->bh.bb.bsize % SizeQuant == 0);
371 bin = bget_get_bin(b->bh.bb.bsize);
408 *total_free += (b->bh.bb.bsize - sizeof(bhead_t));
409 if ((best == &thr->freelist[bin]) || (b->bh.bb.bsize < best->bh.bb.bsize))
416 if (*max_free < best->bh.bb.bsize)
[all...]
/freebsd-12-stable/bin/cat/
H A Dcat.c305 static size_t bsize; local
316 bsize = MIN(BUFSIZE_MAX, MAXPHYS * 8);
318 bsize = BUFSIZE_SMALL;
320 bsize = sbuf.st_blksize;
323 bsize = MAX(bsize, (size_t)pagesize);
325 if ((buf = malloc(bsize)) == NULL)
328 while ((nr = read(rfd, buf, bsize)) > 0)
/freebsd-12-stable/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;
831 int bsize; local
[all...]
/freebsd-12-stable/sbin/fsirand/
H A Dfsirand.c118 u_int32_t bsize = DEV_BSIZE; local
187 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
188 warn("can't seek to %jd", (intmax_t)dblk * bsize);
216 if (lseek(devfd, (off_t)dblk * bsize, SEEK_SET) < 0) {
218 (intmax_t)dblk * bsize);
/freebsd-12-stable/sbin/ggate/ggatel/
H A Dggatel.c89 size_t bsize; local
100 bsize = sectorsize;
101 ggio.gctl_data = malloc(bsize);
105 ggio.gctl_length = bsize;
125 bsize = ggio.gctl_length;
138 if ((size_t)ggio.gctl_length > bsize) {
142 bsize = ggio.gctl_length;
/freebsd-12-stable/usr.bin/tsort/
H A Dtsort.c120 int bsize, ch, nused; local
166 bsize = b->b_bsize;
169 if (nused == bsize)
170 b->b_buf = grow_buf(b->b_buf, bsize *= 2);
175 b->b_bsize = bsize;
207 int bsize, i; local
228 bsize = n1->n_arcsize * sizeof(*n1->n_arcs) * 2;
229 n1->n_arcs = grow_buf(n1->n_arcs, bsize);
230 n1->n_arcsize = bsize / sizeof(*n1->n_arcs);
/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_bmap.c103 int error, depth, maxrun = 0, bsize; local
112 bsize = EXT2_BLOCK_SIZE(ump->um_e2fs);
116 maxrun = mp->mnt_iosize_max / bsize - 1;
217 int error, num, maxrun = 0, bsize; local
225 bsize = EXT2_BLOCK_SIZE(ump->um_e2fs);
228 maxrun = mp->mnt_iosize_max / bsize - 1;
345 uint64_t bsize; local
360 bsize = mp->mnt_stat.f_iosize;
361 for (bn = *offp / bsize, numblks = howmany(ip->i_size, bsize);
[all...]
H A Dext2_subr.c73 int error, bsize; local
78 bsize = blksize(fs, ip, lbn);
80 if ((error = bread(vp, lbn, bsize, NOCRED, &bp)) != 0) {
/freebsd-12-stable/contrib/binutils/include/coff/
H A Dia64.h48 char bsize[4]; /* uninitialized data " " */ member in struct:__anon615
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-12-stable/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-12-stable/sys/i386/ibcs2/
H A Dcoff.h62 long bsize; /* */ member in struct:aouthdr
/freebsd-12-stable/sys/vm/
H A Dvnode_pager.c351 int bsize; local
368 bsize = vp->v_mount->mnt_stat.f_iosize;
369 pagesperblock = bsize / PAGE_SIZE;
374 blocksperpage = (PAGE_SIZE / bsize);
525 int bsize; local
536 bsize = vp->v_mount->mnt_stat.f_iosize;
537 vblock = address / bsize;
538 voffset = address % bsize;
546 *run *= bsize/PAGE_SIZE;
565 vm_offset_t bsize; local
794 int bsize, pagesperblock, *freecnt; local
[all...]
/freebsd-12-stable/sbin/ggate/shared/
H A Dggate.c281 int bsize, on; local
293 bsize = rcvbuf;
294 if (setsockopt(sfd, SOL_SOCKET, SO_RCVBUF, &bsize, sizeof(bsize)) == -1)
296 bsize = sndbuf;
297 if (setsockopt(sfd, SOL_SOCKET, SO_SNDBUF, &bsize, sizeof(bsize)) == -1)
/freebsd-12-stable/sys/fs/msdosfs/
H A Dmsdosfs_fat.c140 u_long bsize; local
199 fatblock(pmp, byteoffset, &bn, &bsize, &bo);
203 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp);
211 if (bo >= bsize) {
468 u_long bn, bo, bsize, byteoffset; local
506 fatblock(pmp, byteoffset, &bn, &bsize, &bo);
507 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp);
574 u_long bn, bo, bsize, byteoffset, readcn, newc; local
589 fatblock(pmp, byteoffset, &bn, &bsize, &bo);
590 error = bread(pmp->pm_devvp, bn, bsize, NOCRE
836 u_long bn, bo, bsize, byteoffset; local
897 u_long bn, bo, bsize, byteoffset, cn, readcn; local
1129 u_long bn, bo, bsize, byteoffset, fatval; local
[all...]
/freebsd-12-stable/lib/libc/gen/
H A Ddisklabel.c139 long bsize; local
141 if (cgetnum(buf, pbsize, &bsize) == 0)
142 pp->p_frag = bsize / pp->p_fsize;

Completed in 310 milliseconds

123456