Lines Matching refs:prev
20 bool __list_add_valid(struct list_head *new, struct list_head *prev, in __list_add_valid() argument
23 if (CHECK_DATA_CORRUPTION(prev == NULL, in __list_add_valid()
27 CHECK_DATA_CORRUPTION(next->prev != prev, in __list_add_valid()
29 prev, next->prev, next) || in __list_add_valid()
30 CHECK_DATA_CORRUPTION(prev->next != next, in __list_add_valid()
32 next, prev->next, prev) || in __list_add_valid()
33 CHECK_DATA_CORRUPTION(new == prev || new == next, in __list_add_valid()
35 new, prev, next)) in __list_add_valid()
44 struct list_head *prev, *next; in __list_del_entry_valid() local
46 prev = entry->prev; in __list_del_entry_valid()
51 CHECK_DATA_CORRUPTION(prev == NULL, in __list_del_entry_valid()
56 CHECK_DATA_CORRUPTION(prev == LIST_POISON2, in __list_del_entry_valid()
59 CHECK_DATA_CORRUPTION(prev->next != entry, in __list_del_entry_valid()
61 entry, prev->next, prev) || in __list_del_entry_valid()
62 CHECK_DATA_CORRUPTION(next->prev != entry, in __list_del_entry_valid()
64 entry, next->prev, next)) in __list_del_entry_valid()