Lines Matching defs:list
2 * list.h: header for mega_sas
12 * this list of conditions and the following disclaimer.
15 * this list of conditions and the following disclaimer in the documentation
49 * Simple doubly linked list implementation.
77 * This is only for internal list manipulation where we know
94 * @head: list head to add it after
108 * @head: list head to add it before
121 * Delete a list entry by making the prev/next entries
124 * This is only for internal list manipulation where we know
137 * mlist_del - deletes entry from list.
138 * @entry: the element to delete from the list.
151 * mlist_del_init - deletes entry from list and reinitialize it.
152 * @entry: the element to delete from the list.
162 * mlist_empty - tests whether a list is empty
163 * @head: the list to test.
173 * @list: the new list to add.
174 * @head: the place to add it in the first list.
176 static void mlist_splice(struct mlist_head *list, struct mlist_head *head)
178 struct mlist_head *first = list->next;
180 if (first != list) {
181 struct mlist_head *last = list->prev;
212 * mlist_for_each - iterate over a list
214 * @head: the head for your list.
222 * mlist_for_each_safe - iterate over a list safe against removal of list entry
225 * @head: the head for your list.