Searched refs:kunit_get_current_test (Results 1 – 23 of 23) sorted by relevance
41 static inline struct kunit *kunit_get_current_test(void) in kunit_get_current_test() function65 static inline struct kunit *kunit_get_current_test(void) { return NULL; } in kunit_get_current_test() function
62 struct kunit *current_test = kunit_get_current_test(); \
26 struct kunit *test = kunit_get_current_test(); in live_mocs_init()44 struct kunit *test = kunit_get_current_test(); in read_l3cc_table()81 struct kunit *test = kunit_get_current_test(); in read_mocs_table()155 struct kunit *test = kunit_get_current_test(); in mocs_reset_test_run_device()
49 if (!kunit_get_current_test()) in xe_cur_kunit_priv()52 priv = kunit_get_current_test()->priv; in xe_cur_kunit_priv()
19 struct kunit *test = kunit_get_current_test(); in check_graphics_ip()33 struct kunit *test = kunit_get_current_test(); in check_media_ip()
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()
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()
48 struct kunit *test = kunit_get_current_test(); in kunit_action_restore_priv()
158 struct kunit *test = kunit_get_current_test(); in ccs_test_run_device()335 struct kunit *test = kunit_get_current_test(); in evict_test_run_device()
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()
340 struct kunit *test = kunit_get_current_test(); in migrate_test_run_device()738 struct kunit *test = kunit_get_current_test(); in validate_ccs_test_run_device()
8 return kunit_get_current_test(); in rust_helper_kunit_get_current_test()
15 struct kunit *test = kunit_get_current_test(); in t_wiphy_init()
64 let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() };
69 kunit_get_current_test() to get a struct kunit pointer. This can then79 struct kunit *test = kunit_get_current_test();
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()
269 KUNIT_ASSERT_PTR_EQ(test, test->priv, kunit_get_current_test()->priv); in example_priv_test()
75 struct kunit *fake_test = kunit_get_current_test(); in string_stream_destroy_stub()
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()
875 if (unlikely(!IS_SRIOV_VF(relay_to_xe(relay)) && !kunit_get_current_test())) in xe_guc_relay_process_guc2vf()921 if (unlikely(!IS_SRIOV_PF(relay_to_xe(relay)) && !kunit_get_current_test())) in xe_guc_relay_process_guc2pf()
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. If739 #include <kunit/test-bug.h> /* for kunit_get_current_test */748 struct kunit *test = kunit_get_current_test();
70 current_test = kunit_get_current_test(); in fortify_add_kunit_error()
818 if (!kunit_get_current_test()) in slab_add_kunit_errors()834 if (!kunit_get_current_test()) in slab_in_kunit_test()