Searched refs:blocks_avail (Results 1 – 1 of 1) sorted by relevance
19 int blocks_avail = dev->n_erased_blocks - dev->param.n_reserved_blocks; in yaffs2_checkpt_space_ok() local22 "checkpt blocks_avail = %d", blocks_avail); in yaffs2_checkpt_space_ok()24 return (blocks_avail <= 0) ? 0 : 1; in yaffs2_checkpt_space_ok()67 int blocks_avail = dev->n_erased_blocks - dev->param.n_reserved_blocks; in yaffs2_checkpt_find_erased_block() local72 blocks_avail, dev->checkpt_next_block); in yaffs2_checkpt_find_erased_block()76 blocks_avail > 0) { in yaffs2_checkpt_find_erased_block()