Lines Matching refs:blocksize
744 int blocksize = BLOCK_SIZE;
766 * See what the current blocksize for the device is, and
767 * use that as the blocksize. Otherwise (or if the blocksize
772 blocksize = sb_min_blocksize(sb, BLOCK_SIZE);
773 if (!blocksize) {
774 ext2_msg(sb, KERN_ERR, "error: unable to set blocksize");
782 if (blocksize != BLOCK_SIZE) {
783 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize;
784 offset = (sb_block*BLOCK_SIZE) % blocksize;
870 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size);
872 if (ext2_use_xip(sb) && blocksize != PAGE_SIZE) {
875 "error: unsupported blocksize for xip");
879 /* If the blocksize doesn't match, re-read the thing.. */
880 if (sb->s_blocksize != blocksize) {
883 if (!sb_set_blocksize(sb, blocksize)) {
884 ext2_msg(sb, KERN_ERR, "error: blocksize is too small");
888 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize;
889 offset = (sb_block*BLOCK_SIZE) % blocksize;
914 (sbi->s_inode_size > blocksize)) {
953 ext2_msg(sb, KERN_ERR, "error: unsupported blocksize");
959 "error: fragsize %lu != blocksize %lu"
1216 "warning: unsupported blocksize for xip");