Home
last modified time | relevance | path

Searched refs:bshift (Results 1 – 25 of 32) sorted by relevance

12

/netbsd-src/sys/fs/cd9660/
H A Dcd9660_bmap.c70 int bshift; in cd9660_bmap() local
84 bshift = ip->i_mnt->im_bshift; in cd9660_bmap()
85 *ap->a_bnp = (ip->iso_start + lblkno) << (bshift - DEV_BSHIFT); in cd9660_bmap()
94 nblk = (ip->i_size >> bshift) - (lblkno + 1); in cd9660_bmap()
97 else if (nblk >= (MAXBSIZE >> bshift)) in cd9660_bmap()
98 *ap->a_runp = (MAXBSIZE >> bshift) - 1; in cd9660_bmap()
/netbsd-src/sys/fs/filecorefs/
H A Dfilecore_bmap.c118 int bshift=fcmp->log2bsize; in filecore_bmap() local
120 nblk = (ip->i_size >> bshift) - (lbn + 1); in filecore_bmap()
123 else if (nblk >= (MAXBSIZE >> bshift)) in filecore_bmap()
124 *ap->a_runp = (MAXBSIZE >> bshift) - 1; in filecore_bmap()
/netbsd-src/sys/fs/udf/
H A Dudf_vfsops.c572 uint32_t sector_size, lb_size, bshift; in udf_mountfs() local
617 bshift = 1; in udf_mountfs()
618 while ((1 << bshift) < sector_size) in udf_mountfs()
619 bshift++; in udf_mountfs()
620 if ((1 << bshift) != sector_size) { in udf_mountfs()
709 mp->mnt_dev_bshift = bshift; in udf_mountfs()
710 mp->mnt_fs_bshift = bshift; in udf_mountfs()
/netbsd-src/sys/lib/libsa/
H A Ddosfs.c74 u_int bshift; /* cluster conversion shift */ member
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; in parsebs()
/netbsd-src/sys/ufs/ext2fs/
H A Dext2fs_balloc.c358 int error, delta, bshift, bsize; in ext2fs_gop_alloc() local
361 bshift = fs->e2fs_bshift; in ext2fs_gop_alloc()
362 bsize = 1 << bshift; in ext2fs_gop_alloc()
/netbsd-src/sys/ufs/lfs/
H A Dulfs_inode.c178 int bshift = vp->v_mount->mnt_fs_bshift; in ulfs_balloc_range() local
179 int bsize = 1 << bshift; in ulfs_balloc_range()
H A Dulfs_lookup.c1205 const int bshift = mp->mnt_fs_bshift; in ulfs_blkatoff() local
1206 const int bsize = 1 << bshift; in ulfs_blkatoff()
1214 lbn = offset >> bshift; in ulfs_blkatoff()
1217 const off_t curoff = lbn << bshift; in ulfs_blkatoff()
H A Dulfs_vnops.c1228 int error, delta, bshift, bsize; in ulfs_gop_alloc() local
1234 bshift = vp->v_mount->mnt_fs_bshift; in ulfs_gop_alloc()
1235 bsize = 1 << bshift; in ulfs_gop_alloc()
/netbsd-src/lib/libc/db/hash/
H A Dhash.h72 int32_t bshift; /* Bucket shift */ member
282 #define BSHIFT hdr.bshift
H A Dhash.c957 P_32_COPY(srcp->bshift, destp->bshift); in swap_header_copy()
988 M_32_SWAP(hdrp->bshift); in swap_header()
/netbsd-src/sys/fs/hfs/
H A Dhfs_vnops.c735 int bshift; in hfs_vop_bmap() local
740 bshift = vp->v_mount->mnt_fs_bshift; in hfs_vop_bmap()
775 *ap->a_bnp = ((extents[i].start_block + lblkno) << (bshift-DEV_BSHIFT)) in hfs_vop_bmap()
784 else if (nblk > MAXBSIZE >> bshift) in hfs_vop_bmap()
785 *ap->a_runp = (MAXBSIZE >> bshift) - 1; in hfs_vop_bmap()
/netbsd-src/sbin/fsck_lfs/
H A Dsetup.c119 calcmaxfilesize(unsigned bshift) in calcmaxfilesize() argument
124 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); in calcmaxfilesize()
127 return maxblock << bshift; in calcmaxfilesize()
/netbsd-src/sys/ufs/ufs/
H A Dufs_inode.c209 int bshift = vp->v_mount->mnt_fs_bshift; in ufs_balloc_range() local
210 int bsize = 1 << bshift; in ufs_balloc_range()
H A Dufs_lookup.c1368 const int bshift = mp->mnt_fs_bshift; in ufs_blkatoff() local
1369 const int bsize = 1 << bshift; in ufs_blkatoff()
1377 lbn = offset >> bshift; in ufs_blkatoff()
1380 const off_t curoff = lbn << bshift; in ufs_blkatoff()
H A Dufs_vnops.c2319 int error, delta, bshift, bsize; in ufs_gop_alloc() local
2323 bshift = vp->v_mount->mnt_fs_bshift; in ufs_gop_alloc()
2324 bsize = 1 << bshift; in ufs_gop_alloc()
/netbsd-src/sys/miscfs/genfs/
H A Dgenfs_io.c1875 int bsize, bshift, run; in genfs_do_directio() local
1877 bshift = vp->v_mount->mnt_fs_bshift; in genfs_do_directio()
1878 bsize = 1 << bshift; in genfs_do_directio()
1879 lbn = off >> bshift; in genfs_do_directio()
1880 elbn = (off + len + bsize - 1) >> bshift; in genfs_do_directio()
/netbsd-src/sbin/newfs_lfs/
H A Dmake_lfs.c276 maxfilesize(struct lfs *fs, int bshift) in maxfilesize() argument
281 nptr = (1 << bshift) / LFS_BLKPTRSIZE(fs); in maxfilesize()
284 return maxblock << bshift; in maxfilesize()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/microblaze/
H A Dmicroblaze.md79 ;; bshift Shift operations
82 …,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,bshift,fadd,frsub,fmul,fd…
262 (and (eq_attr "type" "bshift")
329 (and (eq_attr "type" "bshift")
1342 [(set_attr "type" "bshift,bshift")
1503 [(set_attr "type" "bshift,bshift")
1592 [(set_attr "type" "bshift,bshift")
/netbsd-src/external/gpl3/gcc/dist/gcc/config/microblaze/
H A Dmicroblaze.md79 ;; bshift Shift operations
82 …,no_delay_arith,no_delay_load,no_delay_store,no_delay_imul,no_delay_move,bshift,fadd,frsub,fmul,fd…
262 (and (eq_attr "type" "bshift")
329 (and (eq_attr "type" "bshift")
1342 [(set_attr "type" "bshift,bshift")
1503 [(set_attr "type" "bshift,bshift")
1592 [(set_attr "type" "bshift,bshift")
/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dvdev_cache.c97 SYSCTL_INT(_vfs_zfs_vdev_cache, OID_AUTO, bshift, CTLFLAG_RDTUN,
/netbsd-src/sys/arch/sparc/stand/bootblk/
H A Dbootblk.fth240 r@ fs_bshift l@ d<< ( inop >ndaddr? d-lbn+1<<bshift )
241 2swap >r di-size d@ ( d-lbn+1<<bshift d-size )
293 r@ fs_bshift l@ d<< ( inop >ndaddr? d-lbn+1<<bshift )
294 2swap >r di-size d@ ( d-lbn+1<<bshift d-size )
/netbsd-src/external/gpl3/gdb.old/dist/libdecnumber/
H A DdecNumber.c6332 const Unit *b, Int blength, Int bshift, argument
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 */
/netbsd-src/external/gpl3/gcc.old/dist/libdecnumber/
H A DdecNumber.c6332 const Unit *b, Int blength, Int bshift, argument
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 */
/netbsd-src/external/gpl3/gdb/dist/libdecnumber/
H A DdecNumber.c6332 const Unit *b, Int blength, Int bshift, argument
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 */
/netbsd-src/external/gpl3/gcc/dist/libdecnumber/
H A DdecNumber.c6332 const Unit *b, Int blength, Int bshift, argument
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 */

12