taglinefilesource code
tail66include/linux/tty.hunsigned long tail;
tail97include/linux/tty.h#define EMPTY(a) ((a)->head == (a)->tail)
tail98include/linux/tty.h#define LEFT(a) (((a)->tail-(a)->head-1)&(TTY_BUF_SIZE-1))
tail101include/linux/tty.h#define CHARS(a) (((a)->head-(a)->tail)&(TTY_BUF_SIZE-1))
tail132kernel/chr_drv/keyboard.cif ((new_head=(qp->head+1)&(TTY_BUF_SIZE-1)) != qp->tail)
tail146kernel/chr_drv/keyboard.c!= qp->tail)
tail73kernel/chr_drv/serial.cif (queue->tail == queue->head)
tail75kernel/chr_drv/serial.cc = queue->buf[queue->tail];
tail76kernel/chr_drv/serial.cqueue->tail++;
tail77kernel/chr_drv/serial.cqueue->tail &= TTY_BUF_SIZE-1;
tail94kernel/chr_drv/serial.cint maxhead = (queue->tail-1) & (TTY_BUF_SIZE-1);
tail64kernel/chr_drv/tty_io.cif (head != queue->tail) {
tail77kernel/chr_drv/tty_io.cif (queue->tail != queue->head) {
tail78kernel/chr_drv/tty_io.cresult = 0xff & queue->buf[queue->tail];
tail79kernel/chr_drv/tty_io.cqueue->tail = (queue->tail + 1) & (TTY_BUF_SIZE-1);
tail28kernel/chr_drv/tty_ioctl.cqueue->head = queue->tail;