Searched refs:tty_buffer (Results 1 – 4 of 4) sorted by relevance
32 struct tty_buffer *thead; in tty_buffer_free_all()57 static struct tty_buffer *tty_buffer_alloc(struct tty_struct *tty, size_t size) in tty_buffer_alloc()59 struct tty_buffer *p; in tty_buffer_alloc()63 p = kmalloc(sizeof(struct tty_buffer) + 2 * size, GFP_ATOMIC); in tty_buffer_alloc()88 static void tty_buffer_free(struct tty_struct *tty, struct tty_buffer *b) in tty_buffer_free()115 struct tty_buffer *thead; in __tty_buffer_flush()166 static struct tty_buffer *tty_buffer_find(struct tty_struct *tty, size_t size) in tty_buffer_find()168 struct tty_buffer **tbh = &tty->buf.free; in tty_buffer_find()170 struct tty_buffer *t = *tbh; in tty_buffer_find()201 struct tty_buffer *b, *n; in tty_buffer_request_room()[all …]
2 tty_buffer.o tty_port.o tty_mutex.o
61 struct tty_buffer { struct62 struct tty_buffer *next; argument81 #define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF)87 struct tty_buffer *head; /* Queue head */88 struct tty_buffer *tail; /* Active buffer */89 struct tty_buffer *free; /* Free queue head */
14 struct tty_buffer *tb = tty->buf.tail; in tty_insert_flip_char()