Lines Matching defs:new
46 * Insert a new entry between two known consecutive entries.
51 static inline void __list_add(struct list_head *new,
55 next->prev = new;
56 new->next = next;
57 new->prev = prev;
58 prev->next = new;
62 * list_add - add a new entry
63 * @new: new entry to be added
66 * Insert a new entry after the specified head.
69 static inline void list_add(struct list_head *new, struct list_head *head)
71 __list_add(new, head, head->next);
75 * list_add_tail - add a new entry
76 * @new: new entry to be added
79 * Insert a new entry before the specified head.
82 static inline void list_add_tail(struct list_head *new, struct list_head *head)
84 __list_add(new, head->prev, head);
171 * @list: the new list to add.
182 * @list: the new list to add.