Lines Matching refs:avail
510 ubifs_assert(!(wbuf->avail & 7));
552 wbuf->avail = wbuf->size;
593 wbuf->avail = wbuf->size;
692 ubifs_assert(wbuf->avail > 0 && wbuf->avail <= wbuf->size);
712 if (aligned_len <= wbuf->avail) {
719 if (aligned_len == wbuf->avail) {
733 wbuf->avail = wbuf->size;
739 wbuf->avail -= aligned_len;
757 memcpy(wbuf->buf + wbuf->used, buf, wbuf->avail);
764 len -= wbuf->avail;
765 aligned_len -= wbuf->avail;
766 written += wbuf->avail;
822 wbuf->avail = wbuf->size - aligned_len;
1060 wbuf->avail = wbuf->size = size;