Lines Matching full:list
15 * Simple doubly linked list implementation.
30 * @param ptr the list to init
32 * Init a list head to create an empty list from it
43 * This is only for internal list manipulation where we know
59 * @param head list head to add it after
72 * @param head list head to add it before
83 * Delete a list entry by making the prev/next entries
86 * This is only for internal list manipulation where we know
97 * list_del - deletes entry from list.
98 * @param entry the element to delete from the list.
107 * list_del_init - deletes entry from list and reinitialize it.
108 * @param entry the element to delete from the list.
117 * list_empty - tests whether a list is empty
118 * @param head the list to test.
127 * @param list the new list to add.
128 * @param head the place to add it in the first list.
130 static __inline__ void list_splice(struct list_head * list, struct list_head * head)
132 struct list_head * first = list->next;
134 if (first != list) {
135 struct list_head * last = list->prev;
156 * list_for_each - iterate over a list
158 * @param head the head for your list.
164 * list_for_each_safe - iterate over a list safe against removal of list entry
167 * @param head the head for your list.