Lines Matching refs:new
55 * Insert a new entry between two known consecutive entries.
60 static inline void __list_add(struct list_head *new,
64 next->prev = new;
65 new->next = next;
66 new->prev = prev;
67 prev->next = new;
71 * list_add - add a new entry
72 * @new: new entry to be added
75 * Insert a new entry after the specified head.
78 static inline void list_add(struct list_head *new, struct list_head *head)
80 __list_add(new, head, head->next);
84 * list_add_tail - add a new entry
85 * @new: new entry to be added
88 * Insert a new entry before the specified head.
91 static inline void list_add_tail(struct list_head *new, struct list_head *head)
93 __list_add(new, head->prev, head);
180 * @list: the new list to add.
191 * @list: the new list to add.