Home
last modified time | relevance | path

Searched refs:tty_buffer (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/tty/
Dtty_buffer.c32 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()
169 static struct tty_buffer *tty_buffer_find(struct tty_struct *tty, size_t size) in tty_buffer_find()
171 struct tty_buffer **tbh = &tty->buf.free; in tty_buffer_find()
173 struct tty_buffer *t = *tbh; in tty_buffer_find()
204 struct tty_buffer *b, *n; in tty_buffer_request_room()
[all …]
DMakefile2 tty_buffer.o tty_port.o tty_mutex.o
/linux-3.4.99/include/linux/
Dtty.h64 struct tty_buffer { struct
65 struct tty_buffer *next; argument
84 #define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF)
90 struct tty_buffer *head; /* Queue head */
91 struct tty_buffer *tail; /* Active buffer */
92 struct tty_buffer *free; /* Free queue head */
Dtty_flip.h14 struct tty_buffer *tb = tty->buf.tail; in tty_insert_flip_char()