Home
last modified time | relevance | path

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

/linux-6.6.21/lib/
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 …]
Dkunit_iov_iter.c582 KUNIT_EXPECT_PTR_EQ(test, pagelist[i], p); in iov_kunit_extract_pages_kvec()
660 KUNIT_EXPECT_PTR_EQ(test, pagelist[i], p); in iov_kunit_extract_pages_bvec()
736 KUNIT_EXPECT_PTR_EQ(test, pagelist[i], p); in iov_kunit_extract_pages_xarray()
/linux-6.6.21/drivers/thunderbolt/
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-6.6.21/security/apparmor/
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()
315 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, start); in policy_unpack_test_unpack_strdup_out_of_bounds()
328 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_null_name()
342 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_wrong_code()
357 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_name()
372 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_wrong_name()
[all …]
/linux-6.6.21/net/mptcp/
Dtoken_test.c26 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, req->token)); in mptcp_token_test_req_basic()
82 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic()
86 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic()
98 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept()
102 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept()
124 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_destroyed()
/linux-6.6.21/drivers/gpu/drm/ttm/tests/
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()
/linux-6.6.21/drivers/fpga/tests/
Dfpga-bridge-test.c78 KUNIT_EXPECT_PTR_EQ(test, bridge, ctx->bridge); in fpga_bridge_test_get()
116 KUNIT_EXPECT_PTR_EQ(test, ctx_0->bridge, in fpga_bridge_test_get_put_list()
123 KUNIT_EXPECT_PTR_EQ(test, ctx_1->bridge, in fpga_bridge_test_get_put_list()
Dfpga-region-test.c95 KUNIT_EXPECT_PTR_EQ(test, region, ctx->region); in fpga_region_test_class_find()
Dfpga-mgr-test.c198 KUNIT_EXPECT_PTR_EQ(test, mgr, ctx->mgr); in fpga_mgr_test_get()
/linux-6.6.21/lib/kunit/
Dkunit-test.c156 KUNIT_EXPECT_PTR_EQ(test, in kunit_resource_test_alloc_resource()
160 KUNIT_EXPECT_PTR_EQ(test, free, res->free); in kunit_resource_test_alloc_resource()
363 KUNIT_EXPECT_PTR_EQ(test, res.data, (void *)&ctx); in kunit_resource_test_static()
379 KUNIT_EXPECT_PTR_EQ(test, res1.data, (void *)&ctx); in kunit_resource_test_named()
393 KUNIT_EXPECT_PTR_EQ(test, found, &res1); in kunit_resource_test_named()
627 KUNIT_EXPECT_PTR_EQ(test, test, current->kunit_test); in kunit_current_test()
628 KUNIT_EXPECT_PTR_EQ(test, test, kunit_get_current_test()); in kunit_current_test()
Dkunit-example-test.c127 KUNIT_EXPECT_PTR_EQ(test, NULL, NULL); in example_all_expect_macros_test()
/linux-6.6.21/drivers/base/test/
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-6.6.21/drivers/clk/
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()
Dclk_test.c665 KUNIT_EXPECT_PTR_EQ(test, clk_get_parent(clk), NULL); in clk_test_orphan_transparent_multiple_parent_mux_get_parent()
2240 KUNIT_EXPECT_PTR_EQ(test, req.best_parent_hw, &ctx->mux_ctx.hw); in clk_leaf_mux_set_rate_parent_determine_rate()
/linux-6.6.21/mm/damon/
Dcore-test.h162 KUNIT_EXPECT_PTR_EQ(test, r, r3); in damon_test_merge_two()
351 KUNIT_EXPECT_PTR_EQ(test, filter->list.prev, &filter->list); in damos_test_new_filter()
352 KUNIT_EXPECT_PTR_EQ(test, filter->list.next, &filter->list); in damos_test_new_filter()
/linux-6.6.21/drivers/hid/
Dhid-uclogic-params-test.c202 KUNIT_EXPECT_PTR_EQ(test, p.event_hooks, NULL); in hid_test_uclogic_params_cleanup_event_hooks()
/linux-6.6.21/net/handshake/
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-6.6.21/drivers/net/ethernet/microchip/vcap/
Dvcap_api_kunit.c767 KUNIT_EXPECT_PTR_EQ(test, NULL, tg); in vcap_api_keyfield_typegroup_test()
790 KUNIT_EXPECT_PTR_EQ(test, NULL, tg); in vcap_api_actionfield_typegroup_test()
802 KUNIT_EXPECT_PTR_EQ(test, NULL, ft); in vcap_api_vcap_keyfields_test()
806 KUNIT_EXPECT_PTR_EQ(test, NULL, ft); in vcap_api_vcap_keyfields_test()
817 KUNIT_EXPECT_PTR_EQ(test, NULL, ft); in vcap_api_vcap_actionfields_test()
820 KUNIT_EXPECT_PTR_EQ(test, NULL, ft); in vcap_api_vcap_actionfields_test()
/linux-6.6.21/net/mctp/test/
Droute-test.c590 KUNIT_EXPECT_PTR_EQ(test, skb2, NULL); in mctp_test_route_input_sk_keys()
/linux-6.6.21/include/kunit/
Dtest.h895 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ macro
/linux-6.6.21/mm/kasan/
Dkasan_test.c1347 KUNIT_EXPECT_PTR_EQ(test, p_page, v_page); in vmap_tags()
/linux-6.6.21/drivers/platform/chrome/
Dcros_ec_proto_test.c536 KUNIT_EXPECT_PTR_EQ(test, ec_dev->pkt_xfer, NULL); in cros_ec_proto_test_query_all_legacy_normal_v3_return_error()
601 KUNIT_EXPECT_PTR_EQ(test, ec_dev->pkt_xfer, NULL); in cros_ec_proto_test_query_all_legacy_normal_v3_return0()