Lines Matching refs:tb
310 struct tty_buffer *tb = port->buf.tail; in __tty_insert_flip_string_flags() local
315 memcpy(char_buf_ptr(tb, tb->used), chars, space); in __tty_insert_flip_string_flags()
318 memcpy(flag_buf_ptr(tb, tb->used), flags, space); in __tty_insert_flip_string_flags()
320 } else if (tb->flags) { in __tty_insert_flip_string_flags()
321 memset(flag_buf_ptr(tb, tb->used), flags[0], space); in __tty_insert_flip_string_flags()
327 tb->used += space; in __tty_insert_flip_string_flags()
359 struct tty_buffer *tb = port->buf.tail; in tty_prepare_flip_string() local
361 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string()
362 if (tb->flags) in tty_prepare_flip_string()
363 memset(flag_buf_ptr(tb, tb->used), TTY_NORMAL, space); in tty_prepare_flip_string()
364 tb->used += space; in tty_prepare_flip_string()