Lines Matching refs:next
36 (ptr)->next = (ptr)->prev = (ptr)
43 newp->next = head->next; in list_add()
45 head->next->prev = newp; in list_add()
47 head->next = newp; in list_add()
55 elem->next->prev = elem->prev; in list_del()
56 elem->prev->next = elem->next; in list_del()
65 if (add != add->next) in list_splice()
67 add->next->prev = head; in list_splice()
68 add->prev->next = head->next; in list_splice()
69 head->next->prev = add->prev; in list_splice()
70 head->next = add->next; in list_splice()
83 for (pos = (head)->next; pos != (head); pos = pos->next)