Lines Matching refs:s_blocksize
656 EXT2FS_VERSION, EXT2FS_DATE, sb->s_blocksize, in ext2_setup_super()
935 if (sb->s_blocksize != blocksize) { in ext2_fill_super()
983 sbi->s_frags_per_block = sb->s_blocksize / sbi->s_frag_size; in ext2_fill_super()
991 sbi->s_inodes_per_block = sb->s_blocksize / EXT2_INODE_SIZE(sb); in ext2_fill_super()
996 sbi->s_desc_per_block = sb->s_blocksize / in ext2_fill_super()
1008 if (sb->s_blocksize != bh->b_size) { in ext2_fill_super()
1014 if (sb->s_blocksize != sbi->s_frag_size) { in ext2_fill_super()
1018 sbi->s_frag_size, sb->s_blocksize); in ext2_fill_super()
1022 if (sbi->s_blocks_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1028 if (sbi->s_frags_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1034 if (sbi->s_inodes_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1417 buf->f_bsize = sb->s_blocksize; in ext2_statfs()
1454 int offset = off & (sb->s_blocksize - 1); in ext2_quota_read()
1467 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1468 sb->s_blocksize - offset : toread; in ext2_quota_read()
1471 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1499 int offset = off & (sb->s_blocksize - 1); in ext2_quota_write()
1506 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1507 sb->s_blocksize - offset : towrite; in ext2_quota_write()
1510 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()