Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 365) sorted by relevance

12345678910>>...15

/linux/mm/kasan/
H A Dkasan_test_c.c91 static void kasan_test_exit(struct kunit *test) in kasan_test_exit()
118 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ argument
144 #define KASAN_TEST_NEEDS_CONFIG_ON(test, config) do { \ argument
149 #define KASAN_TEST_NEEDS_CONFIG_OFF(test, config) do { \ argument
154 #define KASAN_TEST_NEEDS_CHECKED_MEMINTRINSICS(test) do { \ argument
163 static void kmalloc_oob_right(struct kunit *test) in kmalloc_oob_right()
192 static void kmalloc_oob_left(struct kunit *test) in kmalloc_oob_left()
205 static void kmalloc_node_oob_right(struct kunit *test) in kmalloc_node_oob_right()
218 static void kmalloc_track_caller_oob_right(struct kunit *test) in kmalloc_track_caller_oob_right()
252 static void kmalloc_big_oob_right(struct kunit *test) in kmalloc_big_oob_right()
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_cmdline_parser_test.c15 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 …]
H A Ddrm_format_test.c12 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 Ddrm_connector_test.c60 static int drm_test_connector_init(struct kunit *test) in drm_test_connector_init()
93 static void drm_test_drmm_connector_init(struct kunit *test) in drm_test_drmm_connector_init()
109 static void drm_test_drmm_connector_init_null_ddc(struct kunit *test) in drm_test_drmm_connector_init_null_ddc()
125 static void drm_test_drmm_connector_init_type_valid(struct kunit *test) in drm_test_drmm_connector_init_type_valid()
196 static void drm_test_drm_connector_dynamic_init(struct kunit *test) in drm_test_drm_connector_dynamic_init()
209 static void drm_test_connector_dynamic_init_cleanup(struct kunit *test) in drm_test_connector_dynamic_init_cleanup()
221 static void drm_test_drm_connector_dynamic_init_null_ddc(struct kunit *test) in drm_test_drm_connector_dynamic_init_null_ddc()
238 static void drm_test_drm_connector_dynamic_init_not_added(struct kunit *test) in drm_test_drm_connector_dynamic_init_not_added()
252 static void test_connector_property(struct kunit *test, in test_connector_property()
276 static void drm_test_drm_connector_dynamic_init_properties(struct kunit *test) in drm_test_drm_connector_dynamic_init_properties()
[all …]
/linux/lib/kunit/
H A Dkunit-test.c25 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 …]
H A Dkunit-example-test.c22 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 …]
H A Dassert_test.c11 #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/include/kunit/
H A Dtest.h309 static inline void kunit_set_failure(struct kunit *test) in kunit_set_failure()
447 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc()
467 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc()
481 static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) in kunit_kcalloc()
506 static inline char *kunit_kstrdup(struct kunit *test, const char *str, gfp_t gfp) in kunit_kstrdup()
566 #define kunit_mark_skipped(test, fmt, ...) \ argument
585 #define kunit_skip(test, fmt, ...) \ argument
602 #define kunit_printk(lvl, test, fmt, ...) \ argument
615 #define kunit_info(test, fmt, ...) \ argument
626 #define kunit_warn(test, fmt, ...) \ argument
[all …]
/linux/security/apparmor/
H A Dpolicy_unpack_test.c55 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/drivers/mmc/core/
H A Dmmc_test.c178 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/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3-test.c12 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/drivers/gpu/drm/xe/tests/
H A Dxe_guc_relay_test.c25 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 …]
H A Dxe_gt_sriov_pf_service_test.c12 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/drivers/clk/
H A Dclk-gate_test.c11 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 Dclk_test.c178 static int clk_test_init_with_ops(struct kunit *test, const struct clk_ops *ops) in clk_test_init_with_ops()
201 static int clk_test_init(struct kunit *test) in clk_test_init()
206 static int clk_maximize_test_init(struct kunit *test) in clk_maximize_test_init()
211 static int clk_minimize_test_init(struct kunit *test) in clk_minimize_test_init()
216 static void clk_test_exit(struct kunit *test) in clk_test_exit()
226 static void clk_test_get_rate(struct kunit *test) in clk_test_get_rate()
247 static void clk_test_set_get_rate(struct kunit *test) in clk_test_set_get_rate()
272 static void clk_test_set_set_get_rate(struct kunit *test) in clk_test_set_set_get_rate()
298 static void clk_test_round_set_get_rate(struct kunit *test) in clk_test_round_set_get_rate()
341 static int clk_uncached_test_init(struct kunit *test) in clk_uncached_test_init()
[all …]
/linux/drivers/platform/chrome/
H A Dcros_ec_proto_test.c26 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/drivers/pinctrl/qcom/
H A Dtlmm-test.c141 static void tlmm_test_request_hard_irq(struct kunit *test, unsigned long irqflags) in tlmm_test_request_hard_irq()
150 static void tlmm_test_request_threaded_irq(struct kunit *test, unsigned long irqflags) in tlmm_test_request_threaded_irq()
162 static void tlmm_test_silent(struct kunit *test, unsigned long irqflags) in tlmm_test_silent()
184 static void tlmm_test_silent_rising(struct kunit *test) in tlmm_test_silent_rising()
192 static void tlmm_test_silent_falling(struct kunit *test) in tlmm_test_silent_falling()
200 static void tlmm_test_silent_low(struct kunit *test) in tlmm_test_silent_low()
208 static void tlmm_test_silent_high(struct kunit *test) in tlmm_test_silent_high()
216 static void tlmm_test_rising(struct kunit *test) in tlmm_test_rising()
241 static void tlmm_test_falling(struct kunit *test) in tlmm_test_falling()
266 static void tlmm_test_low(struct kunit *test) in tlmm_test_low()
[all …]
/linux/kernel/events/
H A Dhw_breakpoint_test.c15 #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/tools/testing/scatterlist/
H A Dmain.c8 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/tools/testing/selftests/bpf/
H A Dxskxceiver.c127 #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() argument
142 static void report_failure(struct test_spec *test) in report_failure() argument
474 __test_spec_init(struct test_spec * test,struct ifobject * ifobj_tx,struct ifobject * ifobj_rx) __test_spec_init() argument
534 test_spec_init(struct test_spec * test,struct ifobject * ifobj_tx,struct ifobject * ifobj_rx,enum test_mode mode,const struct test_spec * test_to_run) test_spec_init() argument
564 test_spec_reset(struct test_spec * test) test_spec_reset() argument
569 test_spec_set_xdp_prog(struct test_spec * test,struct bpf_program * xdp_prog_rx,struct bpf_program * xdp_prog_tx,struct bpf_map * xskmap_rx,struct bpf_map * xskmap_tx) test_spec_set_xdp_prog() argument
579 test_spec_set_mtu(struct test_spec * test,int mtu) test_spec_set_mtu() argument
632 pkt_stream_restore_default(struct test_spec * test) pkt_stream_restore_default() argument
760 pkt_stream_replace(struct test_spec * test,u32 nb_pkts,u32 pkt_len) pkt_stream_replace() argument
783 pkt_stream_replace_half(struct test_spec * test,u32 pkt_len,int offset) pkt_stream_replace_half() argument
789 pkt_stream_receive_half(struct test_spec * test) pkt_stream_receive_half() argument
803 pkt_stream_even_odd_sequence(struct test_spec * test) pkt_stream_even_odd_sequence() argument
904 pkt_stream_generate_custom(struct test_spec * test,struct pkt * pkts,u32 nb_pkts) pkt_stream_generate_custom() argument
1121 __receive_pkts(struct test_spec * test,struct xsk_socket_info * xsk) __receive_pkts() argument
1241 all_packets_received(struct test_spec * test,struct xsk_socket_info * xsk,u32 sock_num,unsigned long * bitmap) all_packets_received() argument
1260 receive_pkts(struct test_spec * test) receive_pkts() argument
1447 all_packets_sent(struct test_spec * test,unsigned long * bitmap) all_packets_sent() argument
1452 send_pkts(struct test_spec * test,struct ifobject * ifobject) send_pkts() argument
1605 xsk_configure_socket(struct test_spec * test,struct ifobject * ifobject,struct xsk_umem_info * umem,bool tx) xsk_configure_socket() argument
1630 thread_common_ops_tx(struct test_spec * test,struct ifobject * ifobject) thread_common_ops_tx() argument
1683 thread_common_ops(struct test_spec * test,struct ifobject * ifobject) thread_common_ops() argument
1725 struct test_spec *test = (struct test_spec *)arg; worker_testapp_validate_tx() local
1748 struct test_spec *test = (struct test_spec *)arg; worker_testapp_validate_rx() local
1798 xdp_prog_changed_rx(struct test_spec * test) xdp_prog_changed_rx() argument
1805 xdp_prog_changed_tx(struct test_spec * test) xdp_prog_changed_tx() argument
1835 xsk_attach_xdp_progs(struct test_spec * test,struct ifobject * ifobj_rx,struct ifobject * ifobj_tx) xsk_attach_xdp_progs() argument
1848 __testapp_validate_traffic(struct test_spec * test,struct ifobject * ifobj1,struct ifobject * ifobj2) __testapp_validate_traffic() argument
1920 testapp_validate_traffic(struct test_spec * test) testapp_validate_traffic() argument
1947 testapp_validate_traffic_single_thread(struct test_spec * test,struct ifobject * ifobj) testapp_validate_traffic_single_thread() argument
1952 testapp_teardown(struct test_spec * test) testapp_teardown() argument
1977 testapp_bidirectional(struct test_spec * test) testapp_bidirectional() argument
1995 swap_xsk_resources(struct test_spec * test) swap_xsk_resources() argument
2013 testapp_xdp_prog_cleanup(struct test_spec * test) testapp_xdp_prog_cleanup() argument
2025 testapp_headroom(struct test_spec * test) testapp_headroom() argument
2031 testapp_stats_rx_dropped(struct test_spec * test) testapp_stats_rx_dropped() argument
2046 testapp_stats_tx_invalid_descs(struct test_spec * test) testapp_stats_tx_invalid_descs() argument
2053 testapp_stats_rx_full(struct test_spec * test) testapp_stats_rx_full() argument
2064 testapp_stats_fill_empty(struct test_spec * test) testapp_stats_fill_empty() argument
2074 testapp_send_receive_unaligned(struct test_spec * test) testapp_send_receive_unaligned() argument
2084 testapp_send_receive_unaligned_mb(struct test_spec * test) testapp_send_receive_unaligned_mb() argument
2093 testapp_single_pkt(struct test_spec * test) testapp_single_pkt() argument
2101 testapp_send_receive_mb(struct test_spec * test) testapp_send_receive_mb() argument
2109 testapp_invalid_desc_mb(struct test_spec * test) testapp_invalid_desc_mb() argument
2149 testapp_invalid_desc(struct test_spec * test) testapp_invalid_desc() argument
2194 testapp_xdp_drop(struct test_spec * test) testapp_xdp_drop() argument
2206 testapp_xdp_metadata_copy(struct test_spec * test) testapp_xdp_metadata_copy() argument
2233 testapp_xdp_shared_umem(struct test_spec * test) testapp_xdp_shared_umem() argument
2250 testapp_poll_txq_tmout(struct test_spec * test) testapp_poll_txq_tmout() argument
2259 testapp_poll_rxq_tmout(struct test_spec * test) testapp_poll_rxq_tmout() argument
2265 testapp_too_many_frags(struct test_spec * test) testapp_too_many_frags() argument
2383 testapp_send_receive(struct test_spec * test) testapp_send_receive() argument
2388 testapp_send_receive_2k_frame(struct test_spec * test) testapp_send_receive_2k_frame() argument
2396 testapp_poll_rx(struct test_spec * test) testapp_poll_rx() argument
2402 testapp_poll_tx(struct test_spec * test) testapp_poll_tx() argument
2408 testapp_aligned_inv_desc(struct test_spec * test) testapp_aligned_inv_desc() argument
2413 testapp_aligned_inv_desc_2k_frame(struct test_spec * test) testapp_aligned_inv_desc_2k_frame() argument
2420 testapp_unaligned_inv_desc(struct test_spec * test) testapp_unaligned_inv_desc() argument
2427 testapp_unaligned_inv_desc_4001_frame(struct test_spec * test) testapp_unaligned_inv_desc_4001_frame() argument
2447 testapp_aligned_inv_desc_mb(struct test_spec * test) testapp_aligned_inv_desc_mb() argument
2452 testapp_unaligned_inv_desc_mb(struct test_spec * test) testapp_unaligned_inv_desc_mb() argument
2459 testapp_xdp_metadata(struct test_spec * test) testapp_xdp_metadata() argument
2464 testapp_xdp_metadata_mb(struct test_spec * test) testapp_xdp_metadata_mb() argument
2470 testapp_hw_sw_min_ring_size(struct test_spec * test) testapp_hw_sw_min_ring_size() argument
2490 testapp_hw_sw_max_ring_size(struct test_spec * test) testapp_hw_sw_max_ring_size() argument
2518 run_pkt_test(struct test_spec * test) run_pkt_test() argument
2642 struct test_spec test; main() local
[all...]
/linux/mm/kmsan/
H A Dkmsan_test.c165 static void test_uninit_kmalloc(struct kunit *test) in test_uninit_kmalloc()
179 static void test_init_kmalloc(struct kunit *test) in test_init_kmalloc()
192 static void test_init_kzalloc(struct kunit *test) in test_init_kzalloc()
204 static void test_uninit_stack_var(struct kunit *test) in test_uninit_stack_var()
215 static void test_init_stack_var(struct kunit *test) in test_init_stack_var()
246 static void test_params(struct kunit *test) in test_params()
274 static void test_uninit_multiple_params(struct kunit *test) in test_uninit_multiple_params()
298 static void test_uninit_kmsan_check_memory(struct kunit *test) in test_uninit_kmsan_check_memory()
316 static void test_init_kmsan_vmap_vunmap(struct kunit *test) in test_init_kmsan_vmap_vunmap()
347 static void test_init_vmalloc(struct kunit *test) in test_init_vmalloc()
[all …]
/linux/sound/soc/codecs/
H A Dcs-amp-lib-test.c43 static void cs_amp_lib_test_init_dummy_cal_blob(struct kunit *test, int num_amps) in cs_amp_lib_test_init_dummy_cal_blob()
68 static u64 cs_amp_lib_test_get_target_uid(struct kunit *test) in cs_amp_lib_test_get_target_uid()
96 static void cs_amp_lib_test_cal_data_too_short_test(struct kunit *test) in cs_amp_lib_test_cal_data_too_short_test()
119 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable_bad_count() local
137 static void cs_amp_lib_test_cal_count_too_big_test(struct kunit *test) in cs_amp_lib_test_cal_count_too_big_test()
166 static void cs_amp_lib_test_no_cal_data_test(struct kunit *test) in cs_amp_lib_test_no_cal_data_test()
192 struct kunit *test = kunit_get_current_test(); in cs_amp_lib_test_get_efi_variable() local
215 static void cs_amp_lib_test_get_efi_cal_by_uid_test(struct kunit *test) in cs_amp_lib_test_get_efi_cal_by_uid_test()
251 static void cs_amp_lib_test_get_efi_cal_by_index_unchecked_test(struct kunit *test) in cs_amp_lib_test_get_efi_cal_by_index_unchecked_test()
284 static void cs_amp_lib_test_get_efi_cal_by_index_checked_test(struct kunit *test) in cs_amp_lib_test_get_efi_cal_by_index_checked_test()
[all …]
/linux/mm/damon/tests/
H A Dcore-kunit.h17 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/drivers/base/regmap/
H A Dregmap-kunit.c155 static struct regmap *gen_regmap(struct kunit *test, in gen_regmap()
227 struct kunit *test = dev_get_drvdata(dev); in reg_5_false() local
233 static void basic_read_write(struct kunit *test) in basic_read_write()
258 static void bulk_write(struct kunit *test) in bulk_write()
291 static void bulk_read(struct kunit *test) in bulk_read()
320 static void multi_write(struct kunit *test) in multi_write()
359 static void multi_read(struct kunit *test) in multi_read()
391 static void read_bypassed(struct kunit *test) in read_bypassed()
455 static void read_bypassed_volatile(struct kunit *test) in read_bypassed_volatile()
520 static void write_readonly(struct kunit *test) in write_readonly()
[all …]
/linux/security/landlock/
H A Did.c44 static void __init test_init_min(struct kunit *const test) in test_init_min()
52 static void __init test_init_max(struct kunit *const test) in test_init_max()
60 static void __init test_init_once(struct kunit *const test) in test_init_once()
122 static void test_range1_rand0(struct kunit *const test) in test_range1_rand0()
135 static void test_range1_rand1(struct kunit *const test) in test_range1_rand1()
148 static void test_range1_rand15(struct kunit *const test) in test_range1_rand15()
161 static void test_range1_rand16(struct kunit *const test) in test_range1_rand16()
174 static void test_range2_rand0(struct kunit *const test) in test_range2_rand0()
187 static void test_range2_rand1(struct kunit *const test) in test_range2_rand1()
200 static void test_range2_rand2(struct kunit *const test) in test_range2_rand2()
[all …]

12345678910>>...15