Lines Matching defs:blocksize
816 int blocksize = BLOCK_SIZE;
842 * See what the current blocksize for the device is, and
843 * use that as the blocksize. Otherwise (or if the blocksize
848 blocksize = sb_min_blocksize(sb, BLOCK_SIZE);
849 if (!blocksize) {
850 ext2_msg(sb, KERN_ERR, "error: unable to set blocksize");
858 if (blocksize != BLOCK_SIZE) {
859 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize;
860 offset = (sb_block*BLOCK_SIZE) % blocksize;
954 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size);
961 } else if (blocksize != PAGE_SIZE) {
962 ext2_msg(sb, KERN_ERR, "unsupported blocksize for DAX\n");
967 /* If the blocksize doesn't match, re-read the thing.. */
968 if (sb->s_blocksize != blocksize) {
971 if (!sb_set_blocksize(sb, blocksize)) {
973 "error: bad blocksize %d", blocksize);
977 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize;
978 offset = (sb_block*BLOCK_SIZE) % blocksize;
1006 (sbi->s_inode_size > blocksize)) {
1036 ext2_msg(sb, KERN_ERR, "error: unsupported blocksize");
1042 "error: fragsize log %u != blocksize log %u",