/kernel/linux/linux-5.10/fs/jffs2/ |
D | fs.c | 216 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 …]
|
D | build.c | 322 size = c->flash_size / 50; /* 2% of flash size */ in jffs2_calc_trigger_levels() 350 c->nospc_dirty_size = c->sector_size + (c->flash_size / 100); in jffs2_calc_trigger_levels() 353 c->flash_size / 1024, c->sector_size / 1024, c->nr_blocks); in jffs2_calc_trigger_levels() 376 c->free_size = c->flash_size; in jffs2_do_mount_fs() 377 c->nr_blocks = c->flash_size / c->sector_size; in jffs2_do_mount_fs()
|
D | jffs2_fs_sb.h | 67 uint32_t flash_size; member
|
D | wbuf.c | 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()
|
D | debug.c | 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()
|
D | nodelist.h | 298 return ((c->flash_size / c->sector_size) * sizeof (struct jffs2_eraseblock)) > (128 * 1024); in jffs2_blocks_use_vmalloc()
|
D | nodemgmt.c | 164 c->flash_size); in jffs2_reserve_space()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/ |
D | slic.h | 319 __le16 flash_size; /* 02 Flash size */ member 379 __le16 flash_size; /* 14 Flash size (bytes / 4K) */ member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice_devlink.c | 453 nvm_size = hw->nvm.flash_size; in ice_devlink_nvm_snapshot() 553 nvm_size = pf->hw.nvm.flash_size; in ice_devlink_init_regions()
|
D | ice_type.h | 321 u32 flash_size; /* Size of available flash in bytes */ member
|
D | ice_nvm.c | 564 hw->nvm.flash_size = max_size; in ice_discover_flash_size()
|
/kernel/linux/linux-5.10/Documentation/misc-devices/ |
D | c2port.rst | 58 dev_id flash_blocks_num flash_size subsystem/
|
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/ |
D | core.h | 430 u8 erase_mask, u64 flash_size);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 1235 return bp->common.flash_size; in bnx2x_get_eeprom_len() 1407 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_read() 1410 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_read() 1671 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_write1() 1674 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_write1() 1730 if (offset + buf_size > bp->common.flash_size) { in bnx2x_nvram_write() 1733 offset, buf_size, bp->common.flash_size); in bnx2x_nvram_write()
|
/kernel/linux/linux-5.10/drivers/platform/chrome/ |
D | cros_ec_sysfs.c | 232 resp->flash_size, resp->write_block_size, in flashinfo_show()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.c | 2583 u32 flash_size; in qed_mcp_get_flash_size() local 2588 flash_size = qed_rd(p_hwfn, p_ptt, MCP_REG_NVM_CFG4); in qed_mcp_get_flash_size() 2589 flash_size = (flash_size & MCP_REG_NVM_CFG4_FLASH_SIZE) >> in qed_mcp_get_flash_size() 2591 flash_size = (1 << (flash_size + MCP_BYTES_PER_MBIT_SHIFT)); in qed_mcp_get_flash_size() 2593 *p_flash_size = flash_size; in qed_mcp_get_flash_size()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | myrb.h | 257 unsigned int flash_size; /* Bytes 32-35 */ member
|
/kernel/linux/linux-5.10/drivers/mtd/ubi/ |
D | build.c | 620 ubi->flash_size = ubi->mtd->size; in io_init() 1003 mtd->index, mtd->name, ubi->flash_size >> 20); in ubi_attach_mtd_dev()
|
D | ubi.h | 630 long long flash_size; member
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | cros_ec_commands.h | 1327 uint32_t flash_size; member 1379 uint32_t flash_size; member 1413 uint32_t flash_size; member
|
/kernel/liteos_a/fs/jffs2/ |
D | jffs2.patch | 620 c->free_size = c->flash_size; 621 c->nr_blocks = c->flash_size / c->sector_size; 2977 - buf->f_blocks = c->flash_size >> PAGE_SHIFT; 3346 -static int calculate_inocache_hashsize(uint32_t flash_size) 3347 +int calculate_inocache_hashsize(uint32_t flash_size) 3351 @@ -510,118 +386,17 @@ static int calculate_inocache_hashsize(uint32_t flash_size) 3379 - c->flash_size = c->mtd->size; 3381 - blocks = c->flash_size / c->sector_size; 3386 - if ((c->sector_size * blocks) != c->flash_size) { 3387 - c->flash_size = c->sector_size * blocks; [all …]
|
/kernel/linux/linux-5.10/drivers/misc/c2port/ |
D | core.c | 340 static DEVICE_ATTR(flash_size, 0444, c2port_show_flash_size, NULL);
|
/kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
D | atioctl.h | 1053 u32 flash_size; member
|
/kernel/linux/linux-5.10/include/linux/qed/ |
D | qed_if.h | 626 u32 flash_size; member
|
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
D | ql4_fw.h | 313 uint32_t flash_size; member
|