Lines Matching refs:new
32 * Insert a new entry between two known consecutive entries.
37 static inline void __list_add(struct list_head * new,
41 next->prev = new;
42 new->next = next;
43 new->prev = prev;
44 prev->next = new;
48 * list_add - add a new entry
49 * @new: new entry to be added
52 * Insert a new entry after the specified head.
55 static inline void list_add(struct list_head *new, struct list_head *head)
57 __list_add(new, head, head->next);
61 * list_add_tail - add a new entry
62 * @new: new entry to be added
65 * Insert a new entry before the specified head.
68 static inline void list_add_tail(struct list_head *new, struct list_head *head)
70 __list_add(new, head->prev, head);
118 * @list: the new list to add.