Lines Matching defs:new
76 * Insert a new entry between two known consecutive entries.
81 static inline void __list_add(struct list_head *new,
85 next->prev = new;
86 new->next = next;
87 new->prev = prev;
88 prev->next = new;
92 * list_add - add a new entry
93 * @new: new entry to be added
96 * Insert a new entry after the specified head.
99 static inline void list_add(struct list_head *new, struct list_head *head)
101 __list_add(new, head, head->next);
105 * list_add_tail - add a new entry
106 * @new: new entry to be added
109 * Insert a new entry before the specified head.
112 static inline void list_add_tail(struct list_head *new, struct list_head *head)
114 __list_add(new, head->prev, head);
219 * @list: the new list to add.
230 * @list: the new list to add.