Searched refs:s_bshift (Results 1 – 3 of 3) sorted by relevance
257 #define ufs_lblktosize(blk) ((blk) << uspi->s_bshift)258 #define ufs_lblkno(loc) ((loc) >> uspi->s_bshift)746 __u32 s_bshift; /* `lblkno'' calc of logical blkno */ member
772 if (res >= (MAX_LFS_FILESIZE >> uspi->s_bshift)) in ufs_max_bytes()774 return res << uspi->s_bshift; in ufs_max_bytes()1178 uspi->s_bshift = fs32_to_cpu(sb, usb1->fs_bshift); in ufs_fill_super()1180 UFSD("uspi->s_bshift = %d,uspi->s_fshift = %d", uspi->s_bshift, in ufs_fill_super()1231 uspi->s_apbshift = uspi->s_bshift - 3; in ufs_fill_super()1233 uspi->s_apbshift = uspi->s_bshift - 2; in ufs_fill_super()
1131 sector_t last = (inode->i_size - 1) >> uspi->s_bshift; in ufs_truncate_blocks()