Lines Matching defs:next
21 struct list_head *next;
32 p->next = p->prev = p;
51 for (p = (list)->next; p != (list); p = p->next)
55 * @s: a temporary variable to keep the next, a list_head pointer, too
59 for (p = (list)->next; s = p->next, p != (list); p = s)
67 struct list_head *first = list->next;
69 p->next = first;
71 list->next = p;
83 last->next = p;
85 p->next = list;
90 * @p: the new entry to be inserted between prev and next
92 * @next: the right-side entry
96 struct list_head *next)
98 next->prev = p;
99 p->next = next;
101 prev->next = p;
107 p->prev->next = p->next;
108 p->next->prev = p->prev;
114 return p->next == p;