/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_mmu.S | 46 test tlb_group label 84 test itlb_miss label 98 test dtlb_miss label 112 test itlb_multi_hit label 127 test dtlb_multi_hit label 144 test inst_fetch_privilege label 171 test load_store_privilege label 220 test cring_load_store_privilege label 250 test inst_fetch_prohibited label 286 test load_prohibited label [all …]
|
H A D | test_mac16.S | 46 test mul_aa label 50 test mul_ad label 54 test mul_da label 58 test mul_dd label 92 test mula_aa label 96 test mula_ad label 100 test mula_da label 104 test mula_dd label 109 test muls_aa label 113 test muls_ad label [all …]
|
H A D | test_b.S | 5 test bnone label 19 test beq label 33 test blt label 51 test bltu label 71 test ball label 85 test bbc label 112 test bbci label 125 test bany label 139 test bne label 153 test bge label [all …]
|
H A D | test_rem.S | 7 test remu_pp label 20 test remu_np label 33 test remu_pn label 46 test remu_nn label 59 test remu_exc label 74 test rems_pp label 87 test rems_np label 100 test rems_pn label 113 test rems_nn label 126 test rems_over label [all …]
|
H A D | test_rst0.S | 5 test and label 18 test or label 31 test xor label 44 test add label 59 test addx2 label 72 test addx4 label 85 test addx8 label 100 test sub label 115 test subx2 label 128 test subx4 label [all …]
|
H A D | test_quo.S | 7 test quou_pp label 20 test quou_np label 33 test quou_pn label 46 test quou_nn label 59 test quou_exc label 74 test quos_pp label 87 test quos_np label 100 test quos_pn label 113 test quos_nn label 126 test quos_over label [all …]
|
H A D | test_fp1.S | 60 test un_s label 66 test oeq_s label 70 test ueq_s label 74 test olt_s label 78 test ult_s label 82 test ole_s label 86 test ule_s label 99 test moveqz_s label 106 test movnez_s label 113 test movltz_s label [all …]
|
H A D | test_fp0_arith.S | 27 test add_s label 44 test add_s_inf label 57 test add_s_nan_dfpu label 84 test add_s_nan_fpu2k label 111 test sub_s label 125 test mul_s label 143 test madd_s label 149 test madd_s_precision label 156 test madd_s_nan_dfpu label 204 test madd_s_nan_fpu2k label [all …]
|
H A D | test_loop.S | 7 test loop label 16 test loop0 label 25 test loop_jump label 35 test loop_branch label 45 test loop_manual label 62 test loop_excm label 79 test lbeg_invalidation label 104 test lend_invalidation label 129 test loopnez label 144 test loopgtz label
|
H A D | test_break.S | 11 test break label 35 test breakn label 60 test ibreak label 98 test ibreak_remove label 132 test ibreak_break_priority label 149 test ibreak_icount_priority label 173 test icount label 232 test dbreak_exact label 242 test DBdbreak_overlap label 287 test DBdbreak_invalid label
|
H A D | test_cache.S | 18 test prefetch label 63 test dpfl_tlb_miss label 70 test dhwb_tlb_miss label 74 test dhwbi_tlb_miss label 79 test dhi_tlb_miss label 84 test dhu_tlb_miss label 92 test ipfl_tlb_miss label 96 test ihu_tlb_miss label 101 test ihi_tlb_miss label
|
H A D | test_lsc.S | 8 test lsi label 39 test ssi label 73 test lsx label 104 test ssx label 157 test ldi label 183 test sdi label 209 test ldx label 235 test sdx label
|
/openbmc/linux/mm/kasan/ |
H A D | kasan_test.c | 88 static void kasan_test_exit(struct kunit *test) in kasan_test_exit() 114 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument 140 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument 145 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument 150 #define KASAN_TEST_NEEDS_CHECKED_MEMINTRINSICS(test) do { \ argument 159 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right() 188 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left() 201 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right() 220 static void kmalloc_pagealloc_oob_right(struct kunit *test) in kmalloc_pagealloc_oob_right() 236 static void kmalloc_pagealloc_uaf(struct kunit *test) in kmalloc_pagealloc_uaf() [all …]
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_format_test.c | 12 static void drm_test_format_block_width_invalid(struct kunit *test) in drm_test_format_block_width_invalid() 21 static void drm_test_format_block_width_one_plane(struct kunit *test) in drm_test_format_block_width_one_plane() 32 static void drm_test_format_block_width_two_plane(struct kunit *test) in drm_test_format_block_width_two_plane() 44 static void drm_test_format_block_width_three_plane(struct kunit *test) in drm_test_format_block_width_three_plane() 57 static void drm_test_format_block_width_tiled(struct kunit *test) in drm_test_format_block_width_tiled() 68 static void drm_test_format_block_height_invalid(struct kunit *test) in drm_test_format_block_height_invalid() 77 static void drm_test_format_block_height_one_plane(struct kunit *test) in drm_test_format_block_height_one_plane() 88 static void drm_test_format_block_height_two_plane(struct kunit *test) in drm_test_format_block_height_two_plane() 100 static void drm_test_format_block_height_three_plane(struct kunit *test) in drm_test_format_block_height_three_plane() 113 static void drm_test_format_block_height_tiled(struct kunit *test) in drm_test_format_block_height_tiled() [all …]
|
H A D | drm_cmdline_parser_test.c | 14 static void drm_test_cmdline_force_e_only(struct kunit *test) in drm_test_cmdline_force_e_only() 32 static void drm_test_cmdline_force_D_only_not_digital(struct kunit *test) in drm_test_cmdline_force_D_only_not_digital() 54 static void drm_test_cmdline_force_D_only_hdmi(struct kunit *test) in drm_test_cmdline_force_D_only_hdmi() 76 static void drm_test_cmdline_force_D_only_dvi(struct kunit *test) in drm_test_cmdline_force_D_only_dvi() 94 static void drm_test_cmdline_force_d_only(struct kunit *test) in drm_test_cmdline_force_d_only() 112 static void drm_test_cmdline_res(struct kunit *test) in drm_test_cmdline_res() 134 static void drm_test_cmdline_res_vesa(struct kunit *test) in drm_test_cmdline_res_vesa() 156 static void drm_test_cmdline_res_vesa_rblank(struct kunit *test) in drm_test_cmdline_res_vesa_rblank() 178 static void drm_test_cmdline_res_rblank(struct kunit *test) in drm_test_cmdline_res_rblank() 200 static void drm_test_cmdline_res_bpp(struct kunit *test) in drm_test_cmdline_res_bpp() [all …]
|
/openbmc/linux/lib/ |
H A D | list-test.c | 18 static void list_test_list_init(struct kunit *test) in list_test_list_init() 47 static void list_test_list_add(struct kunit *test) in list_test_list_add() 61 static void list_test_list_add_tail(struct kunit *test) in list_test_list_add_tail() 75 static void list_test_list_del(struct kunit *test) in list_test_list_del() 91 static void list_test_list_replace(struct kunit *test) in list_test_list_replace() 107 static void list_test_list_replace_init(struct kunit *test) in list_test_list_replace_init() 126 static void list_test_list_swap(struct kunit *test) in list_test_list_swap() 148 static void list_test_list_del_init(struct kunit *test) in list_test_list_del_init() 165 static void list_test_list_del_init_careful(struct kunit *test) in list_test_list_del_init_careful() 185 static void list_test_list_move(struct kunit *test) in list_test_list_move() [all …]
|
H A D | cpumask_kunit.c | 16 #define EXPECT_FOR_EACH_CPU_EQ(test, mask) \ argument 26 #define EXPECT_FOR_EACH_CPU_OP_EQ(test, op, mask1, mask2) \ argument 39 #define EXPECT_FOR_EACH_CPU_WRAP_EQ(test, mask) \ argument 49 #define EXPECT_FOR_EACH_CPU_BUILTIN_EQ(test, name) \ argument 62 static void test_cpumask_weight(struct kunit *test) in test_cpumask_weight() 73 static void test_cpumask_first(struct kunit *test) in test_cpumask_first() 83 static void test_cpumask_last(struct kunit *test) in test_cpumask_last() 91 static void test_cpumask_next(struct kunit *test) in test_cpumask_next() 103 static void test_cpumask_iterators(struct kunit *test) in test_cpumask_iterators() 117 static void test_cpumask_iterators_builtin(struct kunit *test) in test_cpumask_iterators_builtin() [all …]
|
/openbmc/linux/include/kunit/ |
H A D | test.h | 307 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure() 435 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() 455 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc() 469 static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) in kunit_kcalloc() 525 #define kunit_printk(lvl, test, fmt, ...) \ argument 538 #define kunit_info(test, fmt, ...) \ argument 549 #define kunit_warn(test, fmt, ...) \ argument 560 #define kunit_err(test, fmt, ...) \ argument 571 #define KUNIT_SUCCEED(test) do {} while (0) argument 582 #define _KUNIT_FAILED(test, assert_type, assert_class, assert_format, INITIALIZER, fmt, ...) do { \ argument [all …]
|
/openbmc/linux/lib/kunit/ |
H A D | kunit-test.c | 20 struct kunit *test = data; in kunit_test_successful_try() local 28 struct kunit *test = data; in kunit_test_no_catch() local 33 static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test) in kunit_test_try_catch_successful_try_no_catch() 49 struct kunit *test = data; in kunit_test_unsuccessful_try() local 59 struct kunit *test = data; in kunit_test_catch() local 65 static void kunit_test_try_catch_unsuccessful_try_does_catch(struct kunit *test) in kunit_test_try_catch_unsuccessful_try_does_catch() 79 static int kunit_try_catch_test_init(struct kunit *test) in kunit_try_catch_test_init() 112 struct kunit test; member 134 static void kunit_resource_test_init_resources(struct kunit *test) in kunit_resource_test_init_resources() 143 static void kunit_resource_test_alloc_resource(struct kunit *test) in kunit_resource_test_alloc_resource() [all …]
|
/openbmc/linux/security/apparmor/ |
H A D | policy_unpack_test.c | 55 struct kunit *test, size_t buf_size) in build_aa_ext_struct() 111 static int policy_unpack_test_init(struct kunit *test) in policy_unpack_test_init() 126 static void policy_unpack_test_inbounds_when_inbounds(struct kunit *test) in policy_unpack_test_inbounds_when_inbounds() 135 static void policy_unpack_test_inbounds_when_out_of_bounds(struct kunit *test) in policy_unpack_test_inbounds_when_out_of_bounds() 142 static void policy_unpack_test_unpack_array_with_null_name(struct kunit *test) in policy_unpack_test_unpack_array_with_null_name() 155 static void policy_unpack_test_unpack_array_with_name(struct kunit *test) in policy_unpack_test_unpack_array_with_name() 169 static void policy_unpack_test_unpack_array_out_of_bounds(struct kunit *test) in policy_unpack_test_unpack_array_out_of_bounds() 183 static void policy_unpack_test_unpack_blob_with_null_name(struct kunit *test) in policy_unpack_test_unpack_blob_with_null_name() 197 static void policy_unpack_test_unpack_blob_with_name(struct kunit *test) in policy_unpack_test_unpack_blob_with_name() 211 static void policy_unpack_test_unpack_blob_out_of_bounds(struct kunit *test) in policy_unpack_test_unpack_blob_out_of_bounds() [all …]
|
/openbmc/linux/drivers/mmc/core/ |
H A D | mmc_test.c | 178 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize() 189 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc() 209 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq() 258 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy() 289 static int mmc_test_buffer_transfer(struct mmc_test_card *test, in mmc_test_buffer_transfer() 533 static void mmc_test_save_transfer_result(struct mmc_test_card *test, in mmc_test_save_transfer_result() 558 static void mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_rate() 582 static void mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_avg_rate() 626 static int __mmc_test_prepare(struct mmc_test_card *test, int write, int val) in __mmc_test_prepare() 650 static int mmc_test_prepare_write(struct mmc_test_card *test) in mmc_test_prepare_write() [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-gate_test.c | 11 static void clk_gate_register_test_dev(struct kunit *test) in clk_gate_register_test_dev() 29 static void clk_gate_register_test_parent_names(struct kunit *test) in clk_gate_register_test_parent_names() 47 static void clk_gate_register_test_parent_data(struct kunit *test) in clk_gate_register_test_parent_data() 67 static void clk_gate_register_test_parent_data_legacy(struct kunit *test) in clk_gate_register_test_parent_data_legacy() 87 static void clk_gate_register_test_parent_hw(struct kunit *test) in clk_gate_register_test_parent_hw() 105 static void clk_gate_register_test_hiword_invalid(struct kunit *test) in clk_gate_register_test_hiword_invalid() 137 static struct clk_gate_test_context *clk_gate_test_alloc_ctx(struct kunit *test) in clk_gate_test_alloc_ctx() 148 static void clk_gate_test_parent_rate(struct kunit *test) in clk_gate_test_parent_rate() 159 static void clk_gate_test_enable(struct kunit *test) in clk_gate_test_enable() 176 static void clk_gate_test_disable(struct kunit *test) in clk_gate_test_disable() [all …]
|
H A D | clk_test.c | 167 static int clk_test_init_with_ops(struct kunit *test, const struct clk_ops *ops) in clk_test_init_with_ops() 190 static int clk_test_init(struct kunit *test) in clk_test_init() 195 static int clk_maximize_test_init(struct kunit *test) in clk_maximize_test_init() 200 static int clk_minimize_test_init(struct kunit *test) in clk_minimize_test_init() 205 static void clk_test_exit(struct kunit *test) in clk_test_exit() 215 static void clk_test_get_rate(struct kunit *test) in clk_test_get_rate() 236 static void clk_test_set_get_rate(struct kunit *test) in clk_test_set_get_rate() 261 static void clk_test_set_set_get_rate(struct kunit *test) in clk_test_set_set_get_rate() 287 static void clk_test_round_set_get_rate(struct kunit *test) in clk_test_round_set_get_rate() 330 static int clk_uncached_test_init(struct kunit *test) in clk_uncached_test_init() [all …]
|
/openbmc/linux/tools/testing/scatterlist/ |
H A D | main.c | 8 struct test { struct 30 static void fail(struct test *test, struct sg_table *st, const char *cond) in fail() 48 #define VALIDATE(cond, st, test) \ argument 55 struct test *test, tests[] = { in main() local
|
/openbmc/linux/kernel/events/ |
H A D | hw_breakpoint_test.c | 15 #define TEST_REQUIRES_BP_SLOTS(test, slots) \ argument 65 static void fill_one_bp_slot(struct kunit *test, int *id, int cpu, struct task_struct *tsk) in fill_one_bp_slot() 80 static bool fill_bp_slots(struct kunit *test, int *id, int cpu, struct task_struct *tsk, int skip) in fill_bp_slots() 93 static struct task_struct *get_other_task(struct kunit *test) in get_other_task() 122 static void test_one_cpu(struct kunit *test) in test_one_cpu() 131 static void test_many_cpus(struct kunit *test) in test_many_cpus() 146 static void test_one_task_on_all_cpus(struct kunit *test) in test_one_task_on_all_cpus() 159 static void test_two_tasks_on_all_cpus(struct kunit *test) in test_two_tasks_on_all_cpus() 177 static void test_one_task_on_one_cpu(struct kunit *test) in test_one_task_on_one_cpu() 193 static void test_one_task_mixed(struct kunit *test) in test_one_task_mixed() [all …]
|