Lines Matching refs:blocksize
1701 int blocksize; in ext3_fill_super() local
1723 blocksize = sb_min_blocksize(sb, EXT3_MIN_BLOCK_SIZE); in ext3_fill_super()
1724 if (!blocksize) { in ext3_fill_super()
1733 if (blocksize != EXT3_MIN_BLOCK_SIZE) { in ext3_fill_super()
1734 logic_sb_block = (sb_block * EXT3_MIN_BLOCK_SIZE) / blocksize; in ext3_fill_super()
1735 offset = (sb_block * EXT3_MIN_BLOCK_SIZE) % blocksize; in ext3_fill_super()
1824 blocksize = BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); in ext3_fill_super()
1826 if (blocksize < EXT3_MIN_BLOCK_SIZE || in ext3_fill_super()
1827 blocksize > EXT3_MAX_BLOCK_SIZE) { in ext3_fill_super()
1830 "filesystem blocksize %d", blocksize); in ext3_fill_super()
1835 if (sb->s_blocksize != blocksize) { in ext3_fill_super()
1840 if (blocksize < hblock) { in ext3_fill_super()
1843 "hardware sectorsize %d", blocksize, hblock); in ext3_fill_super()
1848 if (!sb_set_blocksize(sb, blocksize)) { in ext3_fill_super()
1850 "error: bad blocksize %d", blocksize); in ext3_fill_super()
1853 logic_sb_block = (sb_block * EXT3_MIN_BLOCK_SIZE) / blocksize; in ext3_fill_super()
1854 offset = (sb_block * EXT3_MIN_BLOCK_SIZE) % blocksize; in ext3_fill_super()
1880 (sbi->s_inode_size > blocksize)) { in ext3_fill_super()
1889 if (blocksize != sbi->s_frag_size) { in ext3_fill_super()
1892 sbi->s_frag_size, blocksize); in ext3_fill_super()
1901 sbi->s_inodes_per_block = blocksize / EXT3_INODE_SIZE(sb); in ext3_fill_super()
1906 sbi->s_desc_per_block = blocksize / sizeof(struct ext3_group_desc); in ext3_fill_super()
1926 if (sbi->s_blocks_per_group > blocksize * 8) { in ext3_fill_super()
1932 if (sbi->s_frags_per_group > blocksize * 8) { in ext3_fill_super()
1938 if (sbi->s_inodes_per_group > blocksize * 8) { in ext3_fill_super()
2234 int hblock, blocksize; in ext3_get_dev_journal() local
2244 blocksize = sb->s_blocksize; in ext3_get_dev_journal()
2246 if (blocksize < hblock) { in ext3_get_dev_journal()
2252 sb_block = EXT3_MIN_BLOCK_SIZE / blocksize; in ext3_get_dev_journal()
2253 offset = EXT3_MIN_BLOCK_SIZE % blocksize; in ext3_get_dev_journal()
2254 set_blocksize(bdev, blocksize); in ext3_get_dev_journal()
2255 if (!(bh = __bread(bdev, sb_block, blocksize))) { in ext3_get_dev_journal()
2282 start, len, blocksize); in ext3_get_dev_journal()