* list_node_init - initialize a list_node * @n: the list_node to link to itself. * * You don't need to use this normally! But it lets you list_del(@n) * safely. */
| 153 | * safely. |
| 154 | */ |
| 155 | static inline void list_node_init(struct list_node *n) |
| 156 | { |
| 157 | n->next = n->prev = n; |
| 158 | } |
| 159 | |
| 160 | /** |
| 161 | * list_add_after - add an entry after an existing node in a linked list |
no outgoing calls