Lines Matching full:used
22 * as follows: the write starts filling at offset (start + used), once the data
23 * is ready, the writer adds to used the count of bytes available.
33 buf->used = 0;
41 if (buf->used > 0)
42 logx(3, "deleting non-empty buffer, used = %d", buf->used);
57 if (count > buf->used)
58 count = buf->used;
70 if (count < 0 || count > buf->used) {
75 buf->used -= count;
88 if (count < 0 || count > (buf->len - buf->used)) {
93 buf->used += count;
104 end = buf->start + buf->used;
107 avail = buf->len - buf->used;