Home
last modified time | relevance | path

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

/linux-2.6.39/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()
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 …]
DMakefile2 tty_buffer.o tty_port.o tty_mutex.o
/linux-2.6.39/include/linux/
Dtty.h61 struct tty_buffer { struct
62 struct tty_buffer *next; argument
81 #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 */
Dtty_flip.h14 struct tty_buffer *tb = tty->buf.tail; in tty_insert_flip_char()