Home
last modified time | relevance | path

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

/linux/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/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/drivers/gpu/drm/ttm/tests/
H A Dttm_resource_test.c138 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 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()
/linux/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.c193 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 Dcoresight-kunit-tests.c58 KUNIT_ASSERT_PTR_EQ(test, coresight_find_default_sink(src), etr); in test_default_sink()
/linux/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/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/net/mctp/test/
H A Droute-test.c1023 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 Dtest.h1432 #define KUNIT_ASSERT_PTR_EQ(test, left, right) \ macro