Go to the documentation of this file.
9 #include <linux/export.h>
10 #include <linux/list.h>
12 #include <linux/kernel.h>
27 "list_add corruption. next->prev should be "
28 "prev (%p), but was %p. (next=%p).\n",
29 prev, next->
prev, next);
31 "list_add corruption. prev->next should be "
32 "next (%p), but was %p. (prev=%p).\n",
33 next, prev->
next, prev);
34 WARN(
new == prev ||
new == next,
35 "list_add double add: new=%p, prev=%p, next=%p.\n",
52 "list_del corruption, %p->next is LIST_POISON1 (%p)\n",
55 "list_del corruption, %p->prev is LIST_POISON2 (%p)\n",
58 "list_del corruption. prev->next should be %p, "
59 "but was %p\n", entry, prev->
next) ||
61 "list_del corruption. next->prev should be %p, "
62 "but was %p\n", entry, next->
prev))
65 __list_del(prev, next);
90 "list_add_rcu corruption. next->prev should be prev (%p), but was %p. (next=%p).\n",
91 prev, next->
prev, next);
93 "list_add_rcu corruption. prev->next should be next (%p), but was %p. (prev=%p).\n",
94 next, prev->
next, prev);