Lines Matching refs:s_blocksize
675 EXT2FS_VERSION, EXT2FS_DATE, sb->s_blocksize, in ext2_setup_super()
958 if (sb->s_blocksize != blocksize) { in ext2_fill_super()
1008 sbi->s_frags_per_block = sb->s_blocksize / sbi->s_frag_size; in ext2_fill_super()
1014 sbi->s_inodes_per_block = sb->s_blocksize / EXT2_INODE_SIZE(sb); in ext2_fill_super()
1019 sbi->s_desc_per_block = sb->s_blocksize / in ext2_fill_super()
1031 if (sb->s_blocksize != bh->b_size) { in ext2_fill_super()
1037 if (sb->s_blocksize != sbi->s_frag_size) { in ext2_fill_super()
1041 sbi->s_frag_size, sb->s_blocksize); in ext2_fill_super()
1045 if (sbi->s_blocks_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1051 if (sbi->s_frags_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1057 if (sbi->s_inodes_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1442 buf->f_bsize = sb->s_blocksize; in ext2_statfs()
1476 int offset = off & (sb->s_blocksize - 1); in ext2_quota_read()
1489 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1490 sb->s_blocksize - offset : toread; in ext2_quota_read()
1493 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1521 int offset = off & (sb->s_blocksize - 1); in ext2_quota_write()
1528 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1529 sb->s_blocksize - offset : towrite; in ext2_quota_write()
1532 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()