Lines Matching refs:s_blocksize
686 EXT2FS_VERSION, EXT2FS_DATE, sb->s_blocksize, in ext2_setup_super()
977 if (sb->s_blocksize != blocksize) { in ext2_fill_super()
1027 sbi->s_frags_per_block = sb->s_blocksize / sbi->s_frag_size; in ext2_fill_super()
1033 sbi->s_inodes_per_block = sb->s_blocksize / EXT2_INODE_SIZE(sb); in ext2_fill_super()
1038 sbi->s_desc_per_block = sb->s_blocksize / in ext2_fill_super()
1050 if (sb->s_blocksize != bh->b_size) { in ext2_fill_super()
1056 if (sb->s_blocksize != sbi->s_frag_size) { in ext2_fill_super()
1060 sbi->s_frag_size, sb->s_blocksize); in ext2_fill_super()
1064 if (sbi->s_blocks_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1070 if (sbi->s_frags_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1076 if (sbi->s_inodes_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1461 buf->f_bsize = sb->s_blocksize; in ext2_statfs()
1498 int offset = off & (sb->s_blocksize - 1); in ext2_quota_read()
1511 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1512 sb->s_blocksize - offset : toread; in ext2_quota_read()
1515 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1543 int offset = off & (sb->s_blocksize - 1); in ext2_quota_write()
1550 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1551 sb->s_blocksize - offset : towrite; in ext2_quota_write()
1554 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()