Lines Matching refs:list
62 list_del(&jeb->list); in jffs2_erase_block()
63 list_add(&jeb->list, &c->erase_pending_list); in jffs2_erase_block()
88 list_del(&jeb->list); in jffs2_erase_block()
89 list_add(&jeb->list, &c->erase_pending_list); in jffs2_erase_block()
101 list_del(&jeb->list); in jffs2_erase_block()
102 list_add(&jeb->list, &c->bad_list); in jffs2_erase_block()
118 jeb = list_entry(c->erase_pending_list.next, struct jffs2_eraseblock, list); in jffs2_erase_pending_blocks()
122 list_del(&jeb->list); in jffs2_erase_pending_blocks()
129 list_add(&jeb->list, &c->erasing_list); in jffs2_erase_pending_blocks()
152 list_del(&priv->jeb->list); in jffs2_erase_callback()
153 list_add(&priv->jeb->list, &priv->c->bad_list); in jffs2_erase_callback()
160 list_del(&priv->jeb->list); in jffs2_erase_callback()
161 list_add_tail(&priv->jeb->list, &priv->c->erase_complete_list); in jffs2_erase_callback()
277 jeb = list_entry(c->erase_complete_list.next, struct jffs2_eraseblock, list); in jffs2_mark_erased_blocks()
278 list_del(&jeb->list); in jffs2_mark_erased_blocks()
322 list_add_tail(&jeb->list, &c->bad_list); in jffs2_mark_erased_blocks()
367 list_add_tail(&jeb->list, &c->free_list); in jffs2_mark_erased_blocks()