Lines Matching refs:blocksize

220 	sprintf(buf, "badblocks -b %d -X %s%s%s %llu", fs->blocksize,  in test_disk()
420 if ((lpf_size += fs->blocksize) >= 16*1024 && in create_lost_and_found()
421 lpf_size >= 2 * fs->blocksize) in create_lost_and_found()
491 io_channel_set_blksize(fs->io, fs->blocksize); in zap_sector()
573 printf(_("Block size=%u (log=%u)\n"), fs->blocksize, in show_stats()
578 fs->blocksize << fs->cluster_ratio_bits, in show_stats()
763 unsigned int gdpb, blocksize; in parse_extended_opts() local
790 blocksize = EXT2_BLOCK_SIZE(param); in parse_extended_opts()
793 bpg = blocksize * 8; in parse_extended_opts()
1235 int blocksize; in get_device_geometry() local
1256 blocksize = EXT2_BLOCK_SIZE(fs_param); in get_device_geometry()
1257 if ((min_io == 0) && (psector_size > blocksize)) in get_device_geometry()
1261 if ((opt_io == 0) && (psector_size > blocksize)) in get_device_geometry()
1265 if (min_io > blocksize) in get_device_geometry()
1266 fs_param->s_raid_stride = min_io / blocksize; in get_device_geometry()
1267 if (opt_io > blocksize) in get_device_geometry()
1268 fs_param->s_raid_stripe_width = opt_io / blocksize; in get_device_geometry()
1282 int blocksize = 0; in PRS() local
1403 blocksize = parse_num_blocks2(optarg, -1); in PRS()
1404 b = (blocksize > 0) ? blocksize : -blocksize; in PRS()
1411 if (blocksize > 4096) in PRS()
1414 blocksize); in PRS()
1415 if (blocksize > 0) in PRS()
1417 int_log2(blocksize >> in PRS()
1617 if (blocksize <= 0 && journal_device) { in PRS()
1637 if ((blocksize < 0) && (jfs->blocksize < (unsigned) (-blocksize))) { in PRS()
1640 "minimum blocksize %d\n"), jfs->blocksize, in PRS()
1641 -blocksize); in PRS()
1644 blocksize = jfs->blocksize; in PRS()
1645 printf(_("Using journal device's blocksize: %d\n"), blocksize); in PRS()
1647 int_log2(blocksize >> EXT2_MIN_BLOCK_LOG_SIZE); in PRS()
1791 if (blocksize <= 0) { in PRS()
1802 if ((blocksize < 0) && (use_bsize < (-blocksize))) in PRS()
1803 use_bsize = -blocksize; in PRS()
1804 blocksize = use_bsize; in PRS()
1805 fs_blocks_count /= (blocksize / 1024); in PRS()
1807 if (blocksize < lsector_size) { /* Impossible */ in PRS()
1812 } else if ((blocksize < psector_size) && in PRS()
1816 blocksize, psector_size); in PRS()
1821 int_log2(blocksize >> EXT2_MIN_BLOCK_LOG_SIZE); in PRS()
1923 blocksize*16); in PRS()
1944 if (inode_ratio < blocksize) in PRS()
1945 inode_ratio = blocksize; in PRS()
1964 blocksize = EXT2_BLOCK_SIZE(&fs_param); in PRS()
1975 if (blocksize > sys_page_size) { in PRS()
1979 blocksize, sys_page_size); in PRS()
1984 blocksize, sys_page_size); in PRS()
2057 fs_param.s_blocks_per_group > 8 * (unsigned) blocksize) { in PRS()
2097 blocksize); in PRS()
2106 n = ext2fs_blocks_count(&fs_param) * blocksize / inode_ratio; in PRS()
2128 (ext2fs_blocks_count(&fs_param) * blocksize) / inode_ratio; in PRS()
2287 retval = io_channel_discard(fs->io, 0, fs->blocksize); in mke2fs_discard_device()
2290 cur = fs->blocksize; in mke2fs_discard_device()
2293 count /= fs->blocksize; in mke2fs_discard_device()
2444 sprintf(tdb_string, "tdb_data_size=%d", fs->blocksize <= 4096 ? in main()
2445 32768 : fs->blocksize * 8); in main()
2605 blk64_t rsv = 65536 / fs->blocksize; in main()
2657 fs->blocksize, unix_io_manager, &jfs); in main()