Lines Matching defs:new
58 * Insert a new entry between two known consecutive entries.
63 static inline void __list_add(struct list_head *new,
67 next->prev = new;
68 new->next = next;
69 new->prev = prev;
70 prev->next = new;
74 * list_add - add a new entry
75 * @new: new entry to be added
78 * Insert a new entry after the specified head.
81 static inline void list_add(struct list_head *new, struct list_head *head)
83 __list_add(new, head, head->next);
87 * list_add_tail - add a new entry
88 * @new: new entry to be added
91 * Insert a new entry before the specified head.
94 static inline void list_add_tail(struct list_head *new, struct list_head *head)
96 __list_add(new, head->prev, head);
220 * hlist_add_head - add a new entry at the beginning of the hlist
221 * @n: new entry to be added
224 * Insert a new entry after the specified head.