Delete from list, add to another list as head. */
| 91 | |
| 92 | /* Delete from list, add to another list as head. */ |
| 93 | static inline void list_move(struct list_head *elem, struct list_head *head) |
| 94 | { |
| 95 | __list_del(elem->prev, elem->next); |
| 96 | list_add(elem, head); |
| 97 | } |
| 98 | |
| 99 | /* Replace an old entry. */ |
| 100 | static inline void list_replace(struct list_head *old, struct list_head *newp) |
nothing calls this directly
no test coverage detected