tag | line | file | source code |
queue | 103 | include/linux/tty.h | extern void put_tty_queue(char c, struct tty_queue * queue); |
queue | 104 | include/linux/tty.h | extern int get_tty_queue(struct tty_queue * queue); |
queue | 66 | kernel/chr_drv/serial.c | struct tty_queue * queue = info->tty->write_q; |
queue | 73 | kernel/chr_drv/serial.c | if (queue->tail == queue->head) |
queue | 75 | kernel/chr_drv/serial.c | c = queue->buf[queue->tail]; |
queue | 76 | kernel/chr_drv/serial.c | queue->tail++; |
queue | 77 | kernel/chr_drv/serial.c | queue->tail &= TTY_BUF_SIZE-1; |
queue | 85 | kernel/chr_drv/serial.c | if (LEFT(queue) > WAKEUP_CHARS) |
queue | 86 | kernel/chr_drv/serial.c | wake_up(&queue->proc_list); |
queue | 92 | kernel/chr_drv/serial.c | struct tty_queue * queue = info->tty->read_q; |
queue | 93 | kernel/chr_drv/serial.c | int head = queue->head; |
queue | 94 | kernel/chr_drv/serial.c | int maxhead = (queue->tail-1) & (TTY_BUF_SIZE-1); |
queue | 98 | kernel/chr_drv/serial.c | queue->buf[head] = inb(port); |
queue | 104 | kernel/chr_drv/serial.c | queue->head = head; |
queue | 57 | kernel/chr_drv/tty_io.c | void inline put_tty_queue(char c, struct tty_queue * queue) |
queue | 63 | kernel/chr_drv/tty_io.c | head = (queue->head + 1) & (TTY_BUF_SIZE-1); |
queue | 64 | kernel/chr_drv/tty_io.c | if (head != queue->tail) { |
queue | 65 | kernel/chr_drv/tty_io.c | queue->buf[queue->head] = c; |
queue | 66 | kernel/chr_drv/tty_io.c | queue->head = head; |
queue | 71 | kernel/chr_drv/tty_io.c | int inline get_tty_queue(struct tty_queue * queue) |
queue | 77 | kernel/chr_drv/tty_io.c | if (queue->tail != queue->head) { |
queue | 78 | kernel/chr_drv/tty_io.c | result = 0xff & queue->buf[queue->tail]; |
queue | 79 | kernel/chr_drv/tty_io.c | queue->tail = (queue->tail + 1) & (TTY_BUF_SIZE-1); |
queue | 118 | kernel/chr_drv/tty_io.c | static void sleep_if_empty(struct tty_queue * queue) |
queue | 121 | kernel/chr_drv/tty_io.c | while (!(current->signal & ~current->blocked) && EMPTY(queue)) |
queue | 122 | kernel/chr_drv/tty_io.c | interruptible_sleep_on(&queue->proc_list); |
queue | 24 | kernel/chr_drv/tty_ioctl.c | static void flush(struct tty_queue * queue) |
queue | 26 | kernel/chr_drv/tty_ioctl.c | if (queue) { |
queue | 28 | kernel/chr_drv/tty_ioctl.c | queue->head = queue->tail; |
queue | 30 | kernel/chr_drv/tty_ioctl.c | wake_up(&queue->proc_list); |