Lines Matching refs:used
104 p->used = 0;
114 * tty_buffer_free_all - free buffers used by a tty
266 size_t left = (b->flags ? 1 : 2) * b->size - b->used;
283 smp_store_release(&b->commit, b->used);
315 memcpy(char_buf_ptr(tb, tb->used), chars, space);
318 memcpy(flag_buf_ptr(tb, tb->used), flags, space);
321 memset(flag_buf_ptr(tb, tb->used), flags[0], space);
327 tb->used += space;
348 * This is used for drivers that need their own block copy routines into the
361 *chars = char_buf_ptr(tb, tb->used);
363 memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space);
364 tb->used += space;
516 smp_store_release(&tail->commit, tail->used);
548 * To be used only internally (by pty currently).
574 * called before the other tty buffer functions are used.
598 * Must be called before the other tty buffer functions are used.