/external/u-boot/fs/yaffs2/ |
D | yaffs_nand.c | 83 int yaffs_mark_bad(struct yaffs_dev *dev, int block_no) in yaffs_mark_bad() argument 85 block_no -= dev->block_offset; in yaffs_mark_bad() 87 return dev->param.bad_block_fn(dev, block_no); in yaffs_mark_bad() 89 return yaffs_tags_compat_mark_bad(dev, block_no); in yaffs_mark_bad() 93 int block_no, in yaffs_query_init_block_state() argument 97 block_no -= dev->block_offset; in yaffs_query_init_block_state() 99 return dev->param.query_block_fn(dev, block_no, state, in yaffs_query_init_block_state() 102 return yaffs_tags_compat_query_block(dev, block_no, state, seq_number); in yaffs_query_init_block_state()
|
D | yaffs_nand.h | 27 int yaffs_mark_bad(struct yaffs_dev *dev, int block_no); 30 int block_no,
|
D | yaffs_tagscompat.h | 26 int yaffs_tags_compat_mark_bad(struct yaffs_dev *dev, int block_no); 28 int block_no,
|
D | yaffs_nandemul2k.h | 29 int nandemul2k_MarkNANDBlockBad(struct yaffs_dev *dev, int block_no); 30 int nandemul2k_QueryNANDBlock(struct yaffs_dev *dev, int block_no,
|
D | yaffs_flashif2.h | 31 int yflash2_MarkNANDBlockBad(struct yaffs_dev *dev, int block_no); 32 int yflash2_QueryNANDBlock(struct yaffs_dev *dev, int block_no,
|
D | yaffs_flashif.h | 31 int yflash_MarkNANDBlockBad(struct yaffs_dev *dev, int block_no); 32 int yflash_QueryNANDBlock(struct yaffs_dev *dev, int block_no,
|
D | yaffs_tagscompat.c | 378 int block_no, in yaffs_tags_compat_query_block() argument 394 yaffs_rd_chunk_nand(dev, block_no * dev->param.chunks_per_block, NULL, in yaffs_tags_compat_query_block() 396 yaffs_rd_chunk_nand(dev, block_no * dev->param.chunks_per_block + 1, in yaffs_tags_compat_query_block()
|
D | yaffs_yaffs2.h | 25 void yaffs2_update_oldest_dirty_seq(struct yaffs_dev *dev, unsigned block_no,
|
D | yaffs_yaffs2.c | 46 unsigned block_no = 0; in yaffs_calc_oldest_dirty_seq() local 61 block_no = i; in yaffs_calc_oldest_dirty_seq() 66 if (block_no) { in yaffs_calc_oldest_dirty_seq() 68 dev->oldest_dirty_block = block_no; in yaffs_calc_oldest_dirty_seq() 105 void yaffs2_update_oldest_dirty_seq(struct yaffs_dev *dev, unsigned block_no, in yaffs2_update_oldest_dirty_seq() argument 114 dev->oldest_dirty_block = block_no; in yaffs2_update_oldest_dirty_seq()
|
D | yaffs_guts.c | 1181 unsigned block_no; in yaffs_soft_del_chunk() local 1185 block_no = chunk / dev->param.chunks_per_block; in yaffs_soft_del_chunk() 1186 the_block = yaffs_get_block_info(dev, block_no); in yaffs_soft_del_chunk() 1190 yaffs2_update_oldest_dirty_seq(dev, block_no, the_block); in yaffs_soft_del_chunk() 2305 void yaffs_block_became_dirty(struct yaffs_dev *dev, int block_no) in yaffs_block_became_dirty() argument 2307 struct yaffs_block_info *bi = yaffs_get_block_info(dev, block_no); in yaffs_block_became_dirty() 2317 block_no, bi->block_state, in yaffs_block_became_dirty() 2325 if (block_no == dev->gc_block) in yaffs_block_became_dirty() 2330 if (block_no == dev->gc_dirtiest) { in yaffs_block_became_dirty() 2337 erased_ok = yaffs_erase_block(dev, block_no); in yaffs_block_became_dirty() [all …]
|
D | yaffs_guts.h | 574 int (*bad_block_fn) (struct yaffs_dev *dev, int block_no); 575 int (*query_block_fn) (struct yaffs_dev *dev, int block_no, 933 void yaffs_block_became_dirty(struct yaffs_dev *dev, int block_no);
|
/external/u-boot/board/gdsys/p1022/ |
D | controlcenterd-id.c | 159 ulong block_no, n, cnt; in ccdm_mmc_read() local 169 block_no = src / blk_len; in ccdm_mmc_read() 173 n = mmc->block_dev.block_read(&mmc->block_dev, block_no++, 1, in ccdm_mmc_read() 184 n = mmc->block_dev.block_read(&mmc->block_dev, block_no, cnt, in ccdm_mmc_read() 191 block_no += cnt; in ccdm_mmc_read() 194 n = mmc->block_dev.block_read(&mmc->block_dev, block_no++, 1, in ccdm_mmc_read()
|