Home
last modified time | relevance | path

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

/Linux-v6.1/lib/
Dlist-test.c55 KUNIT_EXPECT_PTR_EQ(test, list.next, &b); in list_test_list_add()
56 KUNIT_EXPECT_PTR_EQ(test, b.prev, &list); in list_test_list_add()
57 KUNIT_EXPECT_PTR_EQ(test, b.next, &a); in list_test_list_add()
69 KUNIT_EXPECT_PTR_EQ(test, list.next, &a); in list_test_list_add_tail()
70 KUNIT_EXPECT_PTR_EQ(test, a.prev, &list); in list_test_list_add_tail()
71 KUNIT_EXPECT_PTR_EQ(test, a.next, &b); in list_test_list_add_tail()
86 KUNIT_EXPECT_PTR_EQ(test, list.next, &b); in list_test_list_del()
87 KUNIT_EXPECT_PTR_EQ(test, b.prev, &list); in list_test_list_del()
102 KUNIT_EXPECT_PTR_EQ(test, list.next, &a_new); in list_test_list_replace()
103 KUNIT_EXPECT_PTR_EQ(test, b.prev, &a_new); in list_test_list_replace()
[all …]
/Linux-v6.1/drivers/thunderbolt/
Dtest.c417 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_basic()
436 KUNIT_EXPECT_PTR_EQ(test, p, src_port); in tb_test_path_not_connected_walk()
439 KUNIT_EXPECT_PTR_EQ(test, p, &host->ports[3]); in tb_test_path_not_connected_walk()
447 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_not_connected_walk()
450 KUNIT_EXPECT_PTR_EQ(test, p, &dev->ports[1]); in tb_test_path_not_connected_walk()
1343 KUNIT_EXPECT_PTR_EQ(test, tunnel1->src_port, down); in tb_test_tunnel_pcie()
1344 KUNIT_EXPECT_PTR_EQ(test, tunnel1->dst_port, up); in tb_test_tunnel_pcie()
1347 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie()
1348 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie()
1350 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[1]->hops[0].in_port, up); in tb_test_tunnel_pcie()
[all …]
/Linux-v6.1/security/apparmor/
Dpolicy_unpack_test.c150 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()
181 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_array_out_of_bounds()
228 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, start); in policy_unpack_test_unpack_blob_out_of_bounds()
269 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, start); in policy_unpack_test_unpack_str_out_of_bounds()
317 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, start); in policy_unpack_test_unpack_strdup_out_of_bounds()
330 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_null_name()
344 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_wrong_code()
359 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_name()
374 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_wrong_name()
[all …]
/Linux-v6.1/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()
79 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic()
83 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, ctx->token)); in mptcp_token_test_msk_basic()
95 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept()
99 KUNIT_EXPECT_PTR_EQ(test, msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_accept()
121 KUNIT_EXPECT_PTR_EQ(test, null_msk, mptcp_token_get_sock(&init_net, msk->token)); in mptcp_token_test_destroyed()
/Linux-v6.1/lib/kunit/
Dkunit-test.c155 KUNIT_EXPECT_PTR_EQ(test, in kunit_resource_test_alloc_resource()
159 KUNIT_EXPECT_PTR_EQ(test, free, res->free); in kunit_resource_test_alloc_resource()
362 KUNIT_EXPECT_PTR_EQ(test, res.data, (void *)&ctx); in kunit_resource_test_static()
378 KUNIT_EXPECT_PTR_EQ(test, res1.data, (void *)&ctx); in kunit_resource_test_named()
392 KUNIT_EXPECT_PTR_EQ(test, found, &res1); in kunit_resource_test_named()
Dkunit-example-test.c103 KUNIT_EXPECT_PTR_EQ(test, NULL, NULL); in example_all_expect_macros_test()
/Linux-v6.1/drivers/base/test/
Dproperty-entry-test.c439 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[0]); in pe_test_reference()
450 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[1]); in pe_test_reference()
458 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[1]); in pe_test_reference()
473 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[0]); in pe_test_reference()
480 KUNIT_EXPECT_PTR_EQ(test, to_software_node(ref.fwnode), &nodes[1]); in pe_test_reference()
/Linux-v6.1/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.c641 KUNIT_EXPECT_PTR_EQ(test, clk_get_parent(clk), NULL); in clk_test_orphan_transparent_multiple_parent_mux_get_parent()
2216 KUNIT_EXPECT_PTR_EQ(test, req.best_parent_hw, &ctx->mux_ctx.hw); in clk_leaf_mux_set_rate_parent_determine_rate()
/Linux-v6.1/mm/damon/
Dcore-test.h162 KUNIT_EXPECT_PTR_EQ(test, r, r3); in damon_test_merge_two()
/Linux-v6.1/include/kunit/
Dtest.h753 #define KUNIT_EXPECT_PTR_EQ(test, left, right) \ macro
/Linux-v6.1/net/mctp/test/
Droute-test.c590 KUNIT_EXPECT_PTR_EQ(test, skb2, NULL); in mctp_test_route_input_sk_keys()
/Linux-v6.1/mm/kasan/
Dkasan_test.c1226 KUNIT_EXPECT_PTR_EQ(test, p_page, v_page); in vmap_tags()
/Linux-v6.1/drivers/platform/chrome/
Dcros_ec_proto_test.c535 KUNIT_EXPECT_PTR_EQ(test, ec_dev->pkt_xfer, NULL); in cros_ec_proto_test_query_all_legacy_normal_v3_return_error()
600 KUNIT_EXPECT_PTR_EQ(test, ec_dev->pkt_xfer, NULL); in cros_ec_proto_test_query_all_legacy_normal_v3_return0()