Lines Matching refs:prev
22 bool __list_add_valid_or_report(struct list_head *new, struct list_head *prev, in __list_add_valid_or_report() argument
25 if (CHECK_DATA_CORRUPTION(prev == NULL, in __list_add_valid_or_report()
29 CHECK_DATA_CORRUPTION(next->prev != prev, in __list_add_valid_or_report()
31 prev, next->prev, next) || in __list_add_valid_or_report()
32 CHECK_DATA_CORRUPTION(prev->next != next, in __list_add_valid_or_report()
34 next, prev->next, prev) || in __list_add_valid_or_report()
35 CHECK_DATA_CORRUPTION(new == prev || new == next, in __list_add_valid_or_report()
37 new, prev, next)) in __list_add_valid_or_report()
47 struct list_head *prev, *next; in __list_del_entry_valid_or_report() local
49 prev = entry->prev; in __list_del_entry_valid_or_report()
54 CHECK_DATA_CORRUPTION(prev == NULL, in __list_del_entry_valid_or_report()
59 CHECK_DATA_CORRUPTION(prev == LIST_POISON2, in __list_del_entry_valid_or_report()
62 CHECK_DATA_CORRUPTION(prev->next != entry, in __list_del_entry_valid_or_report()
64 entry, prev->next, prev) || in __list_del_entry_valid_or_report()
65 CHECK_DATA_CORRUPTION(next->prev != entry, in __list_del_entry_valid_or_report()
67 entry, next->prev, next)) in __list_del_entry_valid_or_report()