Home
last modified time | relevance | path

Searched refs:KUNIT_EXPECT_PTR_EQ (Results 1 – 25 of 33) sorted by relevance

12

/linux/lib/
H A Dlist-test.c56 KUNIT_EXPECT_PTR_EQ(test, list.next, &b); in list_test_list_add()
57 KUNIT_EXPECT_PTR_EQ(test, b.prev, &list); in list_test_list_add()
58 KUNIT_EXPECT_PTR_EQ(test, b.next, &a); in list_test_list_add()
70 KUNIT_EXPECT_PTR_EQ(test, list.next, &a); in list_test_list_add_tail()
71 KUNIT_EXPECT_PTR_EQ(test, a.prev, &list); in list_test_list_add_tail()
72 KUNIT_EXPECT_PTR_EQ(test, a.next, &b); in list_test_list_add_tail()
87 KUNIT_EXPECT_PTR_EQ(test, list.next, &b); in list_test_list_del()
88 KUNIT_EXPECT_PTR_EQ(test, b.prev, &list); in list_test_list_del()
103 KUNIT_EXPECT_PTR_EQ(test, list.next, &a_new); in list_test_list_replace()
104 KUNIT_EXPECT_PTR_EQ(test, b.prev, &a_new); in list_test_list_replace()
[all …]
H A Dkunit_iov_iter.c759 KUNIT_EXPECT_PTR_EQ(test, pagelist[i], p); in iov_kunit_extract_pages_kvec()
837 KUNIT_EXPECT_PTR_EQ(test, pagelist[i], p); in iov_kunit_extract_pages_bvec()
914 KUNIT_EXPECT_PTR_EQ(test, pagelist[i], p); in iov_kunit_extract_pages_folioq()
992 KUNIT_EXPECT_PTR_EQ(test, pagelist[i], p); in iov_kunit_extract_pages_xarray()
/linux/drivers/thunderbolt/
H A Dtest.c434 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_basic()
453 KUNIT_EXPECT_PTR_EQ(test, p, src_port); in tb_test_path_not_connected_walk()
456 KUNIT_EXPECT_PTR_EQ(test, p, &host->ports[3]); in tb_test_path_not_connected_walk()
464 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_not_connected_walk()
467 KUNIT_EXPECT_PTR_EQ(test, p, &dev->ports[1]); in tb_test_path_not_connected_walk()
1360 KUNIT_EXPECT_PTR_EQ(test, tunnel1->src_port, down); in tb_test_tunnel_pcie()
1361 KUNIT_EXPECT_PTR_EQ(test, tunnel1->dst_port, up); in tb_test_tunnel_pcie()
1364 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie()
1365 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie()
1367 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up); in tb_test_tunnel_pcie()
[all …]
/linux/security/apparmor/
H A Dpolicy_unpack_test.c151 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_array_with_null_name()
165 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_array_with_name()
179 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_array_out_of_bounds()
226 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, start); in policy_unpack_test_unpack_blob_out_of_bounds()
267 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, start); in policy_unpack_test_unpack_str_out_of_bounds()
319 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, start); in policy_unpack_test_unpack_strdup_out_of_bounds()
334 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_null_name()
348 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_wrong_code()
363 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_name()
378 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_wrong_name()
[all …]
/linux/net/mptcp/
H A Dtoken_test.c26 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, req->token)); in mptcp_token_test_req_basic()
87 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic()
91 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic()
103 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept()
107 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept()
129 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_destroyed()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_device_test.c31 KUNIT_EXPECT_PTR_EQ(test, ttm_dev->funcs, &ttm_dev_funcs); in ttm_device_init_basic()
41 KUNIT_EXPECT_PTR_EQ(test, ttm_dev->dev_mapping, in ttm_device_init_basic()
61 KUNIT_EXPECT_PTR_EQ(test, ttm_devs[i].dev_mapping, in ttm_device_init_multiple()
64 KUNIT_EXPECT_PTR_EQ(test, ttm_devs[i].funcs, &ttm_dev_funcs); in ttm_device_init_multiple()
172 KUNIT_EXPECT_PTR_EQ(test, pool->dev, priv->dev); in ttm_device_init_pools()
180 KUNIT_EXPECT_PTR_EQ(test, pt.pool, pool); in ttm_device_init_pools()
H A Dttm_bo_validate_test.c131 KUNIT_EXPECT_PTR_EQ(test, bo->bdev, priv->ttm_dev); in ttm_bo_init_reserved_sys_man()
134 KUNIT_EXPECT_PTR_EQ(test, bo->destroy, &dummy_ttm_bo_destroy); in ttm_bo_init_reserved_sys_man()
180 KUNIT_EXPECT_PTR_EQ(test, bo->bdev, priv->ttm_dev); in ttm_bo_init_reserved_mock_man()
221 KUNIT_EXPECT_PTR_EQ(test, bo->base.resv, &resv); in ttm_bo_init_reserved_resv()
/linux/drivers/firewire/
H A Dself-id-sequence-helper-test.c27 KUNIT_EXPECT_PTR_EQ(test, entry, &valid_sequences[0]); in test_self_id_sequence_enumerator_valid()
32 KUNIT_EXPECT_PTR_EQ(test, entry, &valid_sequences[1]); in test_self_id_sequence_enumerator_valid()
37 KUNIT_EXPECT_PTR_EQ(test, entry, &valid_sequences[3]); in test_self_id_sequence_enumerator_valid()
42 KUNIT_EXPECT_PTR_EQ(test, entry, &valid_sequences[6]); in test_self_id_sequence_enumerator_valid()
/linux/drivers/fpga/tests/
H A Dfpga-bridge-test.c84 KUNIT_EXPECT_PTR_EQ(test, bridge, ctx->bridge); in fpga_bridge_test_get()
122 KUNIT_EXPECT_PTR_EQ(test, ctx_0->bridge, in fpga_bridge_test_get_put_list()
129 KUNIT_EXPECT_PTR_EQ(test, ctx_1->bridge, in fpga_bridge_test_get_put_list()
H A Dfpga-region-test.c108 KUNIT_EXPECT_PTR_EQ(test, region, ctx->region); in fpga_region_test_class_find()
/linux/lib/kunit/
H A Dkunit-test.c203 KUNIT_EXPECT_PTR_EQ(test, in kunit_resource_test_alloc_resource()
207 KUNIT_EXPECT_PTR_EQ(test, free, res->free); in kunit_resource_test_alloc_resource()
410 KUNIT_EXPECT_PTR_EQ(test, res.data, (void *)&ctx); in kunit_resource_test_static()
426 KUNIT_EXPECT_PTR_EQ(test, res1.data, (void *)&ctx); in kunit_resource_test_named()
440 KUNIT_EXPECT_PTR_EQ(test, found, &res1); in kunit_resource_test_named()
708 KUNIT_EXPECT_PTR_EQ(test, test, current->kunit_test); in kunit_current_test()
709 KUNIT_EXPECT_PTR_EQ(test, test, kunit_get_current_test()); in kunit_current_test()
H A Dkunit-example-test.c127 KUNIT_EXPECT_PTR_EQ(test, NULL, NULL); in example_all_expect_macros_test()
H A Dplatform-test.c100 KUNIT_EXPECT_PTR_EQ(test, NULL, dev); in kunit_platform_device_add_cleans_up()
/linux/drivers/of/
H A Doverlay_test.c92 KUNIT_EXPECT_PTR_EQ(test, NULL, np); in of_overlay_apply_kunit_cleanup()
97 KUNIT_EXPECT_PTR_EQ(test, NULL, dev); in of_overlay_apply_kunit_cleanup()
/linux/net/wireless/tests/
H A Dchan.c209 KUNIT_EXPECT_PTR_EQ(test, ret, expect); in KUNIT_ARRAY_PARAM_DESC()
215 KUNIT_EXPECT_PTR_EQ(test, ret, expect); in KUNIT_ARRAY_PARAM_DESC()
H A Dscan.c330 KUNIT_EXPECT_PTR_EQ(ctx->test, drv_data, ctx); in inform_bss_inc_counter()
331 KUNIT_EXPECT_PTR_EQ(ctx->test, ies, rcu_dereference(bss->ies)); in inform_bss_inc_counter()
376 KUNIT_EXPECT_PTR_EQ(test, bss->channel, inform_bss.chan); in test_inform_bss_ssid_only()
392 KUNIT_EXPECT_PTR_EQ(test, bss, other); in test_inform_bss_ssid_only()
399 KUNIT_EXPECT_PTR_EQ(test, bss, other); in test_inform_bss_ssid_only()
628 KUNIT_EXPECT_PTR_EQ(test, link_bss->channel, in KUNIT_ARRAY_PARAM_DESC()
/linux/drivers/base/test/
H A Dproperty-entry-test.c437 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node1); in pe_test_reference()
448 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2); in pe_test_reference()
456 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2); in pe_test_reference()
471 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node1); in pe_test_reference()
478 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &node2); in pe_test_reference()
/linux/drivers/clk/
H A Dclk-gate_test.c41 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_names()
61 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_data()
81 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_data_legacy()
99 KUNIT_EXPECT_PTR_EQ(test, parent, clk_hw_get_parent(ret)); in clk_gate_register_test_parent_hw()
/linux/security/ipe/
H A Dpolicy_tests.c262 KUNIT_EXPECT_PTR_EQ(test, NULL, pol->pkcs7); in ipe_parser_unsigned_test()
/linux/drivers/net/wireless/intel/iwlwifi/tests/
H A Ddevinfo.c63 KUNIT_EXPECT_PTR_EQ(test, t, s); in devinfo_pci_ids()
/linux/mm/damon/tests/
H A Dcore-kunit.h172 KUNIT_EXPECT_PTR_EQ(test, r, r3); in damon_test_merge_two()
417 KUNIT_EXPECT_PTR_EQ(test, filter->list.prev, &filter->list); in damos_test_new_filter()
418 KUNIT_EXPECT_PTR_EQ(test, filter->list.next, &filter->list); in damos_test_new_filter()
/linux/drivers/gpu/drm/tests/
H A Ddrm_gem_shmem_test.c118 KUNIT_EXPECT_PTR_EQ(test, shmem->sgt, sgt); in drm_gem_shmem_test_obj_create_private()
255 KUNIT_EXPECT_PTR_EQ(test, sgt, shmem->sgt); in drm_gem_shmem_test_get_sg_table()
/linux/drivers/hid/
H A Dhid-uclogic-params-test.c202 KUNIT_EXPECT_PTR_EQ(test, p.event_hooks, NULL); in hid_test_uclogic_params_cleanup_event_hooks()
/linux/net/handshake/
H A Dhandshake-test.c235 KUNIT_EXPECT_PTR_EQ(test, req, result); in handshake_req_submit_test4()
480 KUNIT_EXPECT_PTR_EQ(test, handshake_req_destroy_test, req); in handshake_req_destroy_test1()
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_api_kunit.c770 KUNIT_EXPECT_PTR_EQ(test, NULL, tg); in vcap_api_keyfield_typegroup_test()
793 KUNIT_EXPECT_PTR_EQ(test, NULL, tg); in vcap_api_actionfield_typegroup_test()
805 KUNIT_EXPECT_PTR_EQ(test, NULL, ft); in vcap_api_vcap_keyfields_test()
809 KUNIT_EXPECT_PTR_EQ(test, NULL, ft); in vcap_api_vcap_keyfields_test()
820 KUNIT_EXPECT_PTR_EQ(test, NULL, ft); in vcap_api_vcap_actionfields_test()
823 KUNIT_EXPECT_PTR_EQ(test, NULL, ft); in vcap_api_vcap_actionfields_test()

12