Home
last modified time | relevance | path

Searched defs:test (Results 76 – 100 of 375) sorted by relevance

12345678910>>...15

/Linux-v6.6/sound/soc/
Dsoc-utils-test.c118 static void test_tdm_params_to_bclk_one(struct kunit *test, in test_tdm_params_to_bclk_one()
144 static void test_tdm_params_to_bclk(struct kunit *test) in test_tdm_params_to_bclk()
173 static void test_snd_soc_params_to_bclk_one(struct kunit *test, in test_snd_soc_params_to_bclk_one()
196 static void test_snd_soc_params_to_bclk(struct kunit *test) in test_snd_soc_params_to_bclk()
/Linux-v6.6/lib/
Dtest_linear_ranges.c114 static void range_test_get_value(struct kunit *test) in range_test_get_value()
135 static void range_test_get_selector_high(struct kunit *test) in range_test_get_selector_high()
160 static void range_test_get_value_amount(struct kunit *test) in range_test_get_value_amount()
168 static void range_test_get_selector_low(struct kunit *test) in range_test_get_selector_low()
Dtest-kstrtox.c5 #define for_each_test(i, test) \ argument
13 #define DEFINE_TEST_FAIL(test) \ argument
23 #define DEFINE_TEST_OK(type, test) \ argument
26 #define TEST_FAIL(fn, type, fmt, test) \ argument
45 #define TEST_OK(fn, type, fmt, test) \ argument
Dchecksum_kunit.c232 static void assert_setup_correct(struct kunit *test) in assert_setup_correct()
245 static void test_csum_fixed_random_inputs(struct kunit *test) in test_csum_fixed_random_inputs()
271 static void test_csum_all_carry_inputs(struct kunit *test) in test_csum_all_carry_inputs()
311 static void test_csum_no_carry_inputs(struct kunit *test) in test_csum_no_carry_inputs()
/Linux-v6.6/tools/testing/selftests/x86/
Dlam.c260 int handle_max_bits(struct testcases *test) in handle_max_bits()
279 static int handle_malloc(struct testcases *test) in handle_malloc()
311 static int handle_mmap(struct testcases *test) in handle_mmap()
347 static int handle_syscall(struct testcases *test) in handle_syscall()
634 int handle_uring(struct testcases *test) in handle_uring()
652 static int fork_test(struct testcases *test) in fork_test()
672 static int handle_execve(struct testcases *test) in handle_execve()
708 static int handle_inheritance(struct testcases *test) in handle_inheritance()
745 struct testcases *test = arg; in thread_fn_set_lam() local
750 static int handle_thread(struct testcases *test) in handle_thread()
[all …]
/Linux-v6.6/drivers/base/power/
Dqos-test.c9 static void freq_qos_test_min(struct kunit *test) in freq_qos_test_min()
37 static void freq_qos_test_maxdef(struct kunit *test) in freq_qos_test_maxdef()
78 static void freq_qos_test_readd(struct kunit *test) in freq_qos_test_readd()
/Linux-v6.6/net/sunrpc/auth_gss/
Dgss_krb5_test.c43 static void kdf_case(struct kunit *test) in kdf_case()
72 static void checksum_case(struct kunit *test) in checksum_case()
303 static void rfc3961_nfold_case(struct kunit *test) in rfc3961_nfold_case()
527 static void rfc3962_encrypt_case(struct kunit *test) in rfc3962_encrypt_case()
1114 static void rfc6803_encrypt_case(struct kunit *test) in rfc6803_encrypt_case()
1609 static void rfc8009_encrypt_case(struct kunit *test) in rfc8009_encrypt_case()
1784 static void encrypt_selftest_case(struct kunit *test) in encrypt_selftest_case()
/Linux-v6.6/drivers/gpu/drm/tests/
Ddrm_plane_helper_test.c47 static int drm_plane_helper_init(struct kunit *test) in drm_plane_helper_init()
82 static void check_src_eq(struct kunit *test, struct drm_plane_state *plane_state, in check_src_eq()
101 static void check_crtc_eq(struct kunit *test, struct drm_plane_state *plane_state, in check_crtc_eq()
112 static void drm_test_check_plane_state(struct kunit *test) in drm_test_check_plane_state()
254 static void drm_test_check_invalid_plane_state(struct kunit *test) in drm_test_check_invalid_plane_state()
/Linux-v6.6/mm/damon/
Ddbgfs-test.h15 static void damon_dbgfs_test_str_to_ints(struct kunit *test) in damon_dbgfs_test_str_to_ints()
71 static void damon_dbgfs_test_set_targets(struct kunit *test) in damon_dbgfs_test_set_targets()
94 static void damon_dbgfs_test_set_init_regions(struct kunit *test) in damon_dbgfs_test_set_init_regions()
/Linux-v6.6/tools/testing/selftests/net/
Dip_local_port_range.c201 const struct test { in TEST_F() struct
202 __u16 range_lo; in TEST_F()
203 __u16 range_hi; in TEST_F()
249 const struct test { in TEST_F() struct
250 __u16 range_lo; in TEST_F()
251 __u16 range_hi; in TEST_F()
252 __u16 expected; in TEST_F()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_sysctl.c1434 static int load_sysctl_prog_insns(struct sysctl_test *test, in load_sysctl_prog_insns()
1476 static int load_sysctl_prog_file(struct sysctl_test *test) in load_sysctl_prog_file()
1491 static int load_sysctl_prog(struct sysctl_test *test, const char *sysctl_path) in load_sysctl_prog()
1499 const struct sysctl_test *test) in access_sysctl()
1543 static int run_test_case(int cgfd, struct sysctl_test *test) in run_test_case()
Dtest_progs.c228 static void print_test_result(const struct prog_test_def *test, const struct test_state *test_state) in print_test_result()
284 static void dump_test_log(const struct prog_test_def *test, in dump_test_log()
407 struct prog_test_def *test = env.test; in test__end_subtest() local
432 struct prog_test_def *test = env.test; in test__start_subtest() local
537 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name) in bpf_find_map()
1074 struct prog_test_def *test = &prog_test_defs[test_num]; in run_one_test() local
1193 struct prog_test_def *test; in dispatch_thread() local
1330 struct prog_test_def *test = &prog_test_defs[i]; in calculate_summary_and_print_errors() local
1413 struct prog_test_def *test = &prog_test_defs[i]; in server_main() local
1541 struct prog_test_def *test = &prog_test_defs[test_to_run]; in worker_main() local
[all …]
/Linux-v6.6/drivers/spi/
Dspi-loopback-test.c574 struct spi_test *test) in spi_test_check_elapsed_time()
709 struct spi_test *test) in spi_test_fill_pattern()
793 struct spi_test *test, in _spi_test_run_iter()
862 struct spi_test test; in spi_test_run_iter() local
934 int spi_test_execute_msg(struct spi_device *spi, struct spi_test *test, in spi_test_execute_msg()
1007 int spi_test_run_test(struct spi_device *spi, const struct spi_test *test, in spi_test_run_test()
1075 struct spi_test *test; in spi_test_run_tests() local
/Linux-v6.6/drivers/base/test/
Droot-device-test.c17 static int root_device_devm_init(struct kunit *test) in root_device_devm_init()
44 static void root_device_devm_register_unregister_test(struct kunit *test) in root_device_devm_register_unregister_test()
76 static void root_device_devm_register_get_unregister_with_devm_test(struct kunit *test) in root_device_devm_register_get_unregister_with_devm_test()
/Linux-v6.6/drivers/fpga/tests/
Dfpga-region-test.c89 static void fpga_region_test_class_find(struct kunit *test) in fpga_region_test_class_find()
104 static void fpga_region_test_program_fpga(struct kunit *test) in fpga_region_test_program_fpga()
143 static int fpga_region_test_init(struct kunit *test) in fpga_region_test_init()
184 static void fpga_region_test_exit(struct kunit *test) in fpga_region_test_exit()
/Linux-v6.6/fs/fat/
Dfat_test.c13 static void fat_checksum_test(struct kunit *test) in fat_checksum_test()
131 static void fat_time_fat2unix_test(struct kunit *test) in fat_time_fat2unix_test()
155 static void fat_time_unix2fat_test(struct kunit *test) in fat_time_unix2fat_test()
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dflow_dissector.c93 struct test { struct
111 struct test tests[] = { argument
Dsk_lookup.c68 struct test { struct
69 const char *desc;
70 struct bpf_program *lookup_prog;
71 struct bpf_program *reuseport_prog;
72 struct bpf_map *sock_map;
73 int sotype;
74 struct inet_addr connect_to;
75 struct inet_addr listen_at;
76 enum server accept_on;
77 bool reuseport_has_conns; /* Add a connected socket to reuseport group */
Dsection_names.c163 static void test_prog_type_by_name(const struct sec_name_test *test) in test_prog_type_by_name()
187 static void test_attach_type_by_name(const struct sec_name_test *test) in test_attach_type_by_name()
210 struct sec_name_test *test = &tests[i]; in test_section_names() local
Dbtf_skc_cls_ingress.c188 struct test { struct
194 static struct test tests[] = { argument
/Linux-v6.6/net/mctp/test/
Droute-test.c63 static void mctp_test_route_destroy(struct kunit *test, in mctp_test_route_destroy()
129 static void mctp_test_fragment(struct kunit *test) in mctp_test_fragment()
234 static void mctp_test_rx_input(struct kunit *test) in mctp_test_rx_input()
283 static void __mctp_route_test_init(struct kunit *test, in __mctp_route_test_init()
315 static void __mctp_route_test_fini(struct kunit *test, in __mctp_route_test_fini()
331 static void mctp_test_route_input_sk(struct kunit *test) in mctp_test_route_input_sk()
401 static void mctp_test_route_input_sk_reasm(struct kunit *test) in mctp_test_route_input_sk_reasm()
536 static void mctp_test_route_input_sk_keys(struct kunit *test) in mctp_test_route_input_sk_keys()
/Linux-v6.6/drivers/net/wireguard/selftest/
Dratelimiter.c35 int *test) in timings_test()
98 int *test) in capacity_test()
122 int test = 0, trials; in wg_ratelimiter_selftest() local
/Linux-v6.6/drivers/gpu/drm/vc4/tests/
Dvc4_mock_output.c23 struct vc4_dummy_output *vc4_dummy_output(struct kunit *test, in vc4_dummy_output()
64 int vc4_mock_atomic_add_output(struct kunit *test, in vc4_mock_atomic_add_output()
102 int vc4_mock_atomic_del_output(struct kunit *test, in vc4_mock_atomic_del_output()
/Linux-v6.6/drivers/mmc/host/
Dsdhci-of-aspeed-test.c6 static void aspeed_sdhci_phase_ddr52(struct kunit *test) in aspeed_sdhci_phase_ddr52()
49 static void aspeed_sdhci_phase_hs200(struct kunit *test) in aspeed_sdhci_phase_hs200()
/Linux-v6.6/drivers/net/wireless/ti/wl12xx/
Dcmd.h20 struct wl1271_cmd_test_header test; member
35 struct wl1271_cmd_test_header test; member
50 struct wl1271_cmd_test_header test; member
66 struct wl1271_cmd_test_header test; member
85 struct wl1271_cmd_test_header test; member

12345678910>>...15