Lines Matching refs:used
71 /* We used the stale old_read_count above, which gives us a
129 int used;
148 BUG_ON(copy_buf->used);
151 copy_buf->used = len;
162 if (copy_buf->used) {
165 min_t(int, sizeof(copy_buf->buf) - copy_buf->used, len);
167 memcpy(copy_buf->buf + copy_buf->used, data, copy_to_buf);
168 copy_buf->used += copy_to_buf;
171 if (copy_buf->used < sizeof(copy_buf->buf))
179 copy_buf->used = 0;
189 if (copy_buf->used)
238 copy_buf.used = 0;