Home
last modified time | relevance | path

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

/linux/include/kunit/
H A 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
H A Dstatic_stub.h62 struct kunit *current_test = kunit_get_current_test(); \
/linux/drivers/gpu/drm/xe/tests/
H A 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()
H A Dxe_kunit_helpers.c48 struct kunit *test = kunit_get_current_test(); in kunit_action_restore_priv()
H A Dxe_bo.c174 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()
443 struct kunit *test = kunit_get_current_test(); in shrink_test_run_device()
H A Dxe_pci.c317 struct kunit *test = kunit_get_current_test(); in fake_read_gmdid()
338 struct kunit *test = kunit_get_current_test(); in xe_pci_fake_device_init()
H A 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()
/linux/rust/kernel/
H A Dkunit.rs73 let kunit_test = unsafe { $crate::bindings::kunit_get_current_test() };
329 !unsafe { bindings::kunit_get_current_test() }.is_null() in in_kunit_test()
/linux/net/wireless/tests/
H A Dutil.c15 struct kunit *test = kunit_get_current_test(); in t_wiphy_init()
/linux/Documentation/dev-tools/kunit/api/
H A Dfunctionredirection.rst69 kunit_get_current_test() to get a struct kunit pointer. This can then
79 struct kunit *test = kunit_get_current_test();
/linux/lib/kunit/
H A Dkunit-test.c712 KUNIT_EXPECT_PTR_EQ(test, test, kunit_get_current_test()); in kunit_current_test()
789 struct kunit *test = kunit_get_current_test(); in driver_probe_hook()
798 struct kunit *test = kunit_get_current_test(); in driver_remove_hook()
H A Dkunit-example-test.c269 KUNIT_ASSERT_PTR_EQ(test, test->priv, kunit_get_current_test()->priv); in example_priv_test()
/linux/sound/soc/codecs/
H A Dcs-amp-lib-test.c159 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable_bad_count()
229 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable()
273 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable_all_zeros()
314 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_hp_cal_efi_variable()
705 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_write_cal_coeff()
772 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_read_cal_coeff()
847 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_set_efi_variable()
2068 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_set_hp_efi_cal_variable()
2143 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable_lenovo_d0()
2162 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable_lenovo_d1()
[all...]
H A Dwm_adsp_fw_find_test.c81 struct kunit *test = kunit_get_current_test(); in wm_adsp_fw_find_test_firmware_request_simple_stub()
160 struct kunit *test = kunit_get_current_test(); in wm_adsp_fw_find_test_firmware_request_stub()
/linux/fs/ext4/
H A Dextents-test.c181 struct kunit *test = kunit_get_current_test(); in ext4_ext_zeroout_stub()
204 struct kunit *test = kunit_get_current_test(); in ext4_issue_zeroout_stub()
352 kunit_log(KERN_ALERT, kunit_get_current_test(), in check_buffer()
/linux/drivers/net/wireless/intel/iwlwifi/mld/tests/
H A Drx.c273 struct kunit *test = kunit_get_current_test(); in setup_dup_data_state()
H A Dlink-selection.c80 struct kunit *test = kunit_get_current_test(); in setup_link()
/linux/net/mac80211/tests/
H A Dutil.c195 struct kunit *test = kunit_get_current_test(); in t_sdata_init()
/linux/net/mctp/test/
H A Dsock-test.c77 struct kunit *test = kunit_get_current_test(); in mctp_test_sock_local_output()
/linux/lib/tests/
H A Dfortify_kunit.c71 current_test = kunit_get_current_test(); in fortify_add_kunit_error()
/linux/mm/
H A Dslub.c929 if (!kunit_get_current_test()) in slab_add_kunit_errors()
945 if (!kunit_get_current_test()) in slab_in_kunit_test()