Home
last modified time | relevance | path

Searched refs:flash_size (Results 1 – 24 of 24) sorted by relevance

/linux-4.1.27/fs/jffs2/
Dfs.c214 buf->f_blocks = c->flash_size >> PAGE_SHIFT; in jffs2_statfs()
493 static int calculate_inocache_hashsize(uint32_t flash_size) in calculate_inocache_hashsize() argument
502 int size_mb = flash_size / 1024 / 1024; in calculate_inocache_hashsize()
537 c->flash_size = c->mtd->size; in jffs2_do_fill_super()
539 blocks = c->flash_size / c->sector_size; in jffs2_do_fill_super()
544 if ((c->sector_size * blocks) != c->flash_size) { in jffs2_do_fill_super()
545 c->flash_size = c->sector_size * blocks; in jffs2_do_fill_super()
547 c->flash_size / 1024); in jffs2_do_fill_super()
550 if (c->flash_size < 5*c->sector_size) { in jffs2_do_fill_super()
552 c->flash_size / c->sector_size); in jffs2_do_fill_super()
[all …]
Dbuild.c321 size = c->flash_size / 50; /* 2% of flash size */ in jffs2_calc_trigger_levels()
349 c->nospc_dirty_size = c->sector_size + (c->flash_size / 100); in jffs2_calc_trigger_levels()
352 c->flash_size / 1024, c->sector_size / 1024, c->nr_blocks); in jffs2_calc_trigger_levels()
375 c->free_size = c->flash_size; in jffs2_do_mount_fs()
376 c->nr_blocks = c->flash_size / c->sector_size; in jffs2_do_mount_fs()
Djffs2_fs_sb.h66 uint32_t flash_size; member
Dwbuf.c1262 c->flash_size = c->mtd->size; in jffs2_dataflash_setup()
1264 if ((c->flash_size % c->sector_size) != 0) { in jffs2_dataflash_setup()
1265 c->flash_size = (c->flash_size / c->sector_size) * c->sector_size; in jffs2_dataflash_setup()
1266 pr_warn("flash size adjusted to %dKiB\n", c->flash_size); in jffs2_dataflash_setup()
Ddebug.c42 + 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()
Dnodelist.h298 return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); in jffs2_blocks_use_vmalloc()
Dnodemgmt.c164 c->flash_size); in jffs2_reserve_space()
/linux-4.1.27/Documentation/misc-devices/
Dc2port.txt54 dev_id flash_blocks_num flash_size subsystem/
/linux-4.1.27/drivers/platform/chrome/
Dcros_ec_sysfs.c238 resp->flash_size, resp->write_block_size, in show_ec_flashinfo()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1067 info->eedump_len = bp->common.flash_size; in bnx2x_get_drvinfo()
1162 return bp->common.flash_size; in bnx2x_get_eeprom_len()
1333 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_read()
1336 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_read()
1596 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_write1()
1599 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_write1()
1655 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_write()
1658 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_write()
Dbnx2x.h1057 int flash_size; member
Dbnx2x_vfpf.c371 bp->common.flash_size = 0; in bnx2x_vfpf_acquire()
Dbnx2x_main.c10756 bp->common.flash_size = (BNX2X_NVRAM_1MB_SIZE << in bnx2x_get_common_hwinfo()
10759 bp->common.flash_size, bp->common.flash_size); in bnx2x_get_common_hwinfo()
/linux-4.1.27/include/linux/mfd/
Dcros_ec_commands.h726 uint32_t flash_size; member
757 uint32_t flash_size; member
/linux-4.1.27/drivers/mtd/ubi/
Dbuild.c668 ubi->flash_size = ubi->mtd->size; in io_init()
1025 mtd->index, mtd->name, ubi->flash_size >> 20); in ubi_attach_mtd_dev()
Dubi.h599 long long flash_size; member
/linux-4.1.27/drivers/misc/c2port/
Dcore.c344 static DEVICE_ATTR(flash_size, 0444, c2port_show_flash_size, NULL);
/linux-4.1.27/drivers/scsi/esas2r/
Datioctl.h1053 u32 flash_size; member
/linux-4.1.27/drivers/scsi/qla4xxx/
Dql4_fw.h314 uint32_t flash_size; member
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_fw.h1342 uint32_t flash_size; member
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_sas.h691 u16 flash_size; member
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h283 u32 flash_size; member
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbnx2.c4398 bp->flash_size = val; in bnx2_init_nvram()
4400 bp->flash_size = bp->flash_info->total_size; in bnx2_init_nvram()
7183 return (int) bp->flash_size; in bnx2_get_eeprom_len()
Dbnx2.h6978 u32 flash_size; member