Searched refs:char_buf_ptr (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/tty/ |
D | tty_buffer.c | 322 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag() 357 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_flags() 390 *char_buf_ptr(tb, tb->used++) = ch; in __tty_insert_flip_char() 436 *chars = char_buf_ptr(tb, tb->used); in tty_prepare_flip_string() 474 unsigned char *p = char_buf_ptr(head, head->read); in receive_buf()
|
/Linux-v5.10/include/linux/ |
D | tty_flip.h | 28 *char_buf_ptr(tb, tb->used++) = ch; in tty_insert_flip_char()
|
D | tty.h | 75 static inline unsigned char *char_buf_ptr(struct tty_buffer *b, int ofs) in char_buf_ptr() function 82 return (char *)char_buf_ptr(b, ofs) + b->size; in flag_buf_ptr()
|