Lines Matching refs:tail
1526 head = tail = NULL; in remove_first()
1535 NODE_STRUCT *data = tail; in remove_last()
1536 if (tail) { in remove_last()
1537 if (tail->prev) { in remove_last()
1538 tail = tail->prev; in remove_last()
1539 tail->next = NULL; in remove_last()
1541 head = tail = NULL; in remove_last()
1552 data_ptr->prev = tail; in add_last()
1553 if (tail) { in add_last()
1554 tail->next = data_ptr; in add_last()
1555 tail = data_ptr; in add_last()
1557 head = tail = data_ptr; in add_last()
1570 return tail; in watch_last()