/freebsd-12-stable/sys/rpc/ |
H A D | types.h | 69 #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 D | newfs.h | 68 #define MAXBLKPG(bsize) ((bsize) / sizeof(ufs2_daddr_t)) 97 extern int bsize; /* block size */
|
/freebsd-12-stable/sbin/clri/ |
H A D | clri.c | 79 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 D | file_trunc.c | 51 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 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-12-stable/sys/geom/eli/ |
H A D | pkcs5v2.c | 59 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 D | ffs.h | 50 int bsize; /* block size */ member in struct:__anon17484
|
/freebsd-12-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-12-stable/stand/uboot/lib/ |
H A D | disk.c | 65 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 D | kmp_alloc.cpp | 141 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 D | cat.c | 305 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 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-12-stable/sbin/fsirand/ |
H A D | fsirand.c | 118 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 D | ggatel.c | 89 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 D | tsort.c | 120 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 D | ext2_bmap.c | 103 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 D | ext2_subr.c | 73 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 D | ia64.h | 48 char bsize[4]; /* uninitialized data " " */ member in struct:__anon615
|
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-12-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-12-stable/sys/i386/ibcs2/ |
H A D | coff.h | 62 long bsize; /* */ member in struct:aouthdr
|
/freebsd-12-stable/sys/vm/ |
H A D | vnode_pager.c | 351 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 D | ggate.c | 281 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 D | msdosfs_fat.c | 140 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 D | disklabel.c | 139 long bsize; local 141 if (cgetnum(buf, pbsize, &bsize) == 0) 142 pp->p_frag = bsize / pp->p_fsize;
|