• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/

Lines Matching defs:blocksize

101 	int		blocksize;
118 int blocksize, int sector_size,
138 *inode_ratio = p->inode_ratio < blocksize ?
139 blocksize : p->inode_ratio;
140 use_bsize = p->blocksize;
142 if (blocksize <= 0) {
151 if ((blocksize < 0) && (use_bsize < (-blocksize)))
152 use_bsize = -blocksize;
153 blocksize = use_bsize;
154 super->s_blocks_count /= blocksize / 1024;
157 int_log2(blocksize >> EXT2_MIN_BLOCK_LOG_SIZE);
243 sprintf(buf, "badblocks -b %d %s%s%s %d", fs->blocksize,
403 buf = xzalloc(fs->blocksize * STRIDE_LENGTH);
505 if ((lpf_size += fs->blocksize) >= 16*1024)
568 io_channel_set_blksize(fs->io, fs->blocksize);
625 fs->blocksize, s->s_log_block_size,
634 (fs->blocksize / sizeof(struct ext2_group_desc)) *
721 unsigned int gdpb, blocksize;
744 blocksize = EXT2_BLOCK_SIZE(sb_param);
747 bpg = blocksize * 8;
748 gdpb = blocksize / sizeof(struct ext2_group_desc);
795 int blocksize = 0;
850 blocksize = xatou_range(optarg, EXT2_MIN_BLOCK_SIZE, EXT2_MAX_BLOCK_SIZE);
851 mke2fs_warning_msg((blocksize > 4096),
852 "blocksize %d not usable on most systems",
853 blocksize);
855 int_log2(blocksize >> EXT2_MIN_BLOCK_LOG_SIZE);
980 * If there's no blocksize specified and there is a journal
981 * device, use it to figure out the blocksize
983 if (blocksize <= 0 && journal_device) {
997 if ((blocksize < 0) && (jfs->blocksize < (unsigned) (-blocksize))) {
999 "Journal dev blocksize (%d) smaller than "
1000 "minimum blocksize %d\n", jfs->blocksize,
1001 -blocksize);
1003 blocksize = jfs->blocksize;
1005 int_log2(blocksize >> EXT2_MIN_BLOCK_LOG_SIZE);
1009 if (blocksize > sys_page_size) {
1011 blocksize, sys_page_size);
1017 mke2fs_warning_msg(((blocksize > 4096) &&
1058 (blocksize == 0) &&
1061 blocksize = 4096;
1118 set_fs_defaults(fs_type, &param, blocksize, sector_size, &inode_ratio);
1119 blocksize = EXT2_BLOCK_SIZE(&param);
1135 param.s_blocks_per_group > 8 * (unsigned) blocksize) {
1142 "\t (8TB using a blocksize of 4k) are currently supported.");
1151 blocksize);
1163 ((__u64) param.s_blocks_count * blocksize)
1288 unsigned int rsv = 65536 / fs->blocksize;