| /linux-6.15/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-6.15/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-6.15/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() 216 KUNIT_ASSERT_PTR_EQ(test, man->bdev, priv->devs->ttm_dev); in ttm_resource_manager_init_basic() 284 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()
|
| H A D | ttm_pool_test.c | 156 KUNIT_ASSERT_PTR_EQ(test, pool->dev, devs->dev); in ttm_pool_alloc_basic()
|
| H A D | ttm_bo_validate_test.c | 564 KUNIT_ASSERT_PTR_EQ(test, bo->ttm, old_tt); in ttm_bo_validate_no_placement_signaled() 632 KUNIT_ASSERT_PTR_EQ(test, bo->base.resv, &bo->base._resv); in ttm_bo_validate_no_placement_not_signaled()
|
| /linux-6.15/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 | 121 KUNIT_ASSERT_PTR_EQ(test, result, empty_string); in string_test_strchr() 154 KUNIT_ASSERT_PTR_EQ(test, result, empty_string); in string_test_strnchr()
|
| H A D | scanf_kunit.c | 600 KUNIT_ASSERT_PTR_EQ(test, test->param_value, NULL); in numbers_slice()
|
| /linux-6.15/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-6.15/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-6.15/drivers/gpu/drm/tests/ |
| H A D | drm_connector_test.c | 249 KUNIT_ASSERT_PTR_EQ(test, connector->head.next, &connector->head); in drm_test_drm_connector_dynamic_init_not_added() 404 KUNIT_ASSERT_PTR_EQ(test, connector->head.next, &priv->drm.mode_config.connector_list); in drm_test_drm_connector_dynamic_register_early_on_list() 511 KUNIT_ASSERT_PTR_EQ(test, priv->connector.head.next, &priv->drm.mode_config.connector_list); in drm_test_drm_connector_dynamic_register_on_list() 565 KUNIT_ASSERT_PTR_EQ(test, tmp_connector, connector); in drm_test_drm_connector_dynamic_register_mode_object()
|
| /linux-6.15/net/mctp/test/ |
| H A D | route-test.c | 1105 KUNIT_ASSERT_PTR_EQ(test, flow->key->sk, sock->sk); in mctp_test_packet_flow() 1143 KUNIT_ASSERT_PTR_EQ(test, flows[0]->key->sk, sock->sk); in mctp_test_fragment_flow() 1147 KUNIT_ASSERT_PTR_EQ(test, flows[1]->key, flows[0]->key); in mctp_test_fragment_flow()
|
| /linux-6.15/include/kunit/ |
| H A D | test.h | 1366 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ macro
|
| /linux-6.15/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_test_control_parse.c | 1237 KUNIT_ASSERT_PTR_EQ(test, walkctl, ctls[i++]); in cs_dsp_ctl_squash_reloaded_controls() 1303 KUNIT_ASSERT_PTR_EQ(test, walkctl, ctls[i++]); in cs_dsp_ctl_v2_squash_reloaded_controls()
|