Lines Matching refs:s_blocksize
678 EXT2FS_VERSION, EXT2FS_DATE, sb->s_blocksize, in ext2_setup_super()
960 if (sb->s_blocksize != blocksize) { in ext2_fill_super()
1010 sbi->s_frags_per_block = sb->s_blocksize / sbi->s_frag_size; in ext2_fill_super()
1016 sbi->s_inodes_per_block = sb->s_blocksize / EXT2_INODE_SIZE(sb); in ext2_fill_super()
1021 sbi->s_desc_per_block = sb->s_blocksize / in ext2_fill_super()
1033 if (sb->s_blocksize != bh->b_size) { in ext2_fill_super()
1039 if (sb->s_blocksize != sbi->s_frag_size) { in ext2_fill_super()
1043 sbi->s_frag_size, sb->s_blocksize); in ext2_fill_super()
1047 if (sbi->s_blocks_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1053 if (sbi->s_frags_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1059 if (sbi->s_inodes_per_group > sb->s_blocksize * 8) { in ext2_fill_super()
1445 buf->f_bsize = sb->s_blocksize; in ext2_statfs()
1481 int offset = off & (sb->s_blocksize - 1); in ext2_quota_read()
1494 tocopy = sb->s_blocksize - offset < toread ? in ext2_quota_read()
1495 sb->s_blocksize - offset : toread; in ext2_quota_read()
1498 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_read()
1526 int offset = off & (sb->s_blocksize - 1); in ext2_quota_write()
1533 tocopy = sb->s_blocksize - offset < towrite ? in ext2_quota_write()
1534 sb->s_blocksize - offset : towrite; in ext2_quota_write()
1537 tmp_bh.b_size = sb->s_blocksize; in ext2_quota_write()