Lines Matching defs:source
338 * Append all nodes from the source list to the end of the target list
340 void append_list(exec_list *source);
343 * Prepend all nodes from the source list to the beginning of the target
346 void prepend_list(exec_list *source);
503 exec_list_append(struct exec_list *list, struct exec_list *source)
505 if (exec_list_is_empty(source))
508 /* Link the first node of the source with the last node of the target list.
510 list->tail_sentinel.prev->next = source->head_sentinel.next;
511 source->head_sentinel.next->prev = list->tail_sentinel.prev;
513 /* Make the tail of the source list be the tail of the target list.
515 list->tail_sentinel.prev = source->tail_sentinel.prev;
518 /* Make the source list empty for good measure.
520 exec_list_make_empty(source);
539 exec_list_prepend(struct exec_list *list, struct exec_list *source)
541 exec_list_append(source, list);
542 exec_list_move_nodes_to(source, list);
661 inline void exec_list::append_list(exec_list *source)
663 exec_list_append(this, source);
671 inline void exec_list::prepend_list(exec_list *source)
673 exec_list_prepend(this, source);