/kernel/linux/linux-5.10/lib/ |
H A D | list-test.c | 20 struct list_head list1 = LIST_HEAD_INIT(list1); in list_test_list_init() local 36 KUNIT_EXPECT_TRUE(test, list_empty_careful(&list1)); in list_test_list_init() 167 LIST_HEAD(list1); in list_test_list_move() 170 list_add_tail(&a, &list1); in list_test_list_move() 173 /* before: [list1] -> a, [list2] -> b */ in list_test_list_move() 175 /* after: [list1] empty, [list2] -> a -> b */ in list_test_list_move() 177 KUNIT_EXPECT_TRUE(test, list_empty(&list1)); in list_test_list_move() 186 LIST_HEAD(list1); in list_test_list_move_tail() 189 list_add_tail(&a, &list1); in list_test_list_move_tail() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | list-test.c | 21 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() 188 LIST_HEAD(list1); in list_test_list_move() 191 list_add_tail(&a, &list1); in list_test_list_move() 194 /* before: [list1] -> a, [list2] -> b */ in list_test_list_move() 196 /* after: [list1] empty, [list2] -> a -> b */ in list_test_list_move() 198 KUNIT_EXPECT_TRUE(test, list_empty(&list1)); in list_test_list_move() 207 LIST_HEAD(list1); in list_test_list_move_tail() 210 list_add_tail(&a, &list1); in list_test_list_move_tail() 816 struct hlist_head list1 = HLIST_HEAD_INIT; hlist_test_init() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/ |
H A D | hantro_g2_hevc_dec.c | 306 u32 list1[V4L2_HEVC_DPB_ENTRIES_NUM_MAX] = {}; in set_ref_pic_list() local 360 for (i = 0; i < decode_params->num_poc_st_curr_after && j < ARRAY_SIZE(list1); i++) in set_ref_pic_list() 361 list1[j++] = decode_params->poc_st_curr_after[i]; in set_ref_pic_list() 362 for (i = 0; i < decode_params->num_poc_st_curr_before && j < ARRAY_SIZE(list1); i++) in set_ref_pic_list() 363 list1[j++] = decode_params->poc_st_curr_before[i]; in set_ref_pic_list() 364 for (i = 0; i < decode_params->num_poc_lt_curr && j < ARRAY_SIZE(list1); i++) in set_ref_pic_list() 365 list1[j++] = decode_params->poc_lt_curr[i]; in set_ref_pic_list() 368 while (j < ARRAY_SIZE(list1)) in set_ref_pic_list() 369 list1[j++] = list1[ in set_ref_pic_list() [all...] |
/kernel/linux/linux-5.10/drivers/firewire/ |
H A D | core-topology.c | 408 struct list_head list0, list1; in update_tree() local 414 INIT_LIST_HEAD(&list1); in update_tree() 415 list_add_tail(&root->link, &list1); in update_tree() 418 node1 = fw_node(list1.next); in update_tree() 455 list_add_tail(&node1->ports[i]->link, &list1); in update_tree()
|
/kernel/linux/linux-6.6/drivers/firewire/ |
H A D | core-topology.c | 409 struct list_head list0, list1; in update_tree() local 415 INIT_LIST_HEAD(&list1); in update_tree() 416 list_add_tail(&root->link, &list1); in update_tree() 419 node1 = fw_node(list1.next); in update_tree() 456 list_add_tail(&node1->ports[i]->link, &list1); in update_tree()
|
/kernel/linux/linux-5.10/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_driver.c | 484 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()
|
/kernel/linux/linux-6.6/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_driver.c | 484 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_pipe.c | 2055 * @list1: first properties list 2061 ice_match_prop_lst(struct list_head *list1, struct list_head *list2) in ice_match_prop_lst() argument 2069 list_for_each_entry(tmp1, list1, list) in ice_match_prop_lst() 2076 tmp1 = list_first_entry(list1, struct ice_vsig_prof, list); in ice_match_prop_lst()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_pipe.c | 837 * @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()
|