Searched refs:flash_block (Results 1 - 3 of 3) sorted by relevance
/openwrt/target/linux/generic/files/fs/yaffs2/ |
H A D | yaffs_nand.h | 34 int yaffs_erase_block(struct yaffs_dev *dev, int flash_block);
|
H A D | yaffs_tagscompat.c | 221 int flash_block = nand_chunk / dev->param.chunks_per_block; local 224 yaffs_get_block_info(dev, flash_block + dev->block_offset)-> 228 flash_block); 320 static int yaffs_tags_compat_mark_bad(struct yaffs_dev *dev, int flash_block) argument 328 yaffs_wr_nand(dev, flash_block * dev->param.chunks_per_block, NULL, 330 yaffs_wr_nand(dev, flash_block * dev->param.chunks_per_block + 1,
|
H A D | yaffs_guts.c | 233 int flash_block = nand_chunk / dev->param.chunks_per_block; local 234 struct yaffs_block_info *bi = yaffs_get_block_info(dev, flash_block); 243 "**>> Block %d needs retiring", flash_block); 590 static void yaffs_retire_block(struct yaffs_dev *dev, int flash_block) argument 592 struct yaffs_block_info *bi = yaffs_get_block_info(dev, flash_block); 598 if (yaffs_mark_bad(dev, flash_block) != YAFFS_OK) { 599 if (yaffs_erase_block(dev, flash_block) != YAFFS_OK) { 602 flash_block); 606 flash_block * dev->param.chunks_per_block; 619 flash_block); [all...] |
Completed in 37 milliseconds