list_is_head
while (!list_is_head(prev->next, &vm->done)) {
} while (!list_is_head(next, &stream->subrequests));
} while (!list_is_head(next, &stream->subrequests));
return list_is_head(next, head) && (next == READ_ONCE(head->prev));
if (list_is_singular(head) && !list_is_head(entry, head) && (entry != head->next))
if (list_is_head(entry, head))
for (pos = (head)->next; !list_is_head(pos, (head)); pos = pos->next)
for (pos = pos->next; !list_is_head(pos, (head)); pos = pos->next)
for (pos = (head)->prev; !list_is_head(pos, (head)); pos = pos->prev)
!list_is_head(pos, (head)); \
!list_is_head(pos, (head)); \
list_is_head(&pos->member, (head))
list_is_head(&ACCESS_PRIVATE(pos, member), (head))
!list_is_head(pos, (head)); \
if (list_is_head(list, &ns_tree->ns_list_head))
KUNIT_EXPECT_TRUE_MSG(test, list_is_head(&a, &a),
KUNIT_EXPECT_FALSE_MSG(test, list_is_head(&a, &b),
KUNIT_EXPECT_FALSE_MSG(test, list_is_head(&a, &c),
list_is_head(&pos->member, (head))