Searched refs:page_writes (Results 1 – 1 of 1) sorted by relevance
84 unsigned long page_writes[PHYSICAL_PAGES_PER_BLOCK]; member312 nand_block_diag[block].page_writes[page]++; in _lx_nand_flash_simulator_write()313 if (nand_block_diag[block].page_writes[page] > nand_block_diag[block].max_page_writes[page]) in _lx_nand_flash_simulator_write()314 nand_block_diag[block].max_page_writes[page] = nand_block_diag[block].page_writes[page]; in _lx_nand_flash_simulator_write()454 nand_block_diag[block].page_writes[i] = 0; in _lx_nand_flash_simulator_block_erase()485 nand_block_diag[i].page_writes[j] = 0; in _lx_nand_flash_simulator_erase_all()653 nand_block_diag[block].page_writes[page]++; in _lx_nand_flash_simulator_extra_bytes_set()654 if (nand_block_diag[block].page_writes[page] > nand_block_diag[block].max_page_writes[page]) in _lx_nand_flash_simulator_extra_bytes_set()655 nand_block_diag[block].max_page_writes[page] = nand_block_diag[block].page_writes[page]; in _lx_nand_flash_simulator_extra_bytes_set()