Lines Matching refs:tail
2784 if (!queue->tail)
2785 queue->tail = item;
2817 if (queue->tail == item)
2818 queue->tail = NULL;
2860 queue->tail = p;
2877 /* Add an item to the tail of the queue */
2891 if (queue->tail)
2892 queue->tail->host_scribble = (char *) item;
2894 queue->tail = item;
2928 if (queue->tail == item)
2929 queue->tail = NULL;
2971 queue->tail = p;
2988 /* Add an item to the tail of the queue */
3003 if (queue->tail)
3004 queue->tail->next = item;
3006 queue->tail = item;
3041 if (queue->tail == item)
3042 queue->tail = NULL;
3084 queue->tail = p;