/netbsd-current/sys/fs/cd9660/ |
H A D | cd9660_bmap.c | 70 int bshift; local 84 bshift = ip->i_mnt->im_bshift; 85 *ap->a_bnp = (ip->iso_start + lblkno) << (bshift - DEV_BSHIFT); 94 nblk = (ip->i_size >> bshift) - (lblkno + 1); 97 else if (nblk >= (MAXBSIZE >> bshift)) 98 *ap->a_runp = (MAXBSIZE >> bshift) - 1;
|
/netbsd-current/sys/fs/filecorefs/ |
H A D | filecore_bmap.c | 118 int bshift=fcmp->log2bsize; local 120 nblk = (ip->i_size >> bshift) - (lbn + 1); 123 else if (nblk >= (MAXBSIZE >> bshift)) 124 *ap->a_runp = (MAXBSIZE >> bshift) - 1;
|
/netbsd-current/lib/libc/db/hash/ |
H A D | hash.h | 72 int32_t bshift; /* Bucket shift */ member in struct:hashhdr 282 #define BSHIFT hdr.bshift
|
H A D | hash.c | 957 P_32_COPY(srcp->bshift, destp->bshift); 988 M_32_SWAP(hdrp->bshift);
|
/netbsd-current/sys/fs/udf/ |
H A D | udf_vfsops.c | 572 uint32_t sector_size, lb_size, bshift; local 617 bshift = 1; 618 while ((1 << bshift) < sector_size) 619 bshift++; 620 if ((1 << bshift) != sector_size) { 708 /* bshift is always equal to disc sector size */ 709 mp->mnt_dev_bshift = bshift; 710 mp->mnt_fs_bshift = bshift;
|
/netbsd-current/sys/ufs/ext2fs/ |
H A D | ext2fs_balloc.c | 358 int error, delta, bshift, bsize; local 361 bshift = fs->e2fs_bshift; 362 bsize = 1 << bshift;
|
/netbsd-current/sys/ufs/lfs/ |
H A D | ulfs_inode.c | 178 int bshift = vp->v_mount->mnt_fs_bshift; local 179 int bsize = 1 << bshift;
|
H A D | ulfs_lookup.c | 1205 const int bshift = mp->mnt_fs_bshift; local 1206 const int bsize = 1 << bshift; 1214 lbn = offset >> bshift; 1217 const off_t curoff = lbn << bshift;
|
H A D | ulfs_vnops.c | 1228 int error, delta, bshift, bsize; local 1234 bshift = vp->v_mount->mnt_fs_bshift; 1235 bsize = 1 << bshift;
|
H A D | lfs_accessors.h | 1217 LFS_DEF_SB_ACCESSOR(uint32_t, bshift)
|
/netbsd-current/sys/ufs/ufs/ |
H A D | ufs_inode.c | 209 int bshift = vp->v_mount->mnt_fs_bshift; local 210 int bsize = 1 << bshift;
|
H A D | ufs_lookup.c | 1368 const int bshift = mp->mnt_fs_bshift; local 1369 const int bsize = 1 << bshift; 1377 lbn = offset >> bshift; 1380 const off_t curoff = lbn << bshift;
|
H A D | ufs_vnops.c | 2319 int error, delta, bshift, bsize; local 2323 bshift = vp->v_mount->mnt_fs_bshift; 2324 bsize = 1 << bshift;
|
/netbsd-current/sbin/fsck_lfs/ |
H A D | setup.c | 119 calcmaxfilesize(unsigned bshift) argument 124 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); 127 return maxblock << bshift;
|
/netbsd-current/sys/lib/libsa/ |
H A D | dosfs.c | 74 u_int bshift; /* cluster conversion shift */ member in struct:__anon10 121 #define bytblk(fs, n) ((n) >> (fs)->bshift) 122 #define blkbyt(fs, b) ((BYTE_OFF_T)(b) << (fs)->bshift) 123 #define secblk(fs, s) ((s) >> ((fs)->bshift - SSHIFT)) 124 #define blksec(fs, b) ((b) << ((fs)->bshift - SSHIFT)) 442 fs->bshift = (u_int)ffs((int)fs->bsize) - 1;
|
/netbsd-current/sys/fs/hfs/ |
H A D | hfs_vnops.c | 735 int bshift; local 740 bshift = vp->v_mount->mnt_fs_bshift; 775 *ap->a_bnp = ((extents[i].start_block + lblkno) << (bshift-DEV_BSHIFT)) 784 else if (nblk > MAXBSIZE >> bshift) 785 *ap->a_runp = (MAXBSIZE >> bshift) - 1;
|
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/ |
H A D | vdev_cache.c | 97 SYSCTL_INT(_vfs_zfs_vdev_cache, OID_AUTO, bshift, CTLFLAG_RDTUN,
|
/netbsd-current/sbin/newfs_lfs/ |
H A D | make_lfs.c | 276 maxfilesize(struct lfs *fs, int bshift) argument 281 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); 284 return maxblock << bshift;
|
/netbsd-current/sys/miscfs/genfs/ |
H A D | genfs_io.c | 1875 int bsize, bshift, run; local 1877 bshift = vp->v_mount->mnt_fs_bshift; 1878 bsize = 1 << bshift; 1879 lbn = off >> bshift; 1880 elbn = (off + len + bsize - 1) >> bshift;
|
/netbsd-current/external/gpl3/gdb/dist/libdecnumber/ |
H A D | decNumber.c | 6301 /* requested (that is, C may be B only if bshift==0). */ 6332 const Unit *b, Int blength, Int bshift, 6351 if (bshift!=0) { /* B is shifted; low As copy across */ 6352 minC+=bshift; 6354 if (a==c && bshift<=alength) { 6355 c+=bshift; 6356 a+=bshift; 6358 else for (; c<clsu+bshift; a++, c++) { /* copy needed */ 6331 decUnitAddSub(const Unit *a, Int alength, const Unit *b, Int blength, Int bshift, Unit *c, Int m) argument
|
/netbsd-current/external/gpl3/gdb.old/dist/libdecnumber/ |
H A D | decNumber.c | 6301 /* requested (that is, C may be B only if bshift==0). */ 6332 const Unit *b, Int blength, Int bshift, 6351 if (bshift!=0) { /* B is shifted; low As copy across */ 6352 minC+=bshift; 6354 if (a==c && bshift<=alength) { 6355 c+=bshift; 6356 a+=bshift; 6358 else for (; c<clsu+bshift; a++, c++) { /* copy needed */ 6331 decUnitAddSub(const Unit *a, Int alength, const Unit *b, Int blength, Int bshift, Unit *c, Int m) argument
|
/netbsd-current/external/gpl3/gcc.old/dist/libdecnumber/ |
H A D | decNumber.c | 6301 /* requested (that is, C may be B only if bshift==0). */ 6332 const Unit *b, Int blength, Int bshift, 6351 if (bshift!=0) { /* B is shifted; low As copy across */ 6352 minC+=bshift; 6354 if (a==c && bshift<=alength) { 6355 c+=bshift; 6356 a+=bshift; 6358 else for (; c<clsu+bshift; a++, c++) { /* copy needed */ 6331 decUnitAddSub(const Unit *a, Int alength, const Unit *b, Int blength, Int bshift, Unit *c, Int m) argument
|
/netbsd-current/external/gpl3/gcc/dist/libdecnumber/ |
H A D | decNumber.c | 6301 /* requested (that is, C may be B only if bshift==0). */ 6332 const Unit *b, Int blength, Int bshift, 6351 if (bshift!=0) { /* B is shifted; low As copy across */ 6352 minC+=bshift; 6354 if (a==c && bshift<=alength) { 6355 c+=bshift; 6356 a+=bshift; 6358 else for (; c<clsu+bshift; a++, c++) { /* copy needed */ 6331 decUnitAddSub(const Unit *a, Int alength, const Unit *b, Int blength, Int bshift, Unit *c, Int m) argument
|
/netbsd-current/external/cddl/osnet/dist/cmd/ztest/ |
H A D | ztest.c | 4795 int bshift = SPA_MAXBLOCKSHIFT + 2; local 4981 offset = ztest_random(fsize / (leaves << bshift)) * 4982 (leaves << bshift) + (leaf << bshift) + 4983 (ztest_random(1ULL << (bshift - 1)) & -8ULL);
|
/netbsd-current/sys/dev/stbi/ |
H A D | stb_image.c | 3416 int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0; local 3438 bshift = high_bit(mb)-7; bcount = bitcount(mr); 3458 out[z++] = (uint8) shiftsigned(v & mb, bshift, bcount);
|