Lines Matching refs:flash_size
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() argument
503 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()
564 c->inocache_hashsize = calculate_inocache_hashsize(c->flash_size); in jffs2_do_fill_super()