Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dtty_buffer.h10 struct tty_buffer { struct
12 struct tty_buffer *next; argument
28 static inline unsigned char *char_buf_ptr(struct tty_buffer *b, int ofs) in char_buf_ptr()
33 static inline char *flag_buf_ptr(struct tty_buffer *b, int ofs) in flag_buf_ptr()
39 struct tty_buffer *head; /* Queue head */
43 struct tty_buffer sentinel;
47 struct tty_buffer *tail; /* Active buffer */
Dtty_flip.h25 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_char()
/linux-6.1.9/drivers/tty/
Dtty_buffer.c40 #define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF)
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()
180 p = kmalloc(sizeof(struct tty_buffer) + 2 * size, in tty_buffer_alloc()
199 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b) in tty_buffer_free()
226 struct tty_buffer *next; in tty_buffer_flush()
266 struct tty_buffer *b, *n; in __tty_buffer_request_room()
[all …]
DMakefile3 tty_buffer.o tty_port.o tty_mutex.o \
/linux-6.1.9/Documentation/driver-api/tty/
Dtty_buffer.rst17 .. kernel-doc:: drivers/tty/tty_buffer.c
27 .. kernel-doc:: drivers/tty/tty_buffer.c
37 .. kernel-doc:: drivers/tty/tty_buffer.c
45 .. kernel-doc:: drivers/tty/tty_buffer.c
Dindex.rst38 tty_buffer