/linux/lib/tests/ |
H A D | list-test.c | 56 KUNIT_EXPECT_PTR_EQ(test, list.next, &b); in list_test_list_add() 57 KUNIT_EXPECT_PTR_EQ(test, b.prev, &list); in list_test_list_add() 58 KUNIT_EXPECT_PTR_EQ(test, b.next, &a); in list_test_list_add() 70 KUNIT_EXPECT_PTR_EQ(test, list.next, &a); in list_test_list_add_tail() 71 KUNIT_EXPECT_PTR_EQ(test, a.prev, &list); in list_test_list_add_tail() 72 KUNIT_EXPECT_PTR_EQ(test, a.next, &b); in list_test_list_add_tail() 87 KUNIT_EXPECT_PTR_EQ(test, list.next, &b); in list_test_list_del() 88 KUNIT_EXPECT_PTR_EQ(test, b.prev, &list); in list_test_list_del() 103 KUNIT_EXPECT_PTR_EQ(test, list.next, &a_new); in list_test_list_replace() 104 KUNIT_EXPECT_PTR_EQ(tes in list_test_list_replace() [all...] |
/linux/drivers/thunderbolt/ |
H A D | test.c | 434 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_basic() 453 KUNIT_EXPECT_PTR_EQ(test, p, src_port); in tb_test_path_not_connected_walk() 456 KUNIT_EXPECT_PTR_EQ(test, p, &host->ports[3]); in tb_test_path_not_connected_walk() 464 KUNIT_EXPECT_PTR_EQ(test, p, dst_port); in tb_test_path_not_connected_walk() 467 KUNIT_EXPECT_PTR_EQ(test, p, &dev->ports[1]); in tb_test_path_not_connected_walk() 1360 KUNIT_EXPECT_PTR_EQ(test, tunnel1->src_port, down); in tb_test_tunnel_pcie() 1361 KUNIT_EXPECT_PTR_EQ(test, tunnel1->dst_port, up); in tb_test_tunnel_pcie() 1364 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[0].in_port, down); in tb_test_tunnel_pcie() 1365 KUNIT_EXPECT_PTR_EQ(test, tunnel1->paths[0]->hops[1].out_port, up); in tb_test_tunnel_pcie() 1367 KUNIT_EXPECT_PTR_EQ(tes in tb_test_tunnel_pcie() [all...] |
/linux/security/apparmor/ |
H A D | policy_unpack_test.c | 153 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_array_with_null_name() 167 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() 321 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, start); in policy_unpack_test_unpack_strdup_out_of_bounds() 336 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_null_name() 350 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_wrong_code() 365 KUNIT_EXPECT_PTR_EQ(test, puf->e->pos, in policy_unpack_test_unpack_nameX_with_name() 380 KUNIT_EXPECT_PTR_EQ(tes in policy_unpack_test_unpack_nameX_with_wrong_name() [all...] |
/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_device_test.c | 31 KUNIT_EXPECT_PTR_EQ(test, ttm_dev->funcs, &ttm_dev_funcs); in ttm_device_init_basic() 41 KUNIT_EXPECT_PTR_EQ(test, ttm_dev->dev_mapping, in ttm_device_init_basic() 61 KUNIT_EXPECT_PTR_EQ(test, ttm_devs[i].dev_mapping, in ttm_device_init_multiple() 64 KUNIT_EXPECT_PTR_EQ(test, ttm_devs[i].funcs, &ttm_dev_funcs); in ttm_device_init_multiple() 172 KUNIT_EXPECT_PTR_EQ(test, pool->dev, priv->dev); in ttm_device_init_pools() 180 KUNIT_EXPECT_PTR_EQ(test, pt.pool, pool); in ttm_device_init_pools()
|
/linux/drivers/firewire/ |
H A D | self-id-sequence-helper-test.c | 27 KUNIT_EXPECT_PTR_EQ(test, entry, &valid_sequences[0]); in test_self_id_sequence_enumerator_valid() 32 KUNIT_EXPECT_PTR_EQ(test, entry, &valid_sequences[1]); in test_self_id_sequence_enumerator_valid() 37 KUNIT_EXPECT_PTR_EQ(test, entry, &valid_sequences[3]); in test_self_id_sequence_enumerator_valid() 42 KUNIT_EXPECT_PTR_EQ(test, entry, &valid_sequences[6]); in test_self_id_sequence_enumerator_valid()
|
/linux/drivers/firmware/cirrus/test/ |
H A D | cs_dsp_test_callbacks.c | 173 KUNIT_EXPECT_PTR_EQ(test, local->passed_dsp, priv->dsp); in cs_dsp_test_run_stop_callbacks() 181 KUNIT_EXPECT_PTR_EQ(test, local->passed_dsp, priv->dsp); in cs_dsp_test_run_stop_callbacks() 189 KUNIT_EXPECT_PTR_EQ(test, local->passed_dsp, priv->dsp); in cs_dsp_test_run_stop_callbacks() 197 KUNIT_EXPECT_PTR_EQ(test, local->passed_dsp, priv->dsp); in cs_dsp_test_run_stop_callbacks() 240 KUNIT_EXPECT_PTR_EQ(test, local->passed_ctl[i++], ctl); in cs_dsp_test_ctl_v1_callbacks() 257 KUNIT_EXPECT_PTR_EQ(test, local->passed_ctl[i++], ctl); in cs_dsp_test_ctl_v1_callbacks() 295 KUNIT_EXPECT_PTR_EQ(test, local->passed_ctl[i++], ctl); in cs_dsp_test_ctl_v2_callbacks() 312 KUNIT_EXPECT_PTR_EQ(test, local->passed_ctl[i++], ctl); in cs_dsp_test_ctl_v2_callbacks() 373 KUNIT_EXPECT_PTR_EQ(test, local->passed_dsp, priv->dsp); in cs_dsp_test_adsp2v2_watchdog_callback() 414 KUNIT_EXPECT_PTR_EQ(tes in cs_dsp_test_halo_watchdog_callback() [all...] |
/linux/drivers/base/test/ |
H A D | platform-device-test.c | 234 KUNIT_EXPECT_PTR_EQ(test, of_find_device_by_node(NULL), NULL); in platform_device_find_by_null_test() 236 KUNIT_EXPECT_PTR_EQ(test, bus_find_device_by_of_node(&platform_bus_type, NULL), NULL); in platform_device_find_by_null_test() 237 KUNIT_EXPECT_PTR_EQ(test, bus_find_device_by_fwnode(&platform_bus_type, NULL), NULL); in platform_device_find_by_null_test() 238 KUNIT_EXPECT_PTR_EQ(test, bus_find_device_by_acpi_dev(&platform_bus_type, NULL), NULL); in platform_device_find_by_null_test()
|
/linux/drivers/of/ |
H A D | overlay_test.c | 92 KUNIT_EXPECT_PTR_EQ(test, NULL, np); in of_overlay_apply_kunit_cleanup() 97 KUNIT_EXPECT_PTR_EQ(test, NULL, dev); in of_overlay_apply_kunit_cleanup()
|
/linux/net/wireless/tests/ |
H A D | chan.c | 209 KUNIT_EXPECT_PTR_EQ(test, ret, expect); in KUNIT_ARRAY_PARAM_DESC() 215 KUNIT_EXPECT_PTR_EQ(test, ret, expect); in KUNIT_ARRAY_PARAM_DESC()
|
H A D | scan.c | 330 KUNIT_EXPECT_PTR_EQ(ctx->test, drv_data, ctx); in inform_bss_inc_counter() 331 KUNIT_EXPECT_PTR_EQ(ctx->test, ies, rcu_dereference(bss->ies)); in inform_bss_inc_counter() 376 KUNIT_EXPECT_PTR_EQ(test, bss->channel, inform_bss.chan); in test_inform_bss_ssid_only() 392 KUNIT_EXPECT_PTR_EQ(test, bss, other); in test_inform_bss_ssid_only() 399 KUNIT_EXPECT_PTR_EQ(test, bss, other); in test_inform_bss_ssid_only() 628 KUNIT_EXPECT_PTR_EQ(test, link_bss->channel, in KUNIT_ARRAY_PARAM_DESC()
|
/linux/drivers/clk/ |
H A D | clk-gate_test.c | 41 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()
|
H A D | clk_test.c | 652 KUNIT_EXPECT_PTR_EQ(test, clk_get_parent(clk), NULL); in clk_test_orphan_transparent_multiple_parent_mux_get_parent() 2311 KUNIT_EXPECT_PTR_EQ(test, req.best_parent_hw, &ctx->mux_ctx.hw); in KUNIT_ARRAY_PARAM() 3059 KUNIT_EXPECT_PTR_EQ(test, parent_hw, clk_hw_get_parent(hw)); in KUNIT_ARRAY_PARAM() 3434 KUNIT_EXPECT_PTR_EQ(test, dev, clk_hw_get_dev(hw)); in clk_hw_register_dev_get_dev_returns_dev() 3435 KUNIT_EXPECT_PTR_EQ(test, dev_of_node(dev), clk_hw_get_of_node(hw)); in clk_hw_register_dev_get_dev_returns_dev() 3460 KUNIT_EXPECT_PTR_EQ(test, dev, clk_hw_get_dev(hw)); in clk_hw_register_dev_no_node_get_dev_returns_dev() 3461 KUNIT_EXPECT_PTR_EQ(test, NULL, clk_hw_get_of_node(hw)); in clk_hw_register_dev_no_node_get_dev_returns_dev() 3479 KUNIT_EXPECT_PTR_EQ(test, NULL, clk_hw_get_dev(hw)); in clk_hw_register_NULL_get_dev_of_node_returns_NULL() 3480 KUNIT_EXPECT_PTR_EQ(test, NULL, clk_hw_get_of_node(hw)); in clk_hw_register_NULL_get_dev_of_node_returns_NULL() 3504 KUNIT_EXPECT_PTR_EQ(tes in of_clk_hw_register_node_get_of_node_returns_node() [all...] |
/linux/drivers/gpu/drm/tests/ |
H A D | drm_framebuffer_test.c | 555 KUNIT_EXPECT_PTR_EQ(test, returned_fb, &expected_fb); in drm_test_framebuffer_lookup() 592 KUNIT_EXPECT_PTR_EQ(test, fb1.funcs, &funcs); in drm_test_framebuffer_init() 601 KUNIT_EXPECT_PTR_EQ(test, fb1.base.free_cb, &drm_framebuffer_free); in drm_test_framebuffer_init() 605 KUNIT_EXPECT_PTR_EQ(test, dev->mode_config.fb_list.prev, &fb1.head); in drm_test_framebuffer_init() 606 KUNIT_EXPECT_PTR_EQ(test, dev->mode_config.fb_list.next, &fb1.head); in drm_test_framebuffer_init() 695 KUNIT_EXPECT_PTR_EQ(test, obj, NULL); in drm_test_framebuffer_free()
|
H A D | drm_gem_shmem_test.c | 118 KUNIT_EXPECT_PTR_EQ(test, shmem->sgt, sgt); in drm_gem_shmem_test_obj_create_private() 258 KUNIT_EXPECT_PTR_EQ(test, sgt, shmem->sgt); in drm_gem_shmem_test_get_sg_table()
|
H A D | drm_atomic_test.c | 132 KUNIT_EXPECT_PTR_EQ(test, curr_connector, &priv->connector); in drm_test_drm_atomic_get_connector_for_encoder()
|
/linux/security/ipe/ |
H A D | policy_tests.c | 262 KUNIT_EXPECT_PTR_EQ(test, NULL, pol->pkcs7); in ipe_parser_unsigned_test()
|
/linux/drivers/net/wireless/intel/iwlwifi/tests/ |
H A D | devinfo.c | 106 KUNIT_EXPECT_PTR_EQ(test, di->cfg, ret->cfg); in devinfo_discrete_match() 216 KUNIT_EXPECT_PTR_EQ(test, t, s); in devinfo_pci_ids()
|
/linux/mm/damon/tests/ |
H A D | core-kunit.h | 172 KUNIT_EXPECT_PTR_EQ(test, r, r3); in damon_test_merge_two() 417 KUNIT_EXPECT_PTR_EQ(test, filter->list.prev, &filter->list); in damos_test_new_filter() 418 KUNIT_EXPECT_PTR_EQ(test, filter->list.next, &filter->list); in damos_test_new_filter()
|
/linux/drivers/hid/ |
H A D | hid-uclogic-params-test.c | 202 KUNIT_EXPECT_PTR_EQ(test, p.event_hooks, NULL); in hid_test_uclogic_params_cleanup_event_hooks()
|
/linux/drivers/gpu/drm/vkms/tests/ |
H A D | vkms_config_test.c | 171 KUNIT_EXPECT_PTR_EQ(test, crtc_cfg, possible_crtc); in vkms_config_test_default_config() 695 KUNIT_EXPECT_PTR_EQ(test, in vkms_config_test_plane_attach_crtc() 703 KUNIT_EXPECT_PTR_EQ(test, in vkms_config_test_plane_attach_crtc() 706 KUNIT_EXPECT_PTR_EQ(test, in vkms_config_test_plane_attach_crtc()
|
/linux/net/handshake/ |
H A D | handshake-test.c | 235 KUNIT_EXPECT_PTR_EQ(test, req, result); in handshake_req_submit_test4() 480 KUNIT_EXPECT_PTR_EQ(test, handshake_req_destroy_test, req); in handshake_req_destroy_test1()
|
/linux/lib/kunit/ |
H A D | kunit-example-test.c | 127 KUNIT_EXPECT_PTR_EQ(test, NULL, NULL); in example_all_expect_macros_test()
|
H A D | platform-test.c | 100 KUNIT_EXPECT_PTR_EQ(test, NULL, dev); in kunit_platform_device_add_cleans_up()
|
/linux/drivers/android/tests/ |
H A D | binder_alloc_kunit.c | 416 KUNIT_EXPECT_PTR_EQ(test, priv->alloc.freelist, in binder_alloc_test_init_freelist() 431 KUNIT_EXPECT_PTR_EQ(test, n, NULL); in binder_alloc_test_mmap()
|
/linux/drivers/fpga/tests/ |
H A D | fpga-region-test.c | 108 KUNIT_EXPECT_PTR_EQ(test, region, ctx->region); in fpga_region_test_class_find()
|