Lines Matching refs:next
21 struct list_head *next) 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
43 next = entry->next; in __list_del_entry_valid()
45 if (CHECK_DATA_CORRUPTION(next == LIST_POISON1, 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()