Searched refs:wbuf_len (Results 1 – 5 of 5) sorted by relevance
312 c->wbuf_len = 0; in jffs2_wbuf_recover()362 c->wbuf_len = 0; in jffs2_wbuf_recover()436 c->wbuf_len = (end - start) - towrite; in jffs2_wbuf_recover()438 memmove(c->wbuf, rewrite_buf + towrite, c->wbuf_len); in jffs2_wbuf_recover()448 c->wbuf_len = end - start; in jffs2_wbuf_recover()557 …k(KERN_DEBUG "wbuf recovery completed OK. wbuf_ofs 0x%08x, len 0x%x\n", c->wbuf_ofs, c->wbuf_len)); in jffs2_wbuf_recover()587 if (!c->wbuf_len) /* already checked c->wbuf above */ in __jffs2_flush_wbuf()601 c->wbuf_len = PAD(c->wbuf_len); in __jffs2_flush_wbuf()605 memset(c->wbuf + c->wbuf_len, 0, c->wbuf_pagesize - c->wbuf_len); in __jffs2_flush_wbuf()607 if ( c->wbuf_len + sizeof(struct jffs2_unknown_node) < c->wbuf_pagesize) { in __jffs2_flush_wbuf()[all …]
120 uint32_t wbuf_len; member
113 #define jffs2_wbuf_dirty(c) (!!(c)->wbuf_len)
38 jffs2_sb_info structure. Atomically reading the wbuf_len member to see
277 if (!(c->wbuf_ofs % c->sector_size) && !c->wbuf_len) in jffs2_find_nextblock()