Home
last modified time | relevance | path

Searched refs:KUNIT_CASE (Results 1 – 25 of 126) sorted by relevance

123456

/linux/lib/tests/
H A Dlist-test.c769 KUNIT_CASE(list_test_list_init),
770 KUNIT_CASE(list_test_list_add),
771 KUNIT_CASE(list_test_list_add_tail),
772 KUNIT_CASE(list_test_list_del),
773 KUNIT_CASE(list_test_list_replace),
774 KUNIT_CASE(list_test_list_replace_init),
775 KUNIT_CASE(list_test_list_swap),
776 KUNIT_CASE(list_test_list_del_init),
777 KUNIT_CASE(list_test_list_del_init_careful),
778 KUNIT_CASE(list_test_list_move),
[all …]
H A Dstring_kunit.c885 KUNIT_CASE(string_test_memset16),
886 KUNIT_CASE(string_test_memset32),
887 KUNIT_CASE(string_test_memset64),
888 KUNIT_CASE(string_test_strlen),
889 KUNIT_CASE(string_test_strnlen),
890 KUNIT_CASE(string_test_strchr),
891 KUNIT_CASE(string_test_strnchr),
892 KUNIT_CASE(string_test_strrchr),
893 KUNIT_CASE(string_test_strspn),
894 KUNIT_CASE(string_test_strcmp),
[all …]
H A Dseq_buf_kunit.c188 KUNIT_CASE(seq_buf_init_test),
189 KUNIT_CASE(seq_buf_declare_test),
190 KUNIT_CASE(seq_buf_clear_test),
191 KUNIT_CASE(seq_buf_puts_test),
192 KUNIT_CASE(seq_buf_puts_overflow_test),
193 KUNIT_CASE(seq_buf_putc_test),
194 KUNIT_CASE(seq_buf_printf_test),
195 KUNIT_CASE(seq_buf_printf_overflow_test),
196 KUNIT_CASE(seq_buf_get_buf_commit_test),
H A Dstackinit_kunit.c518 KUNIT_CASE(test_u8_ ## init), \
519 KUNIT_CASE(test_u16_ ## init), \
520 KUNIT_CASE(test_u32_ ## init), \
521 KUNIT_CASE(test_u64_ ## init), \
522 KUNIT_CASE(test_char_array_ ## init)
525 KUNIT_CASE(test_small_hole_ ## init), \
526 KUNIT_CASE(test_big_hole_ ## init), \
527 KUNIT_CASE(test_trailing_hole_ ## init),\
528 KUNIT_CASE(test_packed_ ## init) \
531 KUNIT_CASE(test_same_sizes_ ## init), \
[all …]
H A Dffs_kunit.c543 KUNIT_CASE(ffs_basic_correctness_test),
544 KUNIT_CASE(ffs64_correctness_test),
545 KUNIT_CASE(ffs_mathematical_relationships_test),
546 KUNIT_CASE(ffs_edge_cases_test),
547 KUNIT_CASE(ffs64_edge_cases_test),
548 KUNIT_CASE(ffz_basic_correctness_test),
549 KUNIT_CASE(ffz_mathematical_relationships_test),
550 KUNIT_CASE(ffz_edge_cases_test),
551 KUNIT_CASE(ffs_attribute_const_test),
/linux/mm/kmsan/
H A Dkmsan_test.c734 KUNIT_CASE(test_uninit_kmalloc),
735 KUNIT_CASE(test_init_kmalloc),
736 KUNIT_CASE(test_init_kzalloc),
737 KUNIT_CASE(test_uninit_stack_var),
738 KUNIT_CASE(test_init_stack_var),
739 KUNIT_CASE(test_params),
740 KUNIT_CASE(test_uninit_multiple_params),
741 KUNIT_CASE(test_uninit_kmsan_check_memory),
742 KUNIT_CASE(test_init_kmsan_vmap_vunmap),
743 KUNIT_CASE(test_init_vmalloc),
[all …]
/linux/mm/kasan/
H A Dkasan_test_c.c2196 KUNIT_CASE(kmalloc_oob_right),
2197 KUNIT_CASE(kmalloc_oob_left),
2198 KUNIT_CASE(kmalloc_node_oob_right),
2199 KUNIT_CASE(kmalloc_track_caller_oob_right),
2200 KUNIT_CASE(kmalloc_big_oob_right),
2201 KUNIT_CASE(kmalloc_large_oob_right),
2202 KUNIT_CASE(kmalloc_large_uaf),
2203 KUNIT_CASE(kmalloc_large_invalid_free),
2204 KUNIT_CASE(page_alloc_oob_right),
2205 KUNIT_CASE(page_alloc_uaf),
[all …]
/linux/security/landlock/
H A Did.c272 KUNIT_CASE(test_init_min),
273 KUNIT_CASE(test_init_max),
274 KUNIT_CASE(test_init_once),
275 KUNIT_CASE(test_range1_rand0),
276 KUNIT_CASE(test_range1_rand1),
277 KUNIT_CASE(test_range1_rand15),
278 KUNIT_CASE(test_range1_rand16),
279 KUNIT_CASE(test_range2_rand0),
280 KUNIT_CASE(test_range2_rand1),
281 KUNIT_CASE(test_range2_rand
[all...]
/linux/security/apparmor/
H A Dpolicy_unpack_test.c574 KUNIT_CASE(policy_unpack_test_inbounds_when_inbounds),
575 KUNIT_CASE(policy_unpack_test_inbounds_when_out_of_bounds),
576 KUNIT_CASE(policy_unpack_test_unpack_array_with_null_name),
577 KUNIT_CASE(policy_unpack_test_unpack_array_with_name),
578 KUNIT_CASE(policy_unpack_test_unpack_array_out_of_bounds),
579 KUNIT_CASE(policy_unpack_test_unpack_blob_with_null_name),
580 KUNIT_CASE(policy_unpack_test_unpack_blob_with_name),
581 KUNIT_CASE(policy_unpack_test_unpack_blob_out_of_bounds),
582 KUNIT_CASE(policy_unpack_test_unpack_nameX_with_null_name),
583 KUNIT_CASE(policy_unpack_test_unpack_nameX_with_wrong_code),
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_format_test.c331 KUNIT_CASE(drm_test_format_block_width_invalid),
332 KUNIT_CASE(drm_test_format_block_width_one_plane),
333 KUNIT_CASE(drm_test_format_block_width_two_plane),
334 KUNIT_CASE(drm_test_format_block_width_three_plane),
335 KUNIT_CASE(drm_test_format_block_width_tiled),
336 KUNIT_CASE(drm_test_format_block_height_invalid),
337 KUNIT_CASE(drm_test_format_block_height_one_plane),
338 KUNIT_CASE(drm_test_format_block_height_two_plane),
339 KUNIT_CASE(drm_test_format_block_height_three_plane),
340 KUNIT_CASE(drm_test_format_block_height_tiled),
[all …]
H A Ddrm_cmdline_parser_test.c1027 KUNIT_CASE(drm_test_cmdline_force_d_only),
1028 KUNIT_CASE(drm_test_cmdline_force_D_only_dvi),
1029 KUNIT_CASE(drm_test_cmdline_force_D_only_hdmi),
1030 KUNIT_CASE(drm_test_cmdline_force_D_only_not_digital),
1031 KUNIT_CASE(drm_test_cmdline_force_e_only),
1032 KUNIT_CASE(drm_test_cmdline_res),
1033 KUNIT_CASE(drm_test_cmdline_res_vesa),
1034 KUNIT_CASE(drm_test_cmdline_res_vesa_rblank),
1035 KUNIT_CASE(drm_test_cmdline_res_rblank),
1036 KUNIT_CASE(drm_test_cmdline_res_bpp),
[all …]
H A Ddrm_damage_helper_test.c607 KUNIT_CASE(drm_test_damage_iter_no_damage),
608 KUNIT_CASE(drm_test_damage_iter_no_damage_fractional_src),
609 KUNIT_CASE(drm_test_damage_iter_no_damage_src_moved),
610 KUNIT_CASE(drm_test_damage_iter_no_damage_fractional_src_moved),
611 KUNIT_CASE(drm_test_damage_iter_no_damage_not_visible),
612 KUNIT_CASE(drm_test_damage_iter_no_damage_no_crtc),
613 KUNIT_CASE(drm_test_damage_iter_no_damage_no_fb),
614 KUNIT_CASE(drm_test_damage_iter_simple_damage),
615 KUNIT_CASE(drm_test_damage_iter_single_damage),
616 KUNIT_CASE(drm_test_damage_iter_single_damage_intersect_src),
[all …]
/linux/lib/kunit/
H A Dkunit-test.c104 KUNIT_CASE(kunit_test_try_catch_successful_try_no_catch),
105 KUNIT_CASE(kunit_test_try_catch_unsuccessful_try_does_catch),
147 KUNIT_CASE(kunit_test_fault_null_dereference),
561 KUNIT_CASE(kunit_resource_test_init_resources),
562 KUNIT_CASE(kunit_resource_test_alloc_resource),
563 KUNIT_CASE(kunit_resource_test_destroy_resource),
564 KUNIT_CASE(kunit_resource_test_remove_resource),
565 KUNIT_CASE(kunit_resource_test_cleanup_resources),
566 KUNIT_CASE(kunit_resource_test_proper_free_ordering),
567 KUNIT_CASE(kunit_resource_test_static),
[all …]
H A Dassert_test.c369 KUNIT_CASE(kunit_test_is_literal),
370 KUNIT_CASE(kunit_test_is_str_literal),
371 KUNIT_CASE(kunit_test_assert_prologue),
372 KUNIT_CASE(kunit_test_assert_print_msg),
373 KUNIT_CASE(kunit_test_unary_assert_format),
374 KUNIT_CASE(kunit_test_ptr_not_err_assert_format),
375 KUNIT_CASE(kunit_test_binary_assert_format),
376 KUNIT_CASE(kunit_test_binary_ptr_assert_format),
377 KUNIT_CASE(kunit_test_binary_str_assert_format),
378 KUNIT_CASE(kunit_test_assert_hexdump),
[all …]
H A Dkunit-example-test.c503 KUNIT_CASE(example_simple_test),
504 KUNIT_CASE(example_skip_test),
505 KUNIT_CASE(example_mark_skipped_test),
506 KUNIT_CASE(example_all_expect_macros_test),
507 KUNIT_CASE(example_static_stub_test),
508 KUNIT_CASE(example_static_stub_using_fn_ptr_test),
509 KUNIT_CASE(example_priv_test),
575 KUNIT_CASE(example_init_test),
H A Dplatform-test.c108 KUNIT_CASE(kunit_platform_device_alloc_test),
109 KUNIT_CASE(kunit_platform_device_add_test),
110 KUNIT_CASE(kunit_platform_device_add_twice_fails_test),
111 KUNIT_CASE(kunit_platform_device_add_cleans_up),
205 KUNIT_CASE(kunit_platform_driver_register_test),
206 KUNIT_CASE(kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed),
H A Dexecutor_test.c239 KUNIT_CASE(parse_filter_test),
240 KUNIT_CASE(filter_suites_test),
241 KUNIT_CASE(filter_suites_test_glob_test),
242 KUNIT_CASE(filter_suites_to_empty_test),
243 KUNIT_CASE(parse_filter_attr_test),
244 KUNIT_CASE(filter_attr_test),
245 KUNIT_CASE(filter_attr_empty_test),
246 KUNIT_CASE(filter_attr_skip_test),
/linux/lib/crypto/tests/
H A Dsha3_kunit.c398 KUNIT_CASE(test_sha3_224_basic),
399 KUNIT_CASE(test_sha3_256_basic),
400 KUNIT_CASE(test_sha3_384_basic),
401 KUNIT_CASE(test_sha3_512_basic),
402 KUNIT_CASE(test_shake128_basic),
403 KUNIT_CASE(test_shake256_basic),
404 KUNIT_CASE(test_shake128_nist),
405 KUNIT_CASE(test_shake256_nist),
406 KUNIT_CASE(test_shake_all_lens_up_to_4096),
407 KUNIT_CASE(test_shake_multiple_squeezes),
[all …]
/linux/drivers/clk/
H A Dclk-gate_test.c116 KUNIT_CASE(clk_gate_register_test_dev),
117 KUNIT_CASE(clk_gate_register_test_parent_names),
118 KUNIT_CASE(clk_gate_register_test_parent_data),
119 KUNIT_CASE(clk_gate_register_test_parent_data_legacy),
120 KUNIT_CASE(clk_gate_register_test_parent_hw),
121 KUNIT_CASE(clk_gate_register_test_hiword_invalid),
197 KUNIT_CASE(clk_gate_test_parent_rate),
198 KUNIT_CASE(clk_gate_test_enable),
199 KUNIT_CASE(clk_gate_test_disable),
277 KUNIT_CASE(clk_gate_test_invert_enable),
[all …]
/linux/drivers/pinctrl/qcom/
H A Dtlmm-test.c678 KUNIT_CASE(tlmm_test_silent_rising),
679 KUNIT_CASE(tlmm_test_silent_falling),
680 KUNIT_CASE(tlmm_test_silent_low),
681 KUNIT_CASE(tlmm_test_silent_high),
682 KUNIT_CASE(tlmm_test_rising),
683 KUNIT_CASE(tlmm_test_falling),
684 KUNIT_CASE(tlmm_test_high),
685 KUNIT_CASE(tlmm_test_low),
686 KUNIT_CASE(tlmm_test_rising_in_handler),
687 KUNIT_CASE(tlmm_test_falling_in_handler),
[all …]
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_guc_relay_test.c413 KUNIT_CASE(pf_rejects_guc2pf_too_short),
414 KUNIT_CASE(pf_rejects_guc2pf_too_long),
415 KUNIT_CASE(pf_rejects_guc2pf_no_payload),
416 KUNIT_CASE(pf_fails_no_payload),
417 KUNIT_CASE(pf_fails_bad_origin),
418 KUNIT_CASE(pf_fails_bad_type),
419 KUNIT_CASE(pf_txn_reports_error),
420 KUNIT_CASE(pf_txn_sends_pf2guc),
421 KUNIT_CASE(pf_sends_pf2guc),
422 KUNIT_CASE(pf_loopback_nop),
[all …]
H A Dxe_sriov_pf_service_kunit.c207 KUNIT_CASE(pf_negotiate_any),
208 KUNIT_CASE(pf_negotiate_base_match),
209 KUNIT_CASE(pf_negotiate_base_newer),
210 KUNIT_CASE(pf_negotiate_base_next),
211 KUNIT_CASE(pf_negotiate_base_older),
212 KUNIT_CASE(pf_negotiate_base_prev),
213 KUNIT_CASE(pf_negotiate_latest_match),
214 KUNIT_CASE(pf_negotiate_latest_newer),
215 KUNIT_CASE(pf_negotiate_latest_next),
216 KUNIT_CASE(pf_negotiate_latest_older),
[all …]
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_tt_test.c375 KUNIT_CASE(ttm_tt_init_misaligned),
376 KUNIT_CASE(ttm_tt_fini_basic),
377 KUNIT_CASE(ttm_tt_fini_sg),
378 KUNIT_CASE(ttm_tt_fini_shmem),
379 KUNIT_CASE(ttm_tt_create_basic),
380 KUNIT_CASE(ttm_tt_create_invalid_bo_type),
381 KUNIT_CASE(ttm_tt_create_ttm_exists),
382 KUNIT_CASE(ttm_tt_create_failed),
383 KUNIT_CASE(ttm_tt_destroy_basic),
384 KUNIT_CASE(ttm_tt_populate_null_ttm),
[all …]
/linux/kernel/events/
H A Dhw_breakpoint_test.c282 KUNIT_CASE(test_one_cpu),
283 KUNIT_CASE(test_many_cpus),
284 KUNIT_CASE(test_one_task_on_all_cpus),
285 KUNIT_CASE(test_two_tasks_on_all_cpus),
286 KUNIT_CASE(test_one_task_on_one_cpu),
287 KUNIT_CASE(test_one_task_mixed),
288 KUNIT_CASE(test_two_tasks_on_one_cpu),
289 KUNIT_CASE(test_two_tasks_on_one_all_cpus),
290 KUNIT_CASE(test_task_on_all_and_one_cpu),
/linux/arch/s390/lib/
H A Dtest_kprobes.c61 KUNIT_CASE(test_kprobe_odd),
62 KUNIT_CASE(test_kprobe_in_insn4),
63 KUNIT_CASE(test_kprobe_in_insn6_lo),
64 KUNIT_CASE(test_kprobe_in_insn6_hi),

123456