Lines Matching refs:checkpt_next_block
72 blocks_avail, dev->checkpt_next_block); in yaffs2_checkpt_find_erased_block()
74 if (dev->checkpt_next_block >= 0 && in yaffs2_checkpt_find_erased_block()
75 dev->checkpt_next_block <= dev->internal_end_block && in yaffs2_checkpt_find_erased_block()
78 for (i = dev->checkpt_next_block; i <= dev->internal_end_block; in yaffs2_checkpt_find_erased_block()
83 dev->checkpt_next_block = i + 1; in yaffs2_checkpt_find_erased_block()
93 dev->checkpt_next_block = -1; in yaffs2_checkpt_find_erased_block()
104 dev->blocks_in_checkpt, dev->checkpt_next_block); in yaffs2_checkpt_find_block()
107 for (i = dev->checkpt_next_block; i <= dev->internal_end_block; in yaffs2_checkpt_find_block()
121 dev->checkpt_next_block = tags.obj_id; in yaffs2_checkpt_find_block()
134 dev->checkpt_next_block = -1; in yaffs2_checkpt_find_block()
165 dev->checkpt_next_block = dev->internal_start_block; in yaffs2_checkpt_open()
217 tags.obj_id = dev->checkpt_next_block; /* Hint to next place to look */ in yaffs2_checkpt_flush_buffer()