Searched refs:list_is_head (Results 1 – 1 of 1) sorted by relevance
/include/linux/ |
D | list.h | 279 static inline int list_is_head(const struct list_head *list, const struct list_head *head) in list_is_head() function 327 return list_is_head(next, head) && (next == READ_ONCE(head->prev)); in list_empty_careful() 402 if (list_is_singular(head) && !list_is_head(entry, head) && (entry != head->next)) in list_cut_position() 404 if (list_is_head(entry, head)) in list_cut_position() 578 for (pos = (head)->next; !list_is_head(pos, (head)); pos = pos->next) 587 !list_is_head(pos, (head)); \ 598 for (pos = pos->next; !list_is_head(pos, (head)); pos = pos->next) 606 for (pos = (head)->prev; !list_is_head(pos, (head)); pos = pos->prev) 616 !list_is_head(pos, (head)); \ 627 !list_is_head(pos, (head)); \
|