Lines Matching defs:blk
118 static int yaffs_summary_write(struct yaffs_dev *dev, int blk)
130 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk);
142 hdr.block = blk;
158 yaffs_set_chunk_bit(dev, blk, chunk_in_block);
180 int blk)
192 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk);
201 chunk_in_nand = blk * dev->param.chunks_per_block +
222 yaffs_set_chunk_bit(dev, blk, chunk_in_block);
295 void yaffs_summary_gc(struct yaffs_dev *dev, int blk)
297 struct yaffs_block_info *bi = yaffs_get_block_info(dev, blk);
306 if (yaffs_check_chunk_bit(dev, blk, i)) {
307 yaffs_clear_chunk_bit(dev, blk, i);