Lines Matching defs:new
61 * Insert a new entry between two known consecutive entries.
66 static inline void __list_add(struct list_head *new,
70 next->prev = new;
71 new->next = next;
72 new->prev = prev;
73 prev->next = new;
77 * list_add - add a new entry
78 * @new: new entry to be added
81 * Insert a new entry after the specified head.
84 static inline void list_add(struct list_head *new, struct list_head *head)
86 __list_add(new, head, head->next);
90 * list_add_tail - add a new entry
91 * @new: new entry to be added
94 * Insert a new entry before the specified head.
97 static inline void list_add_tail(struct list_head *new, struct list_head *head)
99 __list_add(new, head->prev, head);