Lines Matching refs:tty_buffer
40 #define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~TTYB_ALIGN_MASK)
102 static void tty_buffer_reset(struct tty_buffer *p, size_t size) in tty_buffer_reset()
123 struct tty_buffer *p, *next; in tty_buffer_free_all()
159 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size) in tty_buffer_alloc()
162 struct tty_buffer *p; in tty_buffer_alloc()
170 p = llist_entry(free, struct tty_buffer, free); in tty_buffer_alloc()
198 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b) in tty_buffer_free()
225 struct tty_buffer *next; in tty_buffer_flush()
265 struct tty_buffer *n, *b = buf->tail; in __tty_buffer_request_room()
310 struct tty_buffer *tb = port->buf.tail; in __tty_insert_flip_string_flags()
359 struct tty_buffer *tb = port->buf.tail; in tty_prepare_flip_string()
397 static void lookahead_bufs(struct tty_port *port, struct tty_buffer *head) in lookahead_bufs()
402 struct tty_buffer *next; in lookahead_bufs()
436 receive_buf(struct tty_port *port, struct tty_buffer *head, size_t count) in receive_buf()
470 struct tty_buffer *head = buf->head; in flush_to_ldisc()
471 struct tty_buffer *next; in flush_to_ldisc()
510 static inline void tty_flip_buffer_commit(struct tty_buffer *tail) in tty_flip_buffer_commit()