Searched refs:list_is_head (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/include/linux/ |
| H A D | list.h | 362 static inline int list_is_head(const struct list_head *list, const struct list_head *head) in list_is_head() function 410 return list_is_head(next, head) && (next == READ_ONCE(head->prev)); in list_empty_careful() 485 if (list_is_singular(head) && !list_is_head(entry, head) && (entry != head->next)) in list_cut_position() 487 if (list_is_head(entry, head)) in list_cut_position() 687 for (pos = (head)->next; !list_is_head(pos, (head)); pos = pos->next) 696 !list_is_head(pos, (head)); \ 707 for (pos = pos->next; !list_is_head(pos, (head)); pos = pos->next) 715 for (pos = (head)->prev; !list_is_head(pos, (head)); pos = pos->prev) 725 !list_is_head(pos, (head)); \ 736 !list_is_head(pos, (head)); \ [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | mptcp_bpf.h | 8 static inline int list_is_head(const struct list_head *list, in list_is_head() function 24 list_is_head(&pos->member, (head))
|
| /linux-6.15/fs/netfs/ |
| H A D | write_retry.c | 192 } while (!list_is_head(next, &stream->subrequests)); in netfs_retry_write_stream()
|
| H A D | read_retry.c | 234 } while (!list_is_head(next, &stream->subrequests)); in netfs_retry_read_subrequests()
|
| /linux-6.15/scripts/include/ |
| H A D | list.h | 208 static inline int list_is_head(const struct list_head *list, const struct list_head *head) in list_is_head() function
|
| /linux-6.15/lib/tests/ |
| H A D | list-test.c | 271 KUNIT_EXPECT_TRUE_MSG(test, list_is_head(&a, &a), in list_test_list_is_head() 273 KUNIT_EXPECT_FALSE_MSG(test, list_is_head(&a, &b), in list_test_list_is_head() 275 KUNIT_EXPECT_FALSE_MSG(test, list_is_head(&a, &c), in list_test_list_is_head()
|
| /linux-6.15/fs/ |
| H A D | namespace.c | 2213 if (list_is_head(list, &mnt_ns_list)) in get_sequential_mnt_ns()
|