Lines Matching refs:aen_tail
644 tw_dev->aen_queue[tw_dev->aen_tail] = aen; in tw_aen_complete()
645 if (tw_dev->aen_tail == TW_Q_LENGTH - 1) { in tw_aen_complete()
646 tw_dev->aen_tail = TW_Q_START; in tw_aen_complete()
648 tw_dev->aen_tail = tw_dev->aen_tail + 1; in tw_aen_complete()
650 if (tw_dev->aen_head == tw_dev->aen_tail) { in tw_aen_complete()
805 tw_dev->aen_queue[tw_dev->aen_tail] = aen; in tw_aen_drain_queue()
806 if (tw_dev->aen_tail == TW_Q_LENGTH - 1) { in tw_aen_drain_queue()
807 tw_dev->aen_tail = TW_Q_START; in tw_aen_drain_queue()
809 tw_dev->aen_tail = tw_dev->aen_tail + 1; in tw_aen_drain_queue()
811 if (tw_dev->aen_head == tw_dev->aen_tail) { in tw_aen_drain_queue()
939 if (tw_dev->aen_head == tw_dev->aen_tail) { in tw_chrdev_ioctl()