Lines Matching refs:prev
10 struct list_head *prev, *next; member
13 #define INIT_LIST_HEAD(l) do { (l)->prev = (l)->next = (l); } while (0)
16 __list_add(struct list_head *o, struct list_head *prev, in __list_add() argument
19 next->prev = o; in __list_add()
21 o->prev = prev; in __list_add()
22 prev->next = o; in __list_add()
28 __list_add(o, head->prev, head); in list_add_tail()
35 __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument
37 next->prev = prev; in __list_del()
38 prev->next = next; in __list_del()
45 __list_del(entry->prev, entry->next); in list_del()
46 entry->next = entry->prev = NULL; in list_del()