| /linux/drivers/firewire/ |
| H A D | device-attribute-test.c | 109 KUNIT_ASSERT_PTR_EQ(test, fw_device(node_dev), &node); in device_attr_simple_avc() 113 KUNIT_ASSERT_PTR_EQ(test, fw_parent_device((&unit0)), &node); in device_attr_simple_avc() 114 KUNIT_ASSERT_PTR_EQ(test, fw_unit(unit0_dev), &unit0); in device_attr_simple_avc() 191 KUNIT_ASSERT_PTR_EQ(test, fw_device((node_dev)), &node); in device_attr_legacy_avc() 195 KUNIT_ASSERT_PTR_EQ(test, fw_parent_device((&unit0)), &node); in device_attr_legacy_avc() 196 KUNIT_ASSERT_PTR_EQ(test, fw_unit(unit0_dev), &unit0); in device_attr_legacy_avc()
|
| /linux/net/core/ |
| H A D | net_test.c | 245 KUNIT_ASSERT_PTR_EQ(test, skb_mac_header(cur), cur->data); in gso_test_func() 246 KUNIT_ASSERT_PTR_EQ(test, skb_network_header(cur), cur->data + sizeof(hdr)); in gso_test_func() 253 KUNIT_ASSERT_PTR_EQ(test, cur, last); in gso_test_func()
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_resource_test.c | 138 KUNIT_ASSERT_PTR_EQ(test, res->bo, bo); in ttm_resource_init_basic() 217 KUNIT_ASSERT_PTR_EQ(test, man->bdev, priv->devs->ttm_dev); in ttm_resource_manager_init_basic() 285 KUNIT_ASSERT_PTR_EQ(test, res->bo, bo); in ttm_sys_man_alloc_basic()
|
| H A D | ttm_tt_test.c | 210 KUNIT_ASSERT_PTR_EQ(test, tt, bo->ttm); in ttm_tt_create_ttm_exists() 291 KUNIT_ASSERT_PTR_EQ(test, populated_page, *tt->pages); in ttm_tt_populate_populated_ttm()
|
| H A D | ttm_bo_test.c | 374 KUNIT_ASSERT_PTR_EQ(test, res1, pos->last); in ttm_bo_unreserve_bulk() 540 KUNIT_ASSERT_PTR_EQ(test, res, pos->last); in ttm_bo_pin_unpin_resource()
|
| /linux/lib/tests/ |
| H A D | fortify_kunit.c | 947 KUNIT_ASSERT_PTR_EQ(test, memscan(haystack, needle, len), in __fortify_test() 951 KUNIT_ASSERT_PTR_EQ(test, memscan(haystack, needle, len + 1), in __fortify_test() 954 KUNIT_ASSERT_PTR_EQ(test, memscan(haystack, needle, len * 2), in __fortify_test() 968 KUNIT_ASSERT_PTR_EQ(test, memchr(haystack, needle, len), in fortify_test_memchr() 972 KUNIT_ASSERT_PTR_EQ(test, memchr(haystack, needle, len + 1), in fortify_test_memchr() 975 KUNIT_ASSERT_PTR_EQ(test, memchr(haystack, needle, len * 2), in fortify_test_memchr() 990 KUNIT_ASSERT_PTR_EQ(test, memchr_inv(haystack, needle, len), in fortify_test_memchr_inv() 994 KUNIT_ASSERT_PTR_EQ(test, memchr_inv(haystack, needle, len + 1), in fortify_test_memchr_inv() 997 KUNIT_ASSERT_PTR_EQ(test, memchr_inv(haystack, needle, len * 2), in fortify_test_memchr_inv()
|
| H A D | string_kunit.c | 193 KUNIT_ASSERT_PTR_EQ(test, result, empty_string); in string_test_strchr() 256 KUNIT_ASSERT_PTR_EQ(test, result, empty_string); in string_test_strnchr()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-kunit-tests.c | 58 KUNIT_ASSERT_PTR_EQ(test, coresight_find_default_sink(src), etr); in test_default_sink()
|
| /linux/net/handshake/ |
| H A D | handshake-test.c | 377 KUNIT_ASSERT_PTR_EQ(test, req, next); in handshake_req_cancel_test2() 419 KUNIT_ASSERT_PTR_EQ(test, req, next); in handshake_req_cancel_test3()
|
| /linux/lib/kunit/ |
| H A D | kunit-example-test.c | 269 KUNIT_ASSERT_PTR_EQ(test, test->priv, kunit_get_current_test()->priv); in example_priv_test()
|
| /linux/net/mctp/test/ |
| H A D | route-test.c | 1023 KUNIT_ASSERT_PTR_EQ(test, flow->key->sk, sock->sk); in mctp_test_packet_flow() 1061 KUNIT_ASSERT_PTR_EQ(test, flows[0]->key->sk, sock->sk); in mctp_test_fragment_flow() 1065 KUNIT_ASSERT_PTR_EQ(test, flows[1]->key, flows[0]->key); in mctp_test_fragment_flow()
|
| /linux/include/kunit/ |
| H A D | test.h | 1432 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ macro
|