Home
last modified time | relevance | path

Searched refs:kunit_get_current_test (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.14.4/drivers/gpu/drm/xe/tests/
Dxe_mocs.c26 struct kunit *test = kunit_get_current_test(); in live_mocs_init()
44 struct kunit *test = kunit_get_current_test(); in read_l3cc_table()
80 struct kunit *test = kunit_get_current_test(); in read_mocs_table()
153 struct kunit *test = kunit_get_current_test(); in mocs_reset_test_run_device()
Dxe_test.h49 if (!kunit_get_current_test()) in xe_cur_kunit_priv()
52 priv = kunit_get_current_test()->priv; in xe_cur_kunit_priv()
Dxe_pci_test.c19 struct kunit *test = kunit_get_current_test(); in check_graphics_ip()
33 struct kunit *test = kunit_get_current_test(); in check_media_ip()
Dxe_pci.c62 struct kunit *test = kunit_get_current_test(); in fake_read_gmdid()
76 struct kunit *test = kunit_get_current_test(); in xe_pci_fake_device_init()
Dxe_dma_buf.c110 struct kunit *test = kunit_get_current_test(); in xe_test_dmabuf_import_same_driver()
261 struct kunit *test = kunit_get_current_test(); in dma_buf_run_device()
Dxe_kunit_helpers.c48 struct kunit *test = kunit_get_current_test(); in kunit_action_restore_priv()
Dxe_bo.c172 struct kunit *test = kunit_get_current_test(); in ccs_test_run_device()
348 struct kunit *test = kunit_get_current_test(); in evict_test_run_device()
446 struct kunit *test = kunit_get_current_test(); in shrink_test_run_device()
Dxe_guc_relay_test.c65 struct kunit *test = kunit_get_current_test(); in replacement_xe_guc_ct_send_recv_always_fails()
78 struct kunit *test = kunit_get_current_test(); in replacement_xe_guc_ct_send_recv_expects_pf2guc_relay()
226 struct kunit *test = kunit_get_current_test(); in replacement_xe_guc_ct_send_recv_loopback_relay()
Dxe_migrate.c341 struct kunit *test = kunit_get_current_test(); in migrate_test_run_device()
743 struct kunit *test = kunit_get_current_test(); in validate_ccs_test_run_device()
/linux-6.14.4/include/kunit/
Dtest-bug.h41 static inline struct kunit *kunit_get_current_test(void) in kunit_get_current_test() function
65 static inline struct kunit *kunit_get_current_test(void) { return NULL; } in kunit_get_current_test() function
Dstatic_stub.h62 struct kunit *current_test = kunit_get_current_test(); \
/linux-6.14.4/drivers/firmware/cirrus/test/
Dcs_dsp_test_callbacks.c68 struct kunit *test = kunit_get_current_test(); in cs_dsp_test_control_add_callback()
80 struct kunit *test = kunit_get_current_test(); in cs_dsp_test_control_remove_callback()
90 struct kunit *test = kunit_get_current_test(); in cs_dsp_test_pre_run_callback()
102 struct kunit *test = kunit_get_current_test(); in cs_dsp_test_post_run_callback()
114 struct kunit *test = kunit_get_current_test(); in cs_dsp_test_pre_stop_callback()
124 struct kunit *test = kunit_get_current_test(); in cs_dsp_test_post_stop_callback()
134 struct kunit *test = kunit_get_current_test(); in cs_dsp_test_watchdog_expired_callback()
/linux-6.14.4/rust/helpers/
Dkunit.c7 return kunit_get_current_test(); in rust_helper_kunit_get_current_test()
/linux-6.14.4/net/wireless/tests/
Dutil.c15 struct kunit *test = kunit_get_current_test(); in t_wiphy_init()
/linux-6.14.4/rust/kernel/
Dkunit.rs64 let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() };
/linux-6.14.4/Documentation/dev-tools/kunit/api/
Dfunctionredirection.rst69 kunit_get_current_test() to get a struct kunit pointer. This can then
79 struct kunit *test = kunit_get_current_test();
/linux-6.14.4/lib/kunit/
Dkunit-test.c709 KUNIT_EXPECT_PTR_EQ(test, test, kunit_get_current_test()); in kunit_current_test()
786 struct kunit *test = kunit_get_current_test(); in driver_probe_hook()
795 struct kunit *test = kunit_get_current_test(); in driver_remove_hook()
Dkunit-example-test.c269 KUNIT_ASSERT_PTR_EQ(test, test->priv, kunit_get_current_test()->priv); in example_priv_test()
Dstring-stream-test.c76 struct kunit *fake_test = kunit_get_current_test(); in string_stream_destroy_stub()
/linux-6.14.4/sound/soc/codecs/
Dcs-amp-lib-test.c114 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable_bad_count()
187 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable()
574 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_write_cal_coeff()
/linux-6.14.4/net/mac80211/tests/
Dutil.c195 struct kunit *test = kunit_get_current_test(); in t_sdata_init()
/linux-6.14.4/drivers/gpu/drm/xe/
Dxe_guc_relay.c877 if (unlikely(!IS_SRIOV_VF(relay_to_xe(relay)) && !kunit_get_current_test())) in xe_guc_relay_process_guc2vf()
923 if (unlikely(!IS_SRIOV_PF(relay_to_xe(relay)) && !kunit_get_current_test())) in xe_guc_relay_process_guc2pf()
/linux-6.14.4/Documentation/dev-tools/kunit/
Dusage.rst728 access using the ``kunit_get_current_test()`` function in ``kunit/test-bug.h``.
730 ``kunit_get_current_test()`` is safe to call even if KUnit is not enabled. If
739 #include <kunit/test-bug.h> /* for kunit_get_current_test */
748 struct kunit *test = kunit_get_current_test();
/linux-6.14.4/lib/
Dfortify_kunit.c70 current_test = kunit_get_current_test(); in fortify_add_kunit_error()
/linux-6.14.4/drivers/gpu/drm/vc4/
Dvc4_hvs.c1230 if (!kunit_get_current_test()) in __vc4_hvs_alloc()

12