taglinefilesource code
tail27include/linux/tty.hunsigned long tail;
tail41include/linux/tty.h#define EMPTY(a) ((a)->head == (a)->tail)
tail42include/linux/tty.h#define LEFT(a) (((a)->tail-(a)->head-1)&(TTY_BUF_SIZE-1))
tail45include/linux/tty.h#define CHARS(a) (((a)->head-(a)->tail)&(TTY_BUF_SIZE-1))
tail53include/linux/tty.hif (head != queue->tail) {
tail64include/linux/tty.hif (queue->tail != queue->head) {
tail65include/linux/tty.hresult = 0xff & queue->buf[queue->tail];
tail66include/linux/tty.hqueue->tail = (queue->tail + 1) & (TTY_BUF_SIZE-1);
tail89kernel/chr_drv/keyboard.cif ((new_head=(qp->head+1)&(TTY_BUF_SIZE-1)) != qp->tail)
tail104kernel/chr_drv/keyboard.c!= qp->tail)
tail49kernel/chr_drv/tty_ioctl.cqueue->head = queue->tail;