Lines Matching refs:head
71 * @head: list head to add it after
73 * Insert a new entry after the specified head.
77 struct ntfs_list_head *head)
79 __ntfs_list_add(new, head, head->next);
85 * @head: list head to add it before
87 * Insert a new entry before the specified head.
91 struct ntfs_list_head *head)
93 __ntfs_list_add(new, head->prev, head);
137 * @head: the list to test.
139 static __inline__ int ntfs_list_empty(struct ntfs_list_head *head)
141 return head->next == head;
147 * @head: the place to add it in the first list.
150 struct ntfs_list_head *head)
156 struct ntfs_list_head *at = head->next;
158 first->prev = head;
159 head->next = first;
178 * @head: the head for your list.
180 #define ntfs_list_for_each(pos, head) \
181 for (pos = (head)->next; pos != (head); pos = pos->next)
187 * @head: the head for your list.
189 #define ntfs_list_for_each_safe(pos, n, head) \
190 for (pos = (head)->next, n = pos->next; pos != (head); \