Lines Matching refs:checkpt_cur_block
84 dev->checkpt_cur_block = i; in yaffs2_checkpt_find_erased_block()
94 dev->checkpt_cur_block = -1; in yaffs2_checkpt_find_erased_block()
122 dev->checkpt_cur_block = i; in yaffs2_checkpt_find_block()
135 dev->checkpt_cur_block = -1; in yaffs2_checkpt_find_block()
163 dev->checkpt_cur_block = -1; in yaffs2_checkpt_open()
208 if (dev->checkpt_cur_block < 0) { in yaffs2_checkpt_flush_buffer()
213 if (dev->checkpt_cur_block < 0) in yaffs2_checkpt_flush_buffer()
225 yaffs_get_block_info(dev, dev->checkpt_cur_block); in yaffs2_checkpt_flush_buffer()
231 dev->checkpt_cur_block * dev->param.chunks_per_block + in yaffs2_checkpt_flush_buffer()
236 chunk, dev->checkpt_cur_block, dev->checkpt_cur_chunk, in yaffs2_checkpt_flush_buffer()
250 dev->checkpt_cur_block = -1; in yaffs2_checkpt_flush_buffer()
307 if (dev->checkpt_cur_block < 0) { in yaffs2_checkpt_rd()
312 if (dev->checkpt_cur_block < 0) { in yaffs2_checkpt_rd()
317 chunk = dev->checkpt_cur_block * in yaffs2_checkpt_rd()
343 dev->checkpt_cur_block = -1; in yaffs2_checkpt_rd()