Home
last modified time | relevance | path

Searched full:list1 (Results 1 – 9 of 9) sorted by relevance

/linux/lib/tests/
H A Dlist-test.c21 struct list_head list1 = LIST_HEAD_INIT(list1); in list_test_list_init() local
37 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list1)); in list_test_list_init()
192 LIST_HEAD(list1); in list_test_list_move()
195 list_add_tail(&a, &list1); in list_test_list_move()
198 /* before: [list1] -> a, [list2] -> b */ in list_test_list_move()
200 /* after: [list1] empty, [list2] -> a -> b */ in list_test_list_move()
202 KUNIT_EXPECT_TRUE(test, list_empty(&list1)); in list_test_list_move()
211 LIST_HEAD(list1); in list_test_list_move_tail()
214 list_add_tail(&a, &list1); in list_test_list_move_tail()
217 /* before: [list1] -> a, [list2] -> b */ in list_test_list_move_tail()
[all …]
/linux/tools/testing/selftests/filesystems/mount-notify/
H A Dmount-notify_test.c196 const uint64_t list1[], const uint64_t list2[], in verify_mount_ids() argument
205 ASSERT_NE(list1[i], list1[j]); in verify_mount_ids()
210 // Check that all list1 memebers can be found in list2. Together with in verify_mount_ids()
211 // the above it means that the list1 and list2 represent the same sets. in verify_mount_ids()
214 if (list1[i] == list2[j]) in verify_mount_ids()
H A Dmount-notify_test_ns.c223 const uint64_t list1[], const uint64_t list2[], in verify_mount_ids() argument
232 ASSERT_NE(list1[i], list1[j]); in verify_mount_ids()
237 // Check that all list1 memebers can be found in list2. Together with in verify_mount_ids()
238 // the above it means that the list1 and list2 represent the same sets. in verify_mount_ids()
241 if (list1[i] == list2[j]) in verify_mount_ids()
/linux/drivers/firewire/
H A Dcore-topology.c361 struct list_head list0, list1; in update_tree() local
367 INIT_LIST_HEAD(&list1); in update_tree()
368 list_add_tail(&root->link, &list1); in update_tree()
371 node1 = fw_node(list1.next); in update_tree()
408 list_add_tail(&node1->ports[i]->link, &list1); in update_tree()
/linux/tools/include/linux/
H A Dbtf_ids.h65 * BTF_ID_LIST(list1)
69 * list1:
/linux/drivers/acpi/
H A Dutils.c410 * @list1: First list to compare.
416 bool acpi_handle_list_equal(struct acpi_handle_list *list1, in acpi_handle_list_equal() argument
419 return list1->count == list2->count && in acpi_handle_list_equal()
420 !memcmp(list1->handles, list2->handles, in acpi_handle_list_equal()
421 list1->count * sizeof(*list1->handles)); in acpi_handle_list_equal()
/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_switch_map.h189 /* TAS gate mask for windows list1 */
/linux/include/acpi/
H A Dacpi_bus.h38 bool acpi_handle_list_equal(struct acpi_handle_list *list1,
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c833 * @list1: first properties list
839 ice_match_prop_lst(struct list_head *list1, struct list_head *list2) in ice_match_prop_lst() argument
847 list_for_each_entry(tmp1, list1, list) in ice_match_prop_lst()
854 tmp1 = list_first_entry(list1, struct ice_vsig_prof, list); in ice_match_prop_lst()