Lines Matching defs:prev
33 * sometimes we already know the next/prev entries and we can
38 struct list_head *next, *prev;
47 (ptr)->next = (ptr); (ptr)->prev = (ptr); \
53 * @prev:
56 * This is only for internal list manipulation where we know the prev/next
60 struct list_head * prev, struct list_head * next)
62 next->prev = new;
64 new->prev = prev;
65 prev->next = new;
91 __list_add(new, head->prev, head);
96 * @prev:
99 * Delete a list entry by making the prev/next entries point to each other.
101 * This is only for internal list manipulation where we know the prev/next
104 static __inline__ void __list_del(struct list_head * prev,
107 next->prev = prev;
108 prev->next = next;
120 __list_del(entry->prev, entry->next);
129 __list_del(entry->prev, entry->next);
153 struct list_head *last = list->prev;
156 first->prev = head;
160 at->prev = last;