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(next->prev != prev, in __list_add_valid()
25 prev, next->prev, next) || in __list_add_valid()
26 CHECK_DATA_CORRUPTION(prev->next != next, in __list_add_valid()
28 next, prev->next, prev) || in __list_add_valid()
29 CHECK_DATA_CORRUPTION(new == prev || new == next, in __list_add_valid()
31 new, prev, next)) in __list_add_valid()
40 struct list_head *prev, *next; in __list_del_entry_valid() local
42 prev = entry->prev; in __list_del_entry_valid()
48 CHECK_DATA_CORRUPTION(prev == LIST_POISON2, in __list_del_entry_valid()
51 CHECK_DATA_CORRUPTION(prev->next != entry, in __list_del_entry_valid()
53 entry, prev->next) || in __list_del_entry_valid()
54 CHECK_DATA_CORRUPTION(next->prev != entry, in __list_del_entry_valid()
56 entry, next->prev)) in __list_del_entry_valid()