/linux-6.12.1/mm/kasan/ |
D | kasan_test_c.c | 89 static void kasan_test_exit(struct kunit *test) in kasan_test_exit() 116 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument 142 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument 147 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument 152 #define KASAN_TEST_NEEDS_CHECKED_MEMINTRINSICS(test) do { \ argument 161 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right() 190 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left() 203 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right() 220 static void kmalloc_big_oob_right(struct kunit *test) in kmalloc_big_oob_right() 239 static void kmalloc_large_oob_right(struct kunit *test) in kmalloc_large_oob_right() [all …]
|
/linux-6.12.1/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() 109 static void list_test_list_replace_init(struct kunit *test) in list_test_list_replace_init() 130 static void list_test_list_swap(struct kunit *test) in list_test_list_swap() 152 static void list_test_list_del_init(struct kunit *test) in list_test_list_del_init() 169 static void list_test_list_del_init_careful(struct kunit *test) in list_test_list_del_init_careful() 189 static void list_test_list_move(struct kunit *test) in list_test_list_move() [all …]
|
D | string_kunit.c | 16 #define STRCMP_TEST_EXPECT_EQUAL(test, fn, ...) KUNIT_EXPECT_EQ(test, fn(__VA_ARGS__), 0) argument 17 #define STRCMP_TEST_EXPECT_LOWER(test, fn, ...) KUNIT_EXPECT_LT(test, fn(__VA_ARGS__), 0) argument 18 #define STRCMP_TEST_EXPECT_GREATER(test, fn, ...) KUNIT_EXPECT_GT(test, fn(__VA_ARGS__), 0) argument 20 static void string_test_memset16(struct kunit *test) in string_test_memset16() 49 static void string_test_memset32(struct kunit *test) in string_test_memset32() 78 static void string_test_memset64(struct kunit *test) in string_test_memset64() 107 static void string_test_strchr(struct kunit *test) in string_test_strchr() 130 static void string_test_strnchr(struct kunit *test) in string_test_strnchr() 163 static void string_test_strspn(struct kunit *test) in string_test_strspn() 199 static void string_test_strcmp(struct kunit *test) in string_test_strcmp() [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 …]
|
/linux-6.12.1/drivers/gpu/drm/tests/ |
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 …]
|
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_connector_test.c | 59 static int drm_test_connector_init(struct kunit *test) in drm_test_connector_init() 92 static void drm_test_drmm_connector_init(struct kunit *test) in drm_test_drmm_connector_init() 108 static void drm_test_drmm_connector_init_null_ddc(struct kunit *test) in drm_test_drmm_connector_init_null_ddc() 124 static void drm_test_drmm_connector_init_type_valid(struct kunit *test) in drm_test_drmm_connector_init_type_valid() 188 static void drm_test_connector_hdmi_init_valid(struct kunit *test) in drm_test_connector_hdmi_init_valid() 208 static void drm_test_connector_hdmi_init_null_ddc(struct kunit *test) in drm_test_connector_hdmi_init_null_ddc() 228 static void drm_test_connector_hdmi_init_null_vendor(struct kunit *test) in drm_test_connector_hdmi_init_null_vendor() 248 static void drm_test_connector_hdmi_init_null_product(struct kunit *test) in drm_test_connector_hdmi_init_null_product() 268 static void drm_test_connector_hdmi_init_product_valid(struct kunit *test) in drm_test_connector_hdmi_init_product_valid() 299 static void drm_test_connector_hdmi_init_product_length_exact(struct kunit *test) in drm_test_connector_hdmi_init_product_length_exact() [all …]
|
/linux-6.12.1/lib/kunit/ |
D | kunit-test.c | 25 struct kunit *test = data; in kunit_test_successful_try() local 33 struct kunit *test = data; in kunit_test_no_catch() local 38 static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test) in kunit_test_try_catch_successful_try_no_catch() 54 struct kunit *test = data; in kunit_test_unsuccessful_try() local 64 struct kunit *test = data; in kunit_test_catch() local 70 static void kunit_test_try_catch_unsuccessful_try_does_catch(struct kunit *test) in kunit_test_try_catch_unsuccessful_try_does_catch() 84 static int kunit_try_catch_test_init(struct kunit *test) in kunit_try_catch_test_init() 116 struct kunit *test = data; in kunit_test_null_dereference() local 124 static void kunit_test_fault_null_dereference(struct kunit *test) in kunit_test_fault_null_dereference() 159 struct kunit test; member [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() 184 static void example_static_stub_test(struct kunit *test) in example_static_stub_test() 208 static void example_static_stub_using_fn_ptr_test(struct kunit *test) in example_static_stub_using_fn_ptr_test() 243 static void example_params_test(struct kunit *test) in example_params_test() 261 static void example_priv_test(struct kunit *test) in example_priv_test() [all …]
|
D | assert_test.c | 11 #define ASSERT_TEST_EXPECT_CONTAIN(test, str, substr) KUNIT_EXPECT_TRUE(test, strstr(str, substr)) argument 12 #define ASSERT_TEST_EXPECT_NCONTAIN(test, str, substr) KUNIT_EXPECT_FALSE(test, strstr(str, substr)) argument 14 static void kunit_test_is_literal(struct kunit *test) in kunit_test_is_literal() 26 static void kunit_test_is_str_literal(struct kunit *test) in kunit_test_is_str_literal() 41 static char *get_str_from_stream(struct kunit *test, struct string_stream *stream) in get_str_from_stream() 51 static void kunit_test_assert_prologue(struct kunit *test) in kunit_test_assert_prologue() 83 static void verify_assert_print_msg(struct kunit *test, in verify_assert_print_msg() 99 static void kunit_test_assert_print_msg(struct kunit *test) in kunit_test_assert_print_msg() 118 static void validate_assert(assert_format_t format_func, struct kunit *test, in validate_assert() 137 static void kunit_test_unary_assert_format(struct kunit *test) in kunit_test_unary_assert_format() [all …]
|
/linux-6.12.1/include/kunit/ |
D | test.h | 309 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure() 445 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() 465 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc() 479 static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) in kunit_kcalloc() 504 static inline char *kunit_kstrdup(struct kunit *test, const char *str, gfp_t gfp) in kunit_kstrdup() 600 #define kunit_printk(lvl, test, fmt, ...) \ argument 613 #define kunit_info(test, fmt, ...) \ argument 624 #define kunit_warn(test, fmt, ...) \ argument 635 #define kunit_err(test, fmt, ...) \ argument 642 #define _KUNIT_SAVE_LOC(test) do { \ argument [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3-test.c | 12 struct kunit *test; member 117 struct kunit *test, const struct arm_smmu_ste *cur, in arm_smmu_v3_test_ste_expect_transition() 153 struct kunit *test, const struct arm_smmu_ste *cur, in arm_smmu_v3_test_ste_expect_non_hitless_transition() 161 struct kunit *test, const struct arm_smmu_ste *cur, in arm_smmu_v3_test_ste_expect_hitless_transition() 190 static void arm_smmu_v3_write_ste_test_bypass_to_abort(struct kunit *test) in arm_smmu_v3_write_ste_test_bypass_to_abort() 202 static void arm_smmu_v3_write_ste_test_abort_to_bypass(struct kunit *test) in arm_smmu_v3_write_ste_test_abort_to_bypass() 213 static void arm_smmu_v3_write_ste_test_cdtable_to_abort(struct kunit *test) in arm_smmu_v3_write_ste_test_cdtable_to_abort() 223 static void arm_smmu_v3_write_ste_test_abort_to_cdtable(struct kunit *test) in arm_smmu_v3_write_ste_test_abort_to_cdtable() 233 static void arm_smmu_v3_write_ste_test_cdtable_to_bypass(struct kunit *test) in arm_smmu_v3_write_ste_test_cdtable_to_bypass() 243 static void arm_smmu_v3_write_ste_test_bypass_to_cdtable(struct kunit *test) in arm_smmu_v3_write_ste_test_bypass_to_cdtable() [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/tests/ |
D | xe_guc_relay_test.c | 25 static int relay_test_init(struct kunit *test) in relay_test_init() 65 struct kunit *test = kunit_get_current_test(); in replacement_xe_guc_ct_send_recv_always_fails() local 78 struct kunit *test = kunit_get_current_test(); in replacement_xe_guc_ct_send_recv_expects_pf2guc_relay() local 120 static void pf_rejects_guc2pf_too_short(struct kunit *test) in pf_rejects_guc2pf_too_short() 129 static void pf_rejects_guc2pf_too_long(struct kunit *test) in pf_rejects_guc2pf_too_long() 138 static void pf_rejects_guc2pf_no_payload(struct kunit *test) in pf_rejects_guc2pf_no_payload() 147 static void pf_fails_no_payload(struct kunit *test) in pf_fails_no_payload() 155 static void pf_fails_bad_origin(struct kunit *test) in pf_fails_bad_origin() 167 static void pf_fails_bad_type(struct kunit *test) in pf_fails_bad_type() 179 static void pf_txn_reports_error(struct kunit *test) in pf_txn_reports_error() [all …]
|
D | xe_gt_sriov_pf_service_test.c | 12 static int pf_service_test_init(struct kunit *test) in pf_service_test_init() 48 static void pf_negotiate_any(struct kunit *test) in pf_negotiate_any() 61 static void pf_negotiate_base_match(struct kunit *test) in pf_negotiate_base_match() 75 static void pf_negotiate_base_newer(struct kunit *test) in pf_negotiate_base_newer() 93 static void pf_negotiate_base_next(struct kunit *test) in pf_negotiate_base_next() 110 static void pf_negotiate_base_older(struct kunit *test) in pf_negotiate_base_older() 125 static void pf_negotiate_base_prev(struct kunit *test) in pf_negotiate_base_prev() 136 static void pf_negotiate_latest_match(struct kunit *test) in pf_negotiate_latest_match() 150 static void pf_negotiate_latest_newer(struct kunit *test) in pf_negotiate_latest_newer() 164 static void pf_negotiate_latest_next(struct kunit *test) in pf_negotiate_latest_next() [all …]
|
/linux-6.12.1/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 | 176 static int clk_test_init_with_ops(struct kunit *test, const struct clk_ops *ops) in clk_test_init_with_ops() 199 static int clk_test_init(struct kunit *test) in clk_test_init() 204 static int clk_maximize_test_init(struct kunit *test) in clk_maximize_test_init() 209 static int clk_minimize_test_init(struct kunit *test) in clk_minimize_test_init() 214 static void clk_test_exit(struct kunit *test) in clk_test_exit() 224 static void clk_test_get_rate(struct kunit *test) in clk_test_get_rate() 245 static void clk_test_set_get_rate(struct kunit *test) in clk_test_set_get_rate() 270 static void clk_test_set_set_get_rate(struct kunit *test) in clk_test_set_set_get_rate() 296 static void clk_test_round_set_get_rate(struct kunit *test) in clk_test_round_set_get_rate() 339 static int clk_uncached_test_init(struct kunit *test) in clk_uncached_test_init() [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | xskxceiver.c | 127 #define busy_poll_string(test) (test)->ifobj_tx->busy_poll ? "BUSY-POLL " : "" argument 128 static char *mode_string(struct test_spec *test) in mode_string() 142 static void report_failure(struct test_spec *test) in report_failure() 474 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init() 534 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_spec_init() 564 static void test_spec_reset(struct test_spec *test) in test_spec_reset() 569 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx, in test_spec_set_xdp_prog() 579 static int test_spec_set_mtu(struct test_spec *test, int mtu) in test_spec_set_mtu() 632 static void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default() 760 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace() [all …]
|
/linux-6.12.1/mm/damon/tests/ |
D | core-kunit.h | 17 static void damon_test_regions(struct kunit *test) in damon_test_regions() 50 static void damon_test_target(struct kunit *test) in damon_test_target() 77 static void damon_test_aggregate(struct kunit *test) in damon_test_aggregate() 121 static void damon_test_split_at(struct kunit *test) in damon_test_split_at() 149 static void damon_test_merge_two(struct kunit *test) in damon_test_merge_two() 193 static void damon_test_merge_regions_of(struct kunit *test) in damon_test_merge_regions_of() 224 static void damon_test_split_regions_of(struct kunit *test) in damon_test_split_regions_of() 246 static void damon_test_ops_registration(struct kunit *test) in damon_test_ops_registration() 294 static void damon_test_set_regions(struct kunit *test) in damon_test_set_regions() 316 static void damon_test_nr_accesses_to_accesses_bp(struct kunit *test) in damon_test_nr_accesses_to_accesses_bp() [all …]
|
/linux-6.12.1/drivers/thunderbolt/ |
D | test.c | 31 static void kunit_ida_init(struct kunit *test, struct ida *ida) in kunit_ida_init() 36 static struct tb_switch *alloc_switch(struct kunit *test, u64 route, in alloc_switch() 72 static struct tb_switch *alloc_host(struct kunit *test) in alloc_host() 154 static struct tb_switch *alloc_host_usb4(struct kunit *test) in alloc_host_usb4() 173 static struct tb_switch *alloc_host_br(struct kunit *test) in alloc_host_br() 190 static struct tb_switch *alloc_dev_default(struct kunit *test, in alloc_dev_default() 340 static struct tb_switch *alloc_dev_with_dpin(struct kunit *test, in alloc_dev_with_dpin() 361 static struct tb_switch *alloc_dev_without_dp(struct kunit *test, in alloc_dev_without_dp() 402 static struct tb_switch *alloc_dev_usb4(struct kunit *test, in alloc_dev_usb4() 423 static void tb_test_path_basic(struct kunit *test) in tb_test_path_basic() [all …]
|
/linux-6.12.1/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 …]
|