Home
last modified time | relevance | path

Searched refs:KUNIT_ASSERT_PTR_EQ (Results 1 – 16 of 16) sorted by relevance

/linux-6.15/drivers/firewire/
H A Ddevice-attribute-test.c109 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 Dnet_test.c245 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 Dttm_resource_test.c138 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 Dttm_tt_test.c210 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 Dttm_bo_test.c374 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 Dttm_pool_test.c156 KUNIT_ASSERT_PTR_EQ(test, pool->dev, devs->dev); in ttm_pool_alloc_basic()
H A Dttm_bo_validate_test.c564 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 Dfortify_kunit.c947 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 Dstring_kunit.c121 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 Dscanf_kunit.c600 KUNIT_ASSERT_PTR_EQ(test, test->param_value, NULL); in numbers_slice()
/linux-6.15/net/handshake/
H A Dhandshake-test.c377 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 Dkunit-example-test.c269 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 Ddrm_connector_test.c249 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 Droute-test.c1105 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 Dtest.h1366 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ macro
/linux-6.15/drivers/firmware/cirrus/test/
H A Dcs_dsp_test_control_parse.c1237 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()