/src/sys/fs/cd9660/ |
cd9660_bmap.c | 70 int bshift; local in function:cd9660_bmap 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;
|
/src/sys/fs/filecorefs/ |
filecore_bmap.c | 118 int bshift=fcmp->log2bsize; local in function:filecore_bmap 120 nblk = (ip->i_size >> bshift) - (lbn + 1); 123 else if (nblk >= (MAXBSIZE >> bshift)) 124 *ap->a_runp = (MAXBSIZE >> bshift) - 1;
|
/src/sys/ufs/ext2fs/ |
ext2fs_balloc.c | 358 int error, delta, bshift, bsize; local in function:ext2fs_gop_alloc 361 bshift = fs->e2fs_bshift; 362 bsize = 1 << bshift;
|
/src/sys/ufs/lfs/ |
ulfs_inode.c | 178 int bshift = vp->v_mount->mnt_fs_bshift; local in function:ulfs_balloc_range 179 int bsize = 1 << bshift;
|
ulfs_vnops.c | 1228 int error, delta, bshift, bsize; local in function:ulfs_gop_alloc 1234 bshift = vp->v_mount->mnt_fs_bshift; 1235 bsize = 1 << bshift;
|
ulfs_lookup.c | 1205 const int bshift = mp->mnt_fs_bshift; local in function:ulfs_blkatoff 1206 const int bsize = 1 << bshift; 1214 lbn = offset >> bshift; 1217 const off_t curoff = lbn << bshift;
|
/src/sys/ufs/ufs/ |
ufs_inode.c | 209 int bshift = vp->v_mount->mnt_fs_bshift; local in function:ufs_balloc_range 210 int bsize = 1 << bshift;
|
ufs_vnops.c | 2319 int error, delta, bshift, bsize; local in function:ufs_gop_alloc 2323 bshift = vp->v_mount->mnt_fs_bshift; 2324 bsize = 1 << bshift;
|
ufs_lookup.c | 1368 const int bshift = mp->mnt_fs_bshift; local in function:ufs_blkatoff 1369 const int bsize = 1 << bshift; 1377 lbn = offset >> bshift; 1380 const off_t curoff = lbn << bshift;
|
/src/sys/fs/udf/ |
udf_vfsops.c | 572 uint32_t sector_size, lb_size, bshift; local in function:udf_mountfs 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;
|
/src/sys/fs/hfs/ |
hfs_vnops.c | 735 int bshift; local in function:hfs_vop_bmap 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;
|
/src/sys/lib/libsa/ |
dosfs.c | 74 u_int bshift; /* cluster conversion shift */ member in struct:__anonc34c81eb0208 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;
|
/src/lib/libc/db/hash/ |
hash.h | 72 int32_t bshift; /* Bucket shift */ member in struct:hashhdr 282 #define BSHIFT hdr.bshift
|
/src/sys/miscfs/genfs/ |
genfs_io.c | 1875 int bsize, bshift, run; local in function:genfs_do_directio 1877 bshift = vp->v_mount->mnt_fs_bshift; 1878 bsize = 1 << bshift; 1879 lbn = off >> bshift; 1880 elbn = (off + len + bsize - 1) >> bshift;
|
/src/sys/nfs/ |
nfs_vnops.c | 3056 int bshift = vp->v_mount->mnt_fs_bshift - vp->v_mount->mnt_dev_bshift; local in function:nfs_bmap 3061 *ap->a_bnp = ap->a_bn << bshift;
|
/src/sys/dev/stbi/ |
stb_image.c | 3416 int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0; local in function:bmp_load 3438 bshift = high_bit(mb)-7; bcount = bitcount(mr); 3458 out[z++] = (uint8) shiftsigned(v & mb, bshift, bcount);
|