Lines Matching defs:blocksize
822 int blocksize = BLOCK_SIZE;
847 * See what the current blocksize for the device is, and
848 * use that as the blocksize. Otherwise (or if the blocksize
853 blocksize = sb_min_blocksize(sb, BLOCK_SIZE);
854 if (!blocksize) {
855 ext2_msg(sb, KERN_ERR, "error: unable to set blocksize");
863 if (blocksize != BLOCK_SIZE) {
864 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize;
865 offset = (sb_block*BLOCK_SIZE) % blocksize;
959 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size);
962 if (!bdev_dax_supported(sb->s_bdev, blocksize)) {
969 /* If the blocksize doesn't match, re-read the thing.. */
970 if (sb->s_blocksize != blocksize) {
973 if (!sb_set_blocksize(sb, blocksize)) {
975 "error: bad blocksize %d", blocksize);
979 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize;
980 offset = (sb_block*BLOCK_SIZE) % blocksize;
1008 (sbi->s_inode_size > blocksize)) {
1038 ext2_msg(sb, KERN_ERR, "error: unsupported blocksize");
1044 "error: fragsize log %u != blocksize log %u",