Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dtty_buffer.h10 struct tty_buffer { struct
12 struct tty_buffer *next; argument
27 static inline unsigned char *char_buf_ptr(struct tty_buffer *b, int ofs) in char_buf_ptr()
32 static inline char *flag_buf_ptr(struct tty_buffer *b, int ofs) in flag_buf_ptr()
38 struct tty_buffer *head; /* Queue head */
42 struct tty_buffer sentinel;
46 struct tty_buffer *tail; /* Active buffer */
Dtty_flip.h25 struct tty_buffer *tb = port->buf.tail; in tty_insert_flip_char()
/linux-5.19.10/drivers/tty/
Dtty_buffer.c39 #define TTY_BUFFER_PAGE (((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF)
101 static void tty_buffer_reset(struct tty_buffer *p, size_t size) in tty_buffer_reset()
121 struct tty_buffer *p, *next; in tty_buffer_free_all()
157 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size) in tty_buffer_alloc()
160 struct tty_buffer *p; in tty_buffer_alloc()
168 p = llist_entry(free, struct tty_buffer, free); in tty_buffer_alloc()
178 p = kmalloc(sizeof(struct tty_buffer) + 2 * size, in tty_buffer_alloc()
197 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b) in tty_buffer_free()
224 struct tty_buffer *next; in tty_buffer_flush()
263 struct tty_buffer *b, *n; in __tty_buffer_request_room()
[all …]
DMakefile3 tty_buffer.o tty_port.o tty_mutex.o \
/linux-5.19.10/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