Searched refs:list_is_head (Results 1 – 9 of 9) sorted by relevance
| /linux/include/linux/ |
| H A D | list.h | 370 static inline int list_is_head(const struct list_head *list, const struct list_head *head) in list_is_head() function 418 return list_is_head(next, head) && (next == READ_ONCE(head->prev)); in list_empty_careful() 493 if (list_is_singular(head) && !list_is_head(entry, head) && (entry != head->next)) in list_cut_position() 495 if (list_is_head(entry, head)) in list_cut_position() 709 for (pos = (head)->next; !list_is_head(pos, (head)); pos = pos->next) 719 for (pos = pos->next; !list_is_head(pos, (head)); pos = pos->next) 727 for (pos = (head)->prev; !list_is_head(pos, (head)); pos = pos->prev) 737 !list_is_head(pos, (head)); \ 748 !list_is_head(pos, (head)); \ 773 list_is_head(&pos->member, (head))
|
| H A D | rculist.h | 52 !list_is_head(pos, (head)); \
|
| /linux/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/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/kernel/ |
| H A D | nstree.c | 225 if (list_is_head(list, &ns_tree->ns_list)) in __ns_tree_adjoined_rcu()
|
| /linux/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/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/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vm.c | 485 while (!list_is_head(prev->next, &vm->done)) { in amdgpu_vm_lock_done_list()
|