Lines Matching refs:used
101 p->used = 0; in tty_buffer_reset()
268 left = 2 * b->size - b->used; in __tty_buffer_request_room()
270 left = b->size - b->used; in __tty_buffer_request_room()
282 smp_store_release(&b->commit, b->used); in __tty_buffer_request_room()
326 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
328 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
329 tb->used += space; in tty_insert_flip_string_fixed_flag()
364 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags()
365 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in tty_insert_flip_string_flags()
366 tb->used += space; in tty_insert_flip_string_flags()
397 *flag_buf_ptr(tb, tb->used) = flag; in __tty_insert_flip_char()
398 *char_buf_ptr(tb, tb->used++) = ch; in __tty_insert_flip_char()
420 smp_store_release(&buf->tail->commit, buf->tail->used); in tty_schedule_flip()
446 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string()
448 memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space); in tty_prepare_flip_string()
449 tb->used += space; in tty_prepare_flip_string()