wbuf_len 132 fs/jffs2/jffs2_fs_sb.h uint32_t wbuf_len; wbuf_len 343 fs/jffs2/nodemgmt.c if (!(c->wbuf_ofs % c->sector_size) && !c->wbuf_len) wbuf_len 113 fs/jffs2/os-linux.h #define jffs2_wbuf_dirty(c) (!!(c)->wbuf_len) wbuf_len 320 fs/jffs2/wbuf.c c->wbuf_len = 0; wbuf_len 371 fs/jffs2/wbuf.c c->wbuf_len = 0; wbuf_len 444 fs/jffs2/wbuf.c c->wbuf_len = (end - start) - towrite; wbuf_len 446 fs/jffs2/wbuf.c memmove(c->wbuf, rewrite_buf + towrite, c->wbuf_len); wbuf_len 456 fs/jffs2/wbuf.c c->wbuf_len = end - start; wbuf_len 567 fs/jffs2/wbuf.c c->wbuf_ofs, c->wbuf_len); wbuf_len 596 fs/jffs2/wbuf.c if (!c->wbuf_len) /* already checked c->wbuf above */ wbuf_len 610 fs/jffs2/wbuf.c c->wbuf_len = PAD(c->wbuf_len); wbuf_len 614 fs/jffs2/wbuf.c memset(c->wbuf + c->wbuf_len, 0, c->wbuf_pagesize - c->wbuf_len); wbuf_len 616 fs/jffs2/wbuf.c if ( c->wbuf_len + sizeof(struct jffs2_unknown_node) < c->wbuf_pagesize) { wbuf_len 617 fs/jffs2/wbuf.c struct jffs2_unknown_node *padnode = (void *)(c->wbuf + c->wbuf_len); wbuf_len 620 fs/jffs2/wbuf.c padnode->totlen = cpu_to_je32(c->wbuf_pagesize - c->wbuf_len); wbuf_len 658 fs/jffs2/wbuf.c uint32_t waste = c->wbuf_pagesize - c->wbuf_len; wbuf_len 669 fs/jffs2/wbuf.c c->wbuf_ofs, c->wbuf_len, waste); wbuf_len 677 fs/jffs2/wbuf.c jffs2_link_node_ref(c, wbuf_jeb, (c->wbuf_ofs + c->wbuf_len) | REF_OBSOLETE, waste, NULL); wbuf_len 694 fs/jffs2/wbuf.c c->wbuf_len = 0; wbuf_len 721 fs/jffs2/wbuf.c old_wbuf_len = c->wbuf_len; wbuf_len 784 fs/jffs2/wbuf.c if (len && !c->wbuf_len && (len >= c->wbuf_pagesize)) wbuf_len 787 fs/jffs2/wbuf.c if (len > (c->wbuf_pagesize - c->wbuf_len)) wbuf_len 788 fs/jffs2/wbuf.c len = c->wbuf_pagesize - c->wbuf_len; wbuf_len 789 fs/jffs2/wbuf.c memcpy(c->wbuf + c->wbuf_len, buf, len); wbuf_len 790 fs/jffs2/wbuf.c c->wbuf_len += (uint32_t) len; wbuf_len 812 fs/jffs2/wbuf.c c->wbuf_len = PAGE_MOD(to); wbuf_len 825 fs/jffs2/wbuf.c if (c->wbuf_len) { wbuf_len 834 fs/jffs2/wbuf.c c->wbuf_len = PAGE_MOD(to); wbuf_len 837 fs/jffs2/wbuf.c if (to != PAD(c->wbuf_ofs + c->wbuf_len)) { wbuf_len 841 fs/jffs2/wbuf.c if (c->wbuf_len) wbuf_len 843 fs/jffs2/wbuf.c c->wbuf_ofs, c->wbuf_ofs + c->wbuf_len); wbuf_len 848 fs/jffs2/wbuf.c if (c->wbuf_len != PAGE_MOD(to)) { wbuf_len 849 fs/jffs2/wbuf.c c->wbuf_len = PAGE_MOD(to); wbuf_len 851 fs/jffs2/wbuf.c if (!c->wbuf_len) { wbuf_len 852 fs/jffs2/wbuf.c c->wbuf_len = c->wbuf_pagesize; wbuf_len 865 fs/jffs2/wbuf.c if (c->wbuf_len == c->wbuf_pagesize) { wbuf_len 889 fs/jffs2/wbuf.c if (c->wbuf_len == c->wbuf_pagesize) { wbuf_len 911 fs/jffs2/wbuf.c if (c->wbuf_len && ino) wbuf_len 987 fs/jffs2/wbuf.c if (!c->wbuf_pagesize || !c->wbuf_len) wbuf_len 996 fs/jffs2/wbuf.c if (owbf > c->wbuf_len) /* is read beyond write buffer ? */ wbuf_len 998 fs/jffs2/wbuf.c lwbf = c->wbuf_len - owbf; /* number of bytes to copy */ wbuf_len 1006 fs/jffs2/wbuf.c if (lwbf > c->wbuf_len) wbuf_len 1007 fs/jffs2/wbuf.c lwbf = c->wbuf_len;