| /kernel/linux/linux-6.6/mm/kasan/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
| 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 …]
|
| D | drm_cmdline_parser_test.c | 15 static void drm_test_cmdline_force_e_only(struct kunit *test) in drm_test_cmdline_force_e_only() 33 static void drm_test_cmdline_force_D_only_not_digital(struct kunit *test) in drm_test_cmdline_force_D_only_not_digital() 55 static void drm_test_cmdline_force_D_only_hdmi(struct kunit *test) in drm_test_cmdline_force_D_only_hdmi() 77 static void drm_test_cmdline_force_D_only_dvi(struct kunit *test) in drm_test_cmdline_force_D_only_dvi() 95 static void drm_test_cmdline_force_d_only(struct kunit *test) in drm_test_cmdline_force_d_only() 113 static void drm_test_cmdline_res(struct kunit *test) in drm_test_cmdline_res() 135 static void drm_test_cmdline_res_vesa(struct kunit *test) in drm_test_cmdline_res_vesa() 157 static void drm_test_cmdline_res_vesa_rblank(struct kunit *test) in drm_test_cmdline_res_vesa_rblank() 179 static void drm_test_cmdline_res_rblank(struct kunit *test) in drm_test_cmdline_res_rblank() 201 static void drm_test_cmdline_res_bpp(struct kunit *test) in drm_test_cmdline_res_bpp() [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | test_kasan.c | 42 static int kasan_test_init(struct kunit *test) in kasan_test_init() 53 static void kasan_test_exit(struct kunit *test) in kasan_test_exit() 64 #define KUNIT_EXPECT_KASAN_FAIL(test, condition) do { \ argument 78 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right() 90 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left() 102 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right() 114 static void kmalloc_pagealloc_oob_right(struct kunit *test) in kmalloc_pagealloc_oob_right() 134 static void kmalloc_pagealloc_uaf(struct kunit *test) in kmalloc_pagealloc_uaf() 151 static void kmalloc_pagealloc_invalid_free(struct kunit *test) in kmalloc_pagealloc_invalid_free() 167 static void kmalloc_large_oob_right(struct kunit *test) in kmalloc_large_oob_right() [all …]
|
| D | list-test.c | 17 static void list_test_list_init(struct kunit *test) in list_test_list_init() 46 static void list_test_list_add(struct kunit *test) in list_test_list_add() 60 static void list_test_list_add_tail(struct kunit *test) in list_test_list_add_tail() 74 static void list_test_list_del(struct kunit *test) in list_test_list_del() 90 static void list_test_list_replace(struct kunit *test) in list_test_list_replace() 106 static void list_test_list_replace_init(struct kunit *test) in list_test_list_replace_init() 125 static void list_test_list_swap(struct kunit *test) in list_test_list_swap() 147 static void list_test_list_del_init(struct kunit *test) in list_test_list_del_init() 164 static void list_test_list_move(struct kunit *test) in list_test_list_move() 183 static void list_test_list_move_tail(struct kunit *test) in list_test_list_move_tail() [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/include/kunit/ |
| D | test.h | 228 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure() 425 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource() 456 static inline bool kunit_resource_instance_match(struct kunit *test, in kunit_resource_instance_match() 469 static inline bool kunit_resource_name_match(struct kunit *test, in kunit_resource_name_match() 483 kunit_find_resource(struct kunit *test, in kunit_find_resource() 510 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource() 530 static inline int kunit_destroy_named_resource(struct kunit *test, in kunit_destroy_named_resource() 576 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc() 596 #define kunit_printk(lvl, test, fmt, ...) \ argument 609 #define kunit_info(test, fmt, ...) \ argument [all …]
|
| /kernel/linux/linux-6.6/include/kunit/ |
| 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 …]
|
| /kernel/linux/linux-6.6/lib/kunit/ |
| 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 …]
|
| D | kunit-example-test.c | 22 static void example_simple_test(struct kunit *test) in example_simple_test() 37 static int example_test_init(struct kunit *test) in example_test_init() 48 static void example_test_exit(struct kunit *test) in example_test_exit() 78 static void example_skip_test(struct kunit *test) in example_skip_test() 93 static void example_mark_skipped_test(struct kunit *test) in example_mark_skipped_test() 108 static void example_all_expect_macros_test(struct kunit *test) in example_all_expect_macros_test() 174 static void example_static_stub_test(struct kunit *test) in example_static_stub_test() 208 static void example_params_test(struct kunit *test) in example_params_test() 226 static void example_slow_test(struct kunit *test) in example_slow_test()
|
| /kernel/linux/linux-5.10/security/apparmor/ |
| D | policy_unpack_test.c | 52 struct kunit *test, size_t buf_size) in build_aa_ext_struct() 109 static int policy_unpack_test_init(struct kunit *test) in policy_unpack_test_init() 124 static void policy_unpack_test_inbounds_when_inbounds(struct kunit *test) in policy_unpack_test_inbounds_when_inbounds() 133 static void policy_unpack_test_inbounds_when_out_of_bounds(struct kunit *test) in policy_unpack_test_inbounds_when_out_of_bounds() 140 static void policy_unpack_test_unpack_array_with_null_name(struct kunit *test) in policy_unpack_test_unpack_array_with_null_name() 154 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() 185 static void policy_unpack_test_unpack_blob_with_null_name(struct kunit *test) in policy_unpack_test_unpack_blob_with_null_name() 199 static void policy_unpack_test_unpack_blob_with_name(struct kunit *test) in policy_unpack_test_unpack_blob_with_name() 213 static void policy_unpack_test_unpack_blob_out_of_bounds(struct kunit *test) in policy_unpack_test_unpack_blob_out_of_bounds() [all …]
|
| /kernel/linux/linux-6.6/security/apparmor/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/mmc/core/ |
| D | mmc_test.c | 179 static int mmc_test_set_blksize(struct mmc_test_card *test, unsigned size) in mmc_test_set_blksize() 190 static void mmc_test_prepare_sbc(struct mmc_test_card *test, in mmc_test_prepare_sbc() 210 static void mmc_test_prepare_mrq(struct mmc_test_card *test, in mmc_test_prepare_mrq() 259 static int mmc_test_wait_busy(struct mmc_test_card *test) in mmc_test_wait_busy() 290 static int mmc_test_buffer_transfer(struct mmc_test_card *test, in mmc_test_buffer_transfer() 534 static void mmc_test_save_transfer_result(struct mmc_test_card *test, in mmc_test_save_transfer_result() 559 static void mmc_test_print_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_rate() 583 static void mmc_test_print_avg_rate(struct mmc_test_card *test, uint64_t bytes, in mmc_test_print_avg_rate() 627 static int __mmc_test_prepare(struct mmc_test_card *test, int write) in __mmc_test_prepare() 651 static int mmc_test_prepare_write(struct mmc_test_card *test) in mmc_test_prepare_write() [all …]
|
| /kernel/linux/linux-6.6/drivers/mmc/core/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/clk/ |
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/tools/testing/scatterlist/ |
| 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
|
| /kernel/linux/linux-6.6/kernel/events/ |
| 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/scatterlist/ |
| D | main.c | 8 struct test { struct 29 static void fail(struct test *test, struct sg_table *st, const char *cond) in fail() 47 #define VALIDATE(cond, st, test) \ argument 54 struct test *test, tests[] = { in main() local
|
| /kernel/linux/linux-5.10/lib/kunit/ |
| D | kunit-test.c | 19 struct kunit *test = data; in kunit_test_successful_try() local 27 struct kunit *test = data; in kunit_test_no_catch() local 32 static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test) in kunit_test_try_catch_successful_try_no_catch() 48 struct kunit *test = data; in kunit_test_unsuccessful_try() local 58 struct kunit *test = data; in kunit_test_catch() local 64 static void kunit_test_try_catch_unsuccessful_try_does_catch(struct kunit *test) in kunit_test_try_catch_unsuccessful_try_does_catch() 78 static int kunit_try_catch_test_init(struct kunit *test) in kunit_try_catch_test_init() 111 struct kunit test; member 133 static void kunit_resource_test_init_resources(struct kunit *test) in kunit_resource_test_init_resources() 142 static void kunit_resource_test_alloc_resource(struct kunit *test) in kunit_resource_test_alloc_resource() [all …]
|
| D | test.c | 71 struct kunit *test = is_test ? test_or_suite : NULL; in kunit_print_ok_not_ok() local 130 static void kunit_print_string_stream(struct kunit *test, in kunit_print_string_stream() 153 static void kunit_fail(struct kunit *test, struct kunit_assert *assert) in kunit_fail() 175 static void __noreturn kunit_abort(struct kunit *test) in kunit_abort() 188 void kunit_do_assertion(struct kunit *test, in kunit_do_assertion() 212 void kunit_init_test(struct kunit *test, const char *name, char *log) in kunit_init_test() 227 static void kunit_run_case_internal(struct kunit *test, in kunit_run_case_internal() 245 static void kunit_case_internal_cleanup(struct kunit *test) in kunit_case_internal_cleanup() 254 static void kunit_run_case_cleanup(struct kunit *test, in kunit_run_case_cleanup() 264 struct kunit *test; member [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/chrome/ |
| D | cros_ec_proto_test.c | 26 static void cros_ec_proto_test_prepare_tx_legacy_normal(struct kunit *test) in cros_ec_proto_test_prepare_tx_legacy_normal() 69 static void cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize(struct kunit *test) in cros_ec_proto_test_prepare_tx_legacy_bad_msg_outsize() 84 static void cros_ec_proto_test_prepare_tx_normal(struct kunit *test) in cros_ec_proto_test_prepare_tx_normal() 125 static void cros_ec_proto_test_prepare_tx_bad_msg_outsize(struct kunit *test) in cros_ec_proto_test_prepare_tx_bad_msg_outsize() 138 static void cros_ec_proto_test_check_result(struct kunit *test) in cros_ec_proto_test_check_result() 178 static void cros_ec_proto_test_query_all_pretest(struct kunit *test) in cros_ec_proto_test_query_all_pretest() 193 static void cros_ec_proto_test_query_all_normal(struct kunit *test) in cros_ec_proto_test_query_all_normal() 347 static void cros_ec_proto_test_query_all_no_pd_return_error(struct kunit *test) in cros_ec_proto_test_query_all_no_pd_return_error() 412 static void cros_ec_proto_test_query_all_no_pd_return0(struct kunit *test) in cros_ec_proto_test_query_all_no_pd_return0() 477 static void cros_ec_proto_test_query_all_legacy_normal_v3_return_error(struct kunit *test) in cros_ec_proto_test_query_all_legacy_normal_v3_return_error() [all …]
|
| /kernel/linux/linux-6.6/mm/kmsan/ |
| D | kmsan_test.c | 154 static void test_uninit_kmalloc(struct kunit *test) in test_uninit_kmalloc() 168 static void test_init_kmalloc(struct kunit *test) in test_init_kmalloc() 181 static void test_init_kzalloc(struct kunit *test) in test_init_kzalloc() 193 static void test_uninit_stack_var(struct kunit *test) in test_uninit_stack_var() 204 static void test_init_stack_var(struct kunit *test) in test_init_stack_var() 235 static void test_params(struct kunit *test) in test_params() 263 static void test_uninit_multiple_params(struct kunit *test) in test_uninit_multiple_params() 287 static void test_uninit_kmsan_check_memory(struct kunit *test) in test_uninit_kmsan_check_memory() 305 static void test_init_kmsan_vmap_vunmap(struct kunit *test) in test_init_kmsan_vmap_vunmap() 336 static void test_init_vmalloc(struct kunit *test) in test_init_vmalloc() [all …]
|
| /kernel/linux/linux-6.6/mm/kfence/ |
| D | kfence_test.c | 35 #define KFENCE_TEST_REQUIRES(test, cond) do { \ argument 185 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache() 244 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc() 318 static void test_out_of_bounds_read(struct kunit *test) in test_out_of_bounds_read() 352 static void test_out_of_bounds_write(struct kunit *test) in test_out_of_bounds_write() 370 static void test_use_after_free_read(struct kunit *test) in test_use_after_free_read() 386 static void test_double_free(struct kunit *test) in test_double_free() 401 static void test_invalid_addr_free(struct kunit *test) in test_invalid_addr_free() 418 static void test_corruption(struct kunit *test) in test_corruption() 454 static void test_kmalloc_aligned_oob_read(struct kunit *test) in test_kmalloc_aligned_oob_read() [all …]
|