Searched refs:bsize (Results 76 - 100 of 141) sorted by relevance

123456

/freebsd-12-stable/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c89 int bsize; local
109 bsize = 0;
/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmx-tim-defs.h765 uint64_t bsize : 20; /**< Number of buckets - 1 */ member in struct:cvmx_tim_mem_debug1::cvmx_tim_mem_debug1_s
767 uint64_t bsize : 20;
1262 uint64_t bsize : 20; /**< Number of buckets minus one. If BSIZE==0 there is member in struct:cvmx_tim_ringx_ctl1::cvmx_tim_ringx_ctl1_s
1265 uint64_t bsize : 20;
1283 uint64_t bsize : 20; /**< Number of buckets minus one. If BSIZE==0 there is member in struct:cvmx_tim_ringx_ctl1::cvmx_tim_ringx_ctl1_cn68xxp1
1286 uint64_t bsize : 20;
H A Dcvmx-tim.c197 ring_ctl1.s.bsize = cvmx_tim.num_buckets - 1;
/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_htree.c355 uint32_t bsize; local
361 bsize = m_fs->e2fs_bsize;
374 if (ext2_blkatoff(vp, blk * bsize, NULL, &bp) != 0) {
379 *offp = blk * bsize;
381 *prevoffp = blk * bsize;
382 *endusefulp = blk * bsize;
H A Dext2_lookup.c727 uint32_t bsize = ip->i_e2fs->e2fs_bsize; local
734 top = (struct ext2fs_direct_2 *)((char *)data + bsize);
747 i = bsize - (offset & (bsize - 1));
/freebsd-12-stable/stand/libsa/zfs/
H A Dzfsimpl.c637 uint64_t bsize; local
639 bsize = vim->vim_dn->dn_datablkszsec << SPA_MINBLOCKSHIFT;
642 if (size > bsize) {
643 size = bsize / sizeof (*vim->vim_entries);
2226 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT; local
2230 if (bsize > SPA_MAXBLOCKSIZE) {
2237 * Note: bsize may not be a power of two here so we need to do an
2241 uint64_t bn = offset / bsize;
2242 int boff = offset % bsize;
2264 memset(dnode_cache_buf, 0, bsize);
2460 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT; local
2601 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT; local
2764 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT; local
[all...]
/freebsd-12-stable/sys/fs/smbfs/
H A Dsmbfs_smb.c147 uint32_t bsize, bpu; local
169 md_get_uint32le(mdp, &bsize);
170 sbp->f_bsize = bpu * bsize; /* fundamental filesystem block size */
188 u_int16_t bsize; local
211 md_get_uint16le(mdp, &bsize);
212 sbp->f_bsize = bpu * bsize; /* fundamental filesystem block size */
228 u_int16_t units, bpu, bsize, funits; local
247 md_get_uint16le(mdp, &bsize);
249 sbp->f_bsize = bpu * bsize; /* fundamental filesystem block size */
/freebsd-12-stable/sys/dev/cesa/
H A Dcesa.c549 unsigned int bsize; local
552 bsize = MIN(seg->ds_len, cp->cp_size - cp->cp_offset);
554 if (bsize > 0) {
556 CESA_DATA(cp->cp_offset), seg->ds_addr, bsize);
563 CESA_DATA(cp->cp_offset), bsize);
569 seg->ds_len -= bsize;
570 seg->ds_addr += bsize;
571 cp->cp_offset += bsize;
574 return (bsize);
/freebsd-12-stable/lib/libc/db/hash/
H A Dhash.c302 if (info->bsize) {
304 hashp->BSHIFT = __log2(info->bsize);
919 P_32_COPY(srcp->bsize, destp->bsize);
950 M_32_SWAP(hdrp->bsize);
/freebsd-12-stable/sys/kern/
H A Dkern_sendfile.c426 int *bsize)
437 *bsize = 0;
450 *bsize = vp->v_mount->mnt_stat.f_iosize;
539 int error, softerr, bsize, hdrlen; local
548 error = sendfile_getobj(td, fp, &obj, &vp, &shmfd, &obj_size, &bsize);
424 sendfile_getobj(struct thread *td, struct file *fp, vm_object_t *obj_res, struct vnode **vp_res, struct shmfd **shmfd_res, off_t *obj_size, int *bsize) argument
H A Dvfs_default.c984 int bsize, error; local
1021 bsize = vp->v_bufobj.bo_bsize;
1022 startn = ap->a_start / bsize;
1023 endn = ap->a_end / bsize;
/freebsd-12-stable/usr.sbin/makefs/ffs/
H A Dmkfs.c104 static int bsize; /* block size */ variable
133 bsize = ffs_opts->bsize;
184 sblock.fs_bsize = bsize;
217 if (maxbsize < bsize || !POWEROF2(maxbsize)) {
/freebsd-12-stable/sys/ufs/ffs/
H A Dffs_subr.c87 int bsize, error; local
92 bsize = blksize(fs, ip, lbn);
95 error = bread(vp, lbn, bsize, NOCRED, &bp);
H A Dffs_inode.c561 long bsize; local
567 bsize = blksize(fs, ip, i);
568 ffs_blkfree(ump, fs, ump->um_devvp, bn, bsize, ip->i_number,
570 blocksreleased += btodb(bsize);
/freebsd-12-stable/sbin/newfs/
H A Dmkfs.c176 sblock.fs_bsize = bsize;
220 maxbsize = bsize;
221 if (maxbsize < bsize || !POWEROF2(maxbsize)) {
237 maxcontig = MAX(1, MAXPHYS / bsize);
345 bsize <<= 1;
348 "of this size. Increasing blocksize to", bsize);
/freebsd-12-stable/stand/common/
H A Dbcache.c96 * Initialise the cache for (nblks) of (bsize).
99 bcache_init(size_t nblks, size_t bsize) argument
103 bcache_blksize = bsize;
H A Dbootstrap.h79 void bcache_init(size_t nblks, size_t bsize);
/freebsd-12-stable/sys/dev/sound/pci/
H A Denvy24.c1641 /* unsigned int bcnt, bsize; */
1678 bsize = ch->blk * 4 / ENVY24_PLAY_BUFUNIT;
1680 bsize = ch->blk * 4 / ENVY24_REC_BUFUNIT;
1681 bsize *= ch->unit;
1682 bcnt = ch->size / bsize;
1683 sndbuf_resize(ch->buffer, bcnt, bsize);
1732 unsigned int bcnt, bsize; local
1754 bsize = ch->blk * 4 / ENVY24_PLAY_BUFUNIT;
1756 bsize = ch->blk * 4 / ENVY24_REC_BUFUNIT;
1757 bsize *
[all...]
H A Denvy24ht.c1552 /* unsigned int bcnt, bsize; */
1589 bsize = ch->blk * 4 / ENVY24HT_PLAY_BUFUNIT;
1591 bsize = ch->blk * 4 / ENVY24HT_REC_BUFUNIT;
1592 bsize *= ch->unit;
1593 bcnt = ch->size / bsize;
1594 sndbuf_resize(ch->buffer, bcnt, bsize);
1643 unsigned int bcnt, bsize; local
1665 bsize = ch->blk * 4 / ENVY24HT_PLAY_BUFUNIT;
1667 bsize = ch->blk * 4 / ENVY24HT_REC_BUFUNIT;
1668 bsize *
[all...]
/freebsd-12-stable/sbin/ifconfig/
H A Difieee80211.c3984 char buf[], size_t bsize)
3988 strlcat(buf, " FHSS", bsize);
3990 strlcat(buf, " 11a", bsize);
3992 strlcat(buf, " 11g", bsize);
3994 strlcat(buf, " 11b", bsize);
3996 strlcat(buf, "/10MHz", bsize);
3998 strlcat(buf, "/5MHz", bsize);
4000 strlcat(buf, " Turbo", bsize);
4003 strlcat(buf, " vht/80p80", bsize);
4005 strlcat(buf, " vht/160", bsize);
3983 get_chaninfo(const struct ieee80211_channel *c, int precise, char buf[], size_t bsize) argument
[all...]
/freebsd-12-stable/contrib/lua/src/
H A Dlauxlib.c457 size_t bsize; member in struct:UBox
465 void *temp = allocf(ud, box->box, box->bsize, newsize);
471 box->bsize = newsize;
485 box->bsize = 0;
/freebsd-12-stable/contrib/binutils/bfd/
H A Dcoffswap.h613 aouthdr_int->bsize = GET_AOUTHDR_BSIZE (abfd, aouthdr_ext->bsize);
684 PUT_AOUTHDR_BSIZE (abfd, aouthdr_in->bsize, aouthdr_out->bsize);
/freebsd-12-stable/stand/libsa/
H A Ddosfs.c302 off &= f->fs->bsize - 1;
320 if (!clus || (n = f->fs->bsize - off) > cnt)
511 fs->bsize = secbyt(fs->spc);
512 fs->bshift = ffs(fs->bsize) - 1;
/freebsd-12-stable/sys/dev/malo/
H A Dif_malo.c513 int error, bsize, i; local
526 bsize = malo_rxbuf * sizeof(struct malo_rxbuf);
527 bf = malloc(bsize, M_MALODEV, M_NOWAIT | M_ZERO);
530 "malloc of %u rx buffers failed\n", bsize);
557 int error, bsize, i; local
568 bsize = malo_txbuf * sizeof(struct malo_txbuf);
569 bf = malloc(bsize, M_MALODEV, M_NOWAIT | M_ZERO);
/freebsd-12-stable/crypto/heimdal/lib/hx509/
H A Dcrypto.c2594 size_t padsize, bsize; local
2624 bsize = EVP_CIPHER_block_size(crypto->c);
2628 if (bsize != 1 && (length % bsize) != 0)
2631 if (bsize != 1)
2632 padsize = bsize - (length % bsize);
2730 int j, bsize = EVP_CIPHER_block_size(crypto->c); local
2732 if ((int)clear->length < bsize) {
2740 if (padsize > bsize) {
[all...]

Completed in 609 milliseconds

123456