Searched refs:erasable_list (Results 1 - 7 of 7) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/jffs2/
H A Djffs2_fs_sb.h85 struct list_head erasable_list; /* Blocks which are completely dirty, and need erasing */ member in struct:jffs2_sb_info
H A Dnodemgmt.c69 * Blocks on erasable_list are counted as dirty_size, but not in c->nr_erasing_blocks
213 !list_empty(&c->erasable_list)) {
216 ejeb = list_entry(c->erasable_list.next, struct jffs2_eraseblock, list);
231 /* Have another go. It'll be on the erasable_list now */
239 c->nr_erasing_blocks, c->nr_free_blocks, list_empty(&c->erasable_list)?"yes":"no",
603 D1(printk(KERN_DEBUG "...and adding to erasable_list\n"));
604 list_add_tail(&jeb->list, &c->erasable_list);
728 * Blocks on erasable_list are counted as dirty_size, but not in c->nr_erasing_blocks
H A Dbuild.c336 INIT_LIST_HEAD(&c->erasable_list);
H A Dgc.c55 } else if (n < 50 && !list_empty(&c->erasable_list)) {
57 So don't favour the erasable_list _too_ much. */
58 D1(printk(KERN_DEBUG "Picking block from erasable_list to GC next\n"));
59 nextlist = &c->erasable_list;
77 } else if (!list_empty(&c->erasable_list)) {
78 D1(printk(KERN_DEBUG "Picking block from erasable_list to GC next (clean_list and {very_,}dirty_list were empty)\n"));
80 nextlist = &c->erasable_list;
H A Ddebug.c403 if (list_empty(&c->erasable_list)) {
404 printk(JFFS2_DBG "erasable_list: empty\n");
408 list_for_each(this, &c->erasable_list) {
412 printk(JFFS2_DBG "erasable_list: %#08x (used %#08x, dirty %#08x, wasted %#08x, unchecked %#08x, free %#08x)\n",
H A Dscan.c1114 x = count_list(&c->erasable_list);
1117 rotate_list((&c->erasable_list), rotateby);
H A Dwbuf.c128 D1(printk(KERN_DEBUG "...and adding to erasable_list\n"));
129 list_add_tail(&jeb->list, &c->erasable_list);

Completed in 108 milliseconds