/linux-6.14.4/drivers/gpu/drm/xe/tests/ |
D | xe_mocs.c | 26 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()
|
D | xe_test.h | 49 if (!kunit_get_current_test()) in xe_cur_kunit_priv() 52 priv = kunit_get_current_test()->priv; in xe_cur_kunit_priv()
|
D | xe_pci_test.c | 19 struct kunit *test = kunit_get_current_test(); in check_graphics_ip() 33 struct kunit *test = kunit_get_current_test(); in check_media_ip()
|
D | xe_pci.c | 62 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()
|
D | xe_dma_buf.c | 110 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()
|
D | xe_kunit_helpers.c | 48 struct kunit *test = kunit_get_current_test(); in kunit_action_restore_priv()
|
D | xe_bo.c | 172 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()
|
D | xe_guc_relay_test.c | 65 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()
|
D | xe_migrate.c | 341 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/ |
D | test-bug.h | 41 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
|
D | static_stub.h | 62 struct kunit *current_test = kunit_get_current_test(); \
|
/linux-6.14.4/drivers/firmware/cirrus/test/ |
D | cs_dsp_test_callbacks.c | 68 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/ |
D | kunit.c | 7 return kunit_get_current_test(); in rust_helper_kunit_get_current_test()
|
/linux-6.14.4/net/wireless/tests/ |
D | util.c | 15 struct kunit *test = kunit_get_current_test(); in t_wiphy_init()
|
/linux-6.14.4/rust/kernel/ |
D | kunit.rs | 64 let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() };
|
/linux-6.14.4/Documentation/dev-tools/kunit/api/ |
D | functionredirection.rst | 69 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/ |
D | kunit-test.c | 709 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()
|
D | kunit-example-test.c | 269 KUNIT_ASSERT_PTR_EQ(test, test->priv, kunit_get_current_test()->priv); in example_priv_test()
|
D | string-stream-test.c | 76 struct kunit *fake_test = kunit_get_current_test(); in string_stream_destroy_stub()
|
/linux-6.14.4/sound/soc/codecs/ |
D | cs-amp-lib-test.c | 114 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/ |
D | util.c | 195 struct kunit *test = kunit_get_current_test(); in t_sdata_init()
|
/linux-6.14.4/drivers/gpu/drm/xe/ |
D | xe_guc_relay.c | 877 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/ |
D | usage.rst | 728 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/ |
D | fortify_kunit.c | 70 current_test = kunit_get_current_test(); in fortify_add_kunit_error()
|
/linux-6.14.4/drivers/gpu/drm/vc4/ |
D | vc4_hvs.c | 1230 if (!kunit_get_current_test()) in __vc4_hvs_alloc()
|