Lines Matching defs:old
235 * list_replace - replace old entry by new one
236 * @old : the element to be replaced
239 * If @old was empty, it will be overwritten.
241 static inline void list_replace(struct list_head *old,
244 new->next = old->next;
246 new->prev = old->prev;
251 * list_replace_init - replace old entry by new one and initialize the old one
252 * @old : the element to be replaced
255 * If @old was empty, it will be overwritten.
257 static inline void list_replace_init(struct list_head *old,
260 list_replace(old, new);
261 INIT_LIST_HEAD(old);
1107 * @old: hlist_head for old list.
1113 static inline void hlist_move_list(struct hlist_head *old,
1116 new->first = old->first;
1119 old->first = NULL;