Searched refs:flash_size (Results 1 – 7 of 7) sorted by relevance
217 buf->f_blocks = c->flash_size >> PAGE_SHIFT; in jffs2_statfs()494 static int calculate_inocache_hashsize(uint32_t flash_size) in calculate_inocache_hashsize() argument503 int size_mb = flash_size / 1024 / 1024; in calculate_inocache_hashsize()538 c->flash_size = c->mtd->size; in jffs2_do_fill_super()540 blocks = c->flash_size / c->sector_size; in jffs2_do_fill_super()545 if ((c->sector_size * blocks) != c->flash_size) { in jffs2_do_fill_super()546 c->flash_size = c->sector_size * blocks; in jffs2_do_fill_super()548 c->flash_size / 1024); in jffs2_do_fill_super()551 if (c->flash_size < 5*c->sector_size) { in jffs2_do_fill_super()553 c->flash_size / c->sector_size); in jffs2_do_fill_super()[all …]
325 size = c->flash_size / 50; /* 2% of flash size */ in jffs2_calc_trigger_levels()353 c->nospc_dirty_size = c->sector_size + (c->flash_size / 100); in jffs2_calc_trigger_levels()356 c->flash_size / 1024, c->sector_size / 1024, c->nr_blocks); in jffs2_calc_trigger_levels()379 c->free_size = c->flash_size; in jffs2_do_mount_fs()380 c->nr_blocks = c->flash_size / c->sector_size; in jffs2_do_mount_fs()
1260 c->flash_size = c->mtd->size; in jffs2_dataflash_setup()1262 if ((c->flash_size % c->sector_size) != 0) { in jffs2_dataflash_setup()1263 c->flash_size = (c->flash_size / c->sector_size) * c->sector_size; in jffs2_dataflash_setup()1264 pr_warn("flash size adjusted to %dKiB\n", c->flash_size); in jffs2_dataflash_setup()
67 uint32_t flash_size; member
42 + c->wasted_size + c->unchecked_size != c->flash_size)) { in __jffs2_dbg_acct_sanity_check_nolock()46 c->wasted_size, c->unchecked_size, c->flash_size); in __jffs2_dbg_acct_sanity_check_nolock()471 printk(JFFS2_DBG "flash_size: %#08x\n", c->flash_size); in __jffs2_dbg_dump_block_lists_nolock()
298 return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); in jffs2_blocks_use_vmalloc()
164 c->flash_size); in jffs2_reserve_space()