Home
last modified time | relevance | path

Searched refs: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()
824 struct hlist_head list1 = HLIST_HEAD_INIT; hlist_test_init() local
[all...]
/linux/drivers/media/platform/verisilicon/ !
H A Dhantro_g2_hevc_dec.c292 u32 list1[V4L2_HEVC_DPB_ENTRIES_NUM_MAX] = {}; in set_ref_pic_list() local
346 for (i = 0; i < decode_params->num_poc_st_curr_after && j < ARRAY_SIZE(list1); i++) in set_ref_pic_list()
347 list1[j++] = decode_params->poc_st_curr_after[i]; in set_ref_pic_list()
348 for (i = 0; i < decode_params->num_poc_st_curr_before && j < ARRAY_SIZE(list1); i++) in set_ref_pic_list()
349 list1[j++] = decode_params->poc_st_curr_before[i]; in set_ref_pic_list()
350 for (i = 0; i < decode_params->num_poc_lt_curr && j < ARRAY_SIZE(list1); i++) in set_ref_pic_list()
351 list1[j++] = decode_params->poc_lt_curr[i]; in set_ref_pic_list()
354 while (j < ARRAY_SIZE(list1)) in set_ref_pic_list()
355 list1[j++] = list1[ in set_ref_pic_list()
[all...]
/linux/drivers/firewire/ !
H A Dcore-topology.c359 struct list_head list0, list1; in update_tree() local
365 INIT_LIST_HEAD(&list1); in update_tree()
366 list_add_tail(&root->link, &list1); in update_tree()
369 node1 = fw_node(list1.next); in update_tree()
406 list_add_tail(&node1->ports[i]->link, &list1); in update_tree()
/linux/tools/testing/selftests/filesystems/mount-notify/ !
H A Dmount-notify_test.c197 const uint64_t list1[], const uint64_t list2[], in verify_mount_ids() argument
206 ASSERT_NE(list1[i], list1[j]); in verify_mount_ids()
211 // Check that all list1 memebers can be found in list2. Together with in verify_mount_ids()
212 // the above it means that the list1 and list2 represent the same sets. in verify_mount_ids()
215 if (list1[i] == list2[j]) in verify_mount_ids()
H A Dmount-notify_test_ns.c225 const uint64_t list1[], const uint64_t list2[], in verify_mount_ids() argument
234 ASSERT_NE(list1[i], list1[j]); in verify_mount_ids()
239 // Check that all list1 memebers can be found in list2. Together with in verify_mount_ids()
240 // the above it means that the list1 and list2 represent the same sets. in verify_mount_ids()
243 if (list1[i] == list2[j]) in verify_mount_ids()
/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/media/i2c/et8ek8/ !
H A Det8ek8_driver.c484 const struct et8ek8_reglist **list1 = (const struct et8ek8_reglist **)a, in et8ek8_reglist_cmp() local
488 if ((*list1)->type == ET8EK8_REGLIST_MODE && in et8ek8_reglist_cmp()
491 if ((*list1)->type != ET8EK8_REGLIST_MODE && in et8ek8_reglist_cmp()
496 if ((*list1)->mode.window_width > (*list2)->mode.window_width) in et8ek8_reglist_cmp()
498 if ((*list1)->mode.window_width < (*list2)->mode.window_width) in et8ek8_reglist_cmp()
501 if ((*list1)->mode.window_height > (*list2)->mode.window_height) in et8ek8_reglist_cmp()
503 if ((*list1)->mode.window_height < (*list2)->mode.window_height) in et8ek8_reglist_cmp()
/linux/include/acpi/ !
H A Dacpi_bus.h36 bool acpi_handle_list_equal(struct acpi_handle_list *list1,
/linux/drivers/net/ethernet/intel/ice/ !
H A Dice_flex_pipe.c837 * @list1: first properties list
843 ice_match_prop_lst(struct list_head *list1, struct list_head *list2) in ice_match_prop_lst() argument
851 list_for_each_entry(tmp1, list1, list) in ice_match_prop_lst()
858 tmp1 = list_first_entry(list1, struct ice_vsig_prof, list); in ice_match_prop_lst()