Lines Matching defs:list
2 * list.h - Linked list implementation. Part of the Linux-NTFS project.
26 * struct ntfs_list_head - Simple doubly linked list implementation.
56 * This is only for internal list manipulation where we know the prev/next
71 * @head: list head to add it after
85 * @head: list head to add it before
101 * Delete a list entry by making the prev/next entries point to each other.
103 * This is only for internal list manipulation where we know the prev/next
114 * ntfs_list_del - deletes entry from list.
115 * @entry: the element to delete from the list.
126 * ntfs_list_del_init - deletes entry from list and reinitialize it.
127 * @entry: the element to delete from the list.
136 * ntfs_list_empty - tests whether a list is empty
137 * @head: the list to test.
146 * @list: the new list to add.
147 * @head: the place to add it in the first list.
149 static __inline__ void ntfs_list_splice(struct ntfs_list_head *list,
152 struct ntfs_list_head *first = list->next;
154 if (first != list) {
155 struct ntfs_list_head *last = list->prev;
176 * ntfs_list_for_each - iterate over a list
178 * @head: the head for your list.
184 * ntfs_list_for_each_safe - iterate over a list safe against removal of list entry
187 * @head: the head for your list.