Home
last modified time | relevance | path

Searched refs:wbuf_jeb (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/fs/jffs2/
H A Dwbuf.c582 struct jffs2_eraseblock *wbuf_jeb; in __jffs2_flush_wbuf() local
599 wbuf_jeb = &c->blocks[c->wbuf_ofs / c->sector_size]; in __jffs2_flush_wbuf()
600 if (jffs2_prealloc_raw_node_refs(c, wbuf_jeb, c->nextblock->allocated_refs + 1)) in __jffs2_flush_wbuf()
661 (wbuf_jeb == c->nextblock) ? "next" : "", in __jffs2_flush_wbuf()
662 wbuf_jeb->offset); in __jffs2_flush_wbuf()
667 if (wbuf_jeb->free_size < waste) { in __jffs2_flush_wbuf()
671 wbuf_jeb->offset, wbuf_jeb->free_size); in __jffs2_flush_wbuf()
677 jffs2_link_node_ref(c, wbuf_jeb, (c->wbuf_ofs + c->wbuf_len) | REF_OBSOLETE, waste, NULL); in __jffs2_flush_wbuf()
679 wbuf_jeb->dirty_size -= waste; in __jffs2_flush_wbuf()
681 wbuf_jeb->wasted_size += waste; in __jffs2_flush_wbuf()