Lines Matching defs:blocksize
606 * dense, 4k-blocksize file such that the total number of
651 int blocksize = BLOCK_SIZE;
662 * See what the current blocksize for the device is, and
663 * use that as the blocksize. Otherwise (or if the blocksize
668 blocksize = sb_min_blocksize(sb, BLOCK_SIZE);
669 if (!blocksize) {
670 printk ("EXT2-fs: unable to set blocksize\n");
678 if (blocksize != BLOCK_SIZE) {
679 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize;
680 offset = (sb_block*BLOCK_SIZE) % blocksize;
763 blocksize = BLOCK_SIZE << le32_to_cpu(sbi->s_es->s_log_block_size);
765 if ((ext2_use_xip(sb)) && ((blocksize != PAGE_SIZE) ||
766 (sb->s_blocksize != blocksize))) {
768 printk("XIP: Unsupported blocksize\n");
772 /* If the blocksize doesn't match, re-read the thing.. */
773 if (sb->s_blocksize != blocksize) {
776 if (!sb_set_blocksize(sb, blocksize)) {
777 printk(KERN_ERR "EXT2-fs: blocksize too small for device.\n");
781 logic_sb_block = (sb_block*BLOCK_SIZE) / blocksize;
782 offset = (sb_block*BLOCK_SIZE) % blocksize;
807 (sbi->s_inode_size > blocksize)) {
845 printk ("VFS: Unsupported blocksize on dev "
851 printk ("EXT2-fs: fragsize %lu != blocksize %lu (not supported yet)\n",
1045 printk("XIP: Unsupported blocksize\n");