Searched refs:tty_buffer (Results  1 – 4 of 4) sorted by relevance
| /linux-4.4.14/drivers/tty/ | 
| D | tty_buffer.c | 38 #define TTY_BUFFER_PAGE	(((PAGE_SIZE - sizeof(struct tty_buffer)) / 2) & ~0xFF) 97 static void tty_buffer_reset(struct tty_buffer *p, size_t size)  in tty_buffer_reset() 118 	struct tty_buffer *p, *next;  in tty_buffer_free_all() 149 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size)  in tty_buffer_alloc() 152 	struct tty_buffer *p;  in tty_buffer_alloc() 160 			p = llist_entry(free, struct tty_buffer, free);  in tty_buffer_alloc() 169 	p = kmalloc(sizeof(struct tty_buffer) + 2 * size, GFP_ATOMIC);  in tty_buffer_alloc() 188 static void tty_buffer_free(struct tty_port *port, struct tty_buffer *b)  in tty_buffer_free() 217 	struct tty_buffer *next;  in tty_buffer_flush() 255 	struct tty_buffer *b, *n;  in __tty_buffer_request_room() [all …] 
 | 
| D | Makefile | 2 				   tty_buffer.o tty_port.o tty_mutex.o tty_ldsem.o
  | 
| /linux-4.4.14/include/linux/ | 
| D | tty.h | 56 struct tty_buffer {  struct 58 		struct tty_buffer *next;  argument 73 static inline unsigned char *char_buf_ptr(struct tty_buffer *b, int ofs)  in char_buf_ptr() 78 static inline char *flag_buf_ptr(struct tty_buffer *b, int ofs)  in flag_buf_ptr() 84 	struct tty_buffer *head;	/* Queue head */ 88 	struct tty_buffer sentinel; 92 	struct tty_buffer *tail;	/* Active buffer */
  | 
| D | tty_flip.h | 19 	struct tty_buffer *tb = port->buf.tail;  in tty_insert_flip_char()
  |