Lines Matching refs:used
19 * buffer is full or when it is not used for some time (by timer). This is
20 * similar to the mechanism is used by JFFS2.
304 * Padding nodes are also used to fill gaps when the "commit-in-gaps" method is
305 * used.
533 * if the write-buffer is only partially filled with data, only the used part
543 if (!wbuf->used || wbuf->lnum == -1)
548 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead));
565 sync_len = ALIGN(wbuf->used, c->min_io_size);
566 dirt = sync_len - wbuf->used;
568 ubifs_pad(c, wbuf->buf + wbuf->used, dirt);
592 wbuf->used = 0;
621 ubifs_assert(c, wbuf->used == 0);
633 wbuf->used = 0;
726 dbg_jhead(wbuf->jhead), wbuf->lnum, wbuf->offs + wbuf->used);
740 if (c->leb_size - wbuf->offs - wbuf->used < aligned_len) {
755 memcpy(wbuf->buf + wbuf->used, buf, len);
758 ubifs_pad(c, wbuf->buf + wbuf->used + len, aligned_len - len);
776 wbuf->used = 0;
782 wbuf->used += aligned_len;
789 if (wbuf->used) {
797 memcpy(wbuf->buf + wbuf->used, buf, wbuf->avail);
894 wbuf->used = aligned_len;
900 int free = c->leb_size - wbuf->offs - wbuf->used;
907 if (wbuf->used)
1145 wbuf->used = 0;
1180 if (wbuf->used)