Home
last modified time | relevance | path

Searched defs:test (Results 126 – 150 of 508) sorted by relevance

12345678910>>...21

/linux-6.15/drivers/gpu/drm/vc4/tests/
Dvc4_test_pv_muxing.c26 static bool check_fifo_conflict(struct kunit *test, in check_fifo_conflict()
122 get_vc4_crtc_state_for_encoder(struct kunit *test, in get_vc4_crtc_state_for_encoder()
144 static bool check_channel_for_encoder(struct kunit *test, in check_channel_for_encoder()
676 static void drm_vc4_test_pv_muxing(struct kunit *test) in drm_vc4_test_pv_muxing()
705 static void drm_vc4_test_pv_muxing_invalid(struct kunit *test) in drm_vc4_test_pv_muxing_invalid()
724 static int vc4_pv_muxing_test_init(struct kunit *test) in vc4_pv_muxing_test_init()
785 static void drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable(struct kunit *test) in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable()
859 static void drm_test_vc5_pv_muxing_bugs_stable_fifo(struct kunit *test) in drm_test_vc5_pv_muxing_bugs_stable_fifo()
956 drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable_too_many_crtc_state(struct kunit *test) in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable_too_many_crtc_state()
Dvc4_mock.c109 static int __build_one_pipe(struct kunit *test, struct drm_device *drm, in __build_one_pipe()
138 static int __build_mock(struct kunit *test, struct drm_device *drm, in __build_mock()
158 static struct vc4_dev *__mock_device(struct kunit *test, enum vc4_gen gen) in __mock_device()
199 struct vc4_dev *vc4_mock_device(struct kunit *test) in vc4_mock_device()
204 struct vc4_dev *vc5_mock_device(struct kunit *test) in vc5_mock_device()
/linux-6.15/tools/testing/selftests/kvm/s390/
Dtprot.c72 struct test { struct
79 * We perform each test in the array by executing TEST PROTECTION on argument
/linux-6.15/lib/kunit/
Dplatform.c51 kunit_platform_device_alloc(struct kunit *test, const char *name, int id) in kunit_platform_device_alloc()
73 kunit_platform_device_alloc_match(struct kunit *test, in kunit_platform_device_alloc_match()
93 int kunit_platform_device_add(struct kunit *test, struct platform_device *pdev) in kunit_platform_device_add()
203 int kunit_platform_device_prepare_wait_for_probe(struct kunit *test, in kunit_platform_device_prepare_wait_for_probe()
291 int kunit_platform_driver_register(struct kunit *test, in kunit_platform_driver_register()
/linux-6.15/drivers/gpu/drm/xe/tests/
Dxe_dma_buf.c29 static void check_residency(struct kunit *test, struct xe_bo *exported, in check_residency()
110 struct kunit *test = kunit_get_current_test(); in xe_test_dmabuf_import_same_driver() local
261 struct kunit *test = kunit_get_current_test(); in dma_buf_run_device() local
277 static void xe_dma_buf_kunit(struct kunit *test) in xe_dma_buf_kunit()
/linux-6.15/drivers/firewire/
Dohci-serdes-test.c13 static void test_self_id_count_register_deserialization(struct kunit *test) in test_self_id_count_register_deserialization()
26 static void test_self_id_receive_buffer_deserialization(struct kunit *test) in test_self_id_receive_buffer_deserialization()
43 static void test_at_data_serdes(struct kunit *test) in test_at_data_serdes()
76 static void test_it_data_serdes(struct kunit *test) in test_it_data_serdes()
Dself-id-sequence-helper-test.c11 static void test_self_id_sequence_enumerator_valid(struct kunit *test) in test_self_id_sequence_enumerator_valid()
50 static void test_self_id_sequence_enumerator_invalid(struct kunit *test) in test_self_id_sequence_enumerator_invalid()
66 static void test_self_id_sequence_get_port_status(struct kunit *test) in test_self_id_sequence_get_port_status()
/linux-6.15/lib/tests/
Dusercopy_kunit.c46 static void usercopy_test_check_nonzero_user(struct kunit *test) in usercopy_test_check_nonzero_user()
105 static void usercopy_test_copy_struct_from_user(struct kunit *test) in usercopy_test_copy_struct_from_user()
176 static void usercopy_test_valid(struct kunit *test) in usercopy_test_valid()
217 static void usercopy_test_invalid(struct kunit *test) in usercopy_test_invalid()
288 static int usercopy_test_init(struct kunit *test) in usercopy_test_init()
Doverflow_kunit.c418 static void shift_sane_test(struct kunit *test) in shift_sane_test()
467 static void shift_overflow_test(struct kunit *test) in shift_overflow_test()
521 static void shift_truncate_test(struct kunit *test) in shift_truncate_test()
559 static void shift_nonsense_test(struct kunit *test) in shift_nonsense_test()
669 static void overflow_allocation_test(struct kunit *test) in overflow_allocation_test()
706 static void overflow_size_helpers_test(struct kunit *test) in overflow_size_helpers_test()
796 static void overflows_type_test(struct kunit *test) in overflows_type_test()
1008 static void same_type_test(struct kunit *test) in same_type_test()
1083 static void castable_to_type_test(struct kunit *test) in castable_to_type_test()
1186 static void DEFINE_FLEX_test(struct kunit *test) in DEFINE_FLEX_test()
Dtest_linear_ranges.c114 static void range_test_get_value(struct kunit *test) in range_test_get_value()
135 static void range_test_get_selector_high(struct kunit *test) in range_test_get_selector_high()
160 static void range_test_get_value_amount(struct kunit *test) in range_test_get_value_amount()
168 static void range_test_get_selector_low(struct kunit *test) in range_test_get_selector_low()
/linux-6.15/drivers/misc/
Dmisc_minor_kunit.c25 static void kunit_dynamic_minor(struct kunit *test) in kunit_dynamic_minor()
35 static void kunit_static_minor(struct kunit *test) in kunit_static_minor()
45 static void kunit_misc_dynamic_minor(struct kunit *test) in kunit_misc_dynamic_minor()
/linux-6.15/drivers/of/
Dof_kunit_helpers.c19 void of_root_kunit_skip(struct kunit *test) in of_root_kunit_skip()
46 int of_overlay_fdt_apply_kunit(struct kunit *test, void *overlay_fdt, in of_overlay_fdt_apply_kunit()
82 void of_node_put_kunit(struct kunit *test, struct device_node *node) in of_node_put_kunit()
Doverlay_test.c20 static void of_overlay_apply_kunit_apply(struct kunit *test) in of_overlay_apply_kunit_apply()
36 static void of_overlay_apply_kunit_platform_device(struct kunit *test) in of_overlay_apply_kunit_platform_device()
60 static void of_overlay_apply_kunit_cleanup(struct kunit *test) in of_overlay_apply_kunit_cleanup()
/linux-6.15/drivers/clk/
Dclk-fractional-divider_test.c16 static void clk_fd_test_approximation_max_denominator(struct kunit *test) in clk_fd_test_approximation_max_denominator()
45 static void clk_fd_test_approximation_max_numerator(struct kunit *test) in clk_fd_test_approximation_max_numerator()
74 static void clk_fd_test_approximation_max_denominator_zero_based(struct kunit *test) in clk_fd_test_approximation_max_denominator_zero_based()
104 static void clk_fd_test_approximation_max_numerator_zero_based(struct kunit *test) in clk_fd_test_approximation_max_numerator_zero_based()
/linux-6.15/tools/testing/selftests/x86/
Dlam.c288 int handle_max_bits(struct testcases *test) in handle_max_bits()
307 static int handle_malloc(struct testcases *test) in handle_malloc()
339 static int handle_mmap(struct testcases *test) in handle_mmap()
375 static int handle_syscall(struct testcases *test) in handle_syscall()
401 static int get_user_syscall(struct testcases *test) in get_user_syscall()
736 int handle_uring(struct testcases *test) in handle_uring()
754 static int fork_test(struct testcases *test) in fork_test()
774 static int handle_execve(struct testcases *test) in handle_execve()
810 static int handle_inheritance(struct testcases *test) in handle_inheritance()
847 struct testcases *test = arg; in thread_fn_set_lam() local
[all …]
/linux-6.15/init/
Dinitramfs_test.c62 static void __init initramfs_test_extract(struct kunit *test) in initramfs_test_extract()
145 static void __init initramfs_test_fname_overrun(struct kunit *test) in initramfs_test_fname_overrun()
191 static void __init initramfs_test_data(struct kunit *test) in initramfs_test_data()
241 static void __init initramfs_test_csum(struct kunit *test) in initramfs_test_csum()
302 static void __init initramfs_test_hardlink(struct kunit *test) in initramfs_test_hardlink()
350 static void __init initramfs_test_many(struct kunit *test) in initramfs_test_many()
/linux-6.15/sound/soc/
Dsoc-utils-test.c118 static void test_tdm_params_to_bclk_one(struct kunit *test, in test_tdm_params_to_bclk_one()
144 static void test_tdm_params_to_bclk(struct kunit *test) in test_tdm_params_to_bclk()
173 static void test_snd_soc_params_to_bclk_one(struct kunit *test, in test_snd_soc_params_to_bclk_one()
196 static void test_snd_soc_params_to_bclk(struct kunit *test) in test_snd_soc_params_to_bclk()
/linux-6.15/lib/
Dtest-kstrtox.c5 #define for_each_test(i, test) \ argument
13 #define DEFINE_TEST_FAIL(test) \ argument
23 #define DEFINE_TEST_OK(type, test) \ argument
26 #define TEST_FAIL(fn, type, fmt, test) \ argument
45 #define TEST_OK(fn, type, fmt, test) \ argument
/linux-6.15/net/sunrpc/auth_gss/
Dgss_krb5_test.c43 static void kdf_case(struct kunit *test) in kdf_case()
72 static void checksum_case(struct kunit *test) in checksum_case()
303 static void rfc3961_nfold_case(struct kunit *test) in rfc3961_nfold_case()
527 static void rfc3962_encrypt_case(struct kunit *test) in rfc3962_encrypt_case()
1114 static void rfc6803_encrypt_case(struct kunit *test) in rfc6803_encrypt_case()
1609 static void rfc8009_encrypt_case(struct kunit *test) in rfc8009_encrypt_case()
1784 static void encrypt_selftest_case(struct kunit *test) in encrypt_selftest_case()
/linux-6.15/tools/testing/selftests/resctrl/
Dresctrl_tests.c84 static int test_prepare(const struct resctrl_test *test) in test_prepare()
103 static void test_cleanup(const struct resctrl_test *test) in test_cleanup()
111 static bool test_vendor_specific_check(const struct resctrl_test *test) in test_vendor_specific_check()
119 static void run_single_test(const struct resctrl_test *test, const struct user_params *uparams) in run_single_test()
/linux-6.15/drivers/base/power/
Dqos-test.c9 static void freq_qos_test_min(struct kunit *test) in freq_qos_test_min()
37 static void freq_qos_test_maxdef(struct kunit *test) in freq_qos_test_maxdef()
78 static void freq_qos_test_readd(struct kunit *test) in freq_qos_test_readd()
/linux-6.15/sound/pci/hda/
Dcirrus_scodec_test.c114 static int cirrus_scodec_test_create_gpio(struct kunit *test) in cirrus_scodec_test_create_gpio()
156 static int cirrus_scodec_test_set_spkid_swnode(struct kunit *test, in cirrus_scodec_test_set_spkid_swnode()
188 static void cirrus_scodec_test_spkid_parse(struct kunit *test) in cirrus_scodec_test_spkid_parse()
234 static void cirrus_scodec_test_no_spkid(struct kunit *test) in cirrus_scodec_test_no_spkid()
248 static int cirrus_scodec_test_case_init(struct kunit *test) in cirrus_scodec_test_case_init()
274 static void cirrus_scodec_test_case_exit(struct kunit *test) in cirrus_scodec_test_case_exit()
/linux-6.15/drivers/fpga/tests/
Dfpga-mgr-test.c64 static char *init_test_buffer(struct kunit *test, size_t count) in init_test_buffer()
202 static void fpga_mgr_test_get(struct kunit *test) in fpga_mgr_test_get()
213 static void fpga_mgr_test_lock(struct kunit *test) in fpga_mgr_test_lock()
228 static void fpga_mgr_test_img_load_buf(struct kunit *test) in fpga_mgr_test_img_load_buf()
256 static void fpga_mgr_test_img_load_sgt(struct kunit *test) in fpga_mgr_test_img_load_sgt()
291 static int fpga_mgr_test_init(struct kunit *test) in fpga_mgr_test_init()
/linux-6.15/arch/powerpc/kvm/
Dtest-guest-state-buffer.c9 static void test_creating_buffer(struct kunit *test) in test_creating_buffer()
25 static void test_adding_element(struct kunit *test) in test_adding_element()
100 static void test_gs_parsing(struct kunit *test) in test_gs_parsing()
125 static void test_gs_bitmap(struct kunit *test) in test_gs_bitmap()
279 static void test_gs_msg(struct kunit *test) in test_gs_msg()
/linux-6.15/arch/riscv/kernel/tests/module_test/
Dtest_module_linking_main.c35 void run_test_set(struct kunit *test) in run_test_set()
48 void run_test_sub(struct kunit *test) in run_test_sub()
64 void run_test_uleb(struct kunit *test) in run_test_uleb()

12345678910>>...21