Lines Matching refs:s_blocksize
651 EXT2FS_VERSION, EXT2FS_DATE, sb->s_blocksize, in ext2_setup_super()
929 if (sb->s_blocksize != blocksize) { in ext2_fill_super()
977 sbi->s_frags_per_block = sb->s_blocksize / sbi->s_frag_size; in ext2_fill_super()
985 sbi->s_inodes_per_block = sb->s_blocksize / EXT2_INODE_SIZE(sb); in ext2_fill_super()
990 sbi->s_desc_per_block = sb->s_blocksize / in ext2_fill_super()
1002 if (sb->s_blocksize != bh->b_size) { in ext2_fill_super()
1008 if (sb->s_blocksize != sbi->s_frag_size) { in ext2_fill_super()
1012 sbi->s_frag_size, sb->s_blocksize); in ext2_fill_super()
1016 if (sbi->s_blocks_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1022 if (sbi->s_frags_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1028 if (sbi->s_inodes_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1411 buf->f_bsize = sb->s_blocksize; in ext2_statfs()
1448 int offset = off & (sb->s_blocksize - 1); in ext2_quota_read()
1461 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1462 sb->s_blocksize - offset : toread; in ext2_quota_read()
1465 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1493 int offset = off & (sb->s_blocksize - 1); in ext2_quota_write()
1500 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1501 sb->s_blocksize - offset : towrite; in ext2_quota_write()
1504 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()