Lines Matching refs:checkpt_cur_chunk
165 dev->checkpt_cur_chunk = -1; in yaffs2_checkpt_open()
211 dev->checkpt_cur_chunk = 0; in yaffs2_checkpt_flush_buffer()
222 if (dev->checkpt_cur_chunk == 0) { in yaffs2_checkpt_flush_buffer()
233 dev->checkpt_cur_chunk; in yaffs2_checkpt_flush_buffer()
237 chunk, dev->checkpt_cur_block, dev->checkpt_cur_chunk, in yaffs2_checkpt_flush_buffer()
248 dev->checkpt_cur_chunk++; in yaffs2_checkpt_flush_buffer()
249 if (dev->checkpt_cur_chunk >= dev->param.chunks_per_block) { in yaffs2_checkpt_flush_buffer()
250 dev->checkpt_cur_chunk = 0; in yaffs2_checkpt_flush_buffer()
310 dev->checkpt_cur_chunk = 0; in yaffs2_checkpt_rd()
320 dev->checkpt_cur_chunk; in yaffs2_checkpt_rd()
340 dev->checkpt_cur_chunk++; in yaffs2_checkpt_rd()
342 if (dev->checkpt_cur_chunk >= in yaffs2_checkpt_rd()