Home
last modified time | relevance | path

Searched defs:test (Results 126 – 150 of 480) sorted by relevance

12345678910>>...20

/linux-6.14.4/drivers/of/
Dof_kunit_helpers.c19 void of_root_kunit_skip(struct kunit *test) in of_root_kunit_skip()
46 int of_overlay_fdt_apply_kunit(struct kunit *test, void *overlay_fdt, in of_overlay_fdt_apply_kunit()
82 void of_node_put_kunit(struct kunit *test, struct device_node *node) in of_node_put_kunit()
Doverlay_test.c20 static void of_overlay_apply_kunit_apply(struct kunit *test) in of_overlay_apply_kunit_apply()
36 static void of_overlay_apply_kunit_platform_device(struct kunit *test) in of_overlay_apply_kunit_platform_device()
60 static void of_overlay_apply_kunit_cleanup(struct kunit *test) in of_overlay_apply_kunit_cleanup()
/linux-6.14.4/drivers/clk/
Dclk-fractional-divider_test.c16 static void clk_fd_test_approximation_max_denominator(struct kunit *test) in clk_fd_test_approximation_max_denominator()
45 static void clk_fd_test_approximation_max_numerator(struct kunit *test) in clk_fd_test_approximation_max_numerator()
74 static void clk_fd_test_approximation_max_denominator_zero_based(struct kunit *test) in clk_fd_test_approximation_max_denominator_zero_based()
104 static void clk_fd_test_approximation_max_numerator_zero_based(struct kunit *test) in clk_fd_test_approximation_max_numerator_zero_based()
/linux-6.14.4/lib/
Doverflow_kunit.c418 static void shift_sane_test(struct kunit *test) in shift_sane_test()
467 static void shift_overflow_test(struct kunit *test) in shift_overflow_test()
521 static void shift_truncate_test(struct kunit *test) in shift_truncate_test()
559 static void shift_nonsense_test(struct kunit *test) in shift_nonsense_test()
669 static void overflow_allocation_test(struct kunit *test) in overflow_allocation_test()
706 static void overflow_size_helpers_test(struct kunit *test) in overflow_size_helpers_test()
796 static void overflows_type_test(struct kunit *test) in overflows_type_test()
1008 static void same_type_test(struct kunit *test) in same_type_test()
1083 static void castable_to_type_test(struct kunit *test) in castable_to_type_test()
1186 static void DEFINE_FLEX_test(struct kunit *test) in DEFINE_FLEX_test()
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
Dpacking_test.c371 static void packing_test_pack(struct kunit *test) in packing_test_pack()
387 static void packing_test_unpack(struct kunit *test) in packing_test_unpack()
421 static void packing_test_pack_fields(struct kunit *test) in packing_test_pack_fields()
441 static void packing_test_unpack_fields(struct kunit *test) in packing_test_unpack_fields()
/linux-6.14.4/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-6.14.4/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()
Dsoc-card-test.c32 static void test_snd_soc_card_get_kcontrol(struct kunit *test) in test_snd_soc_card_get_kcontrol()
70 static int soc_card_test_case_init(struct kunit *test) in soc_card_test_case_init()
103 static void soc_card_test_case_exit(struct kunit *test) in soc_card_test_case_exit()
/linux-6.14.4/tools/testing/selftests/resctrl/
Dresctrl_tests.c84 static int test_prepare(const struct resctrl_test *test) in test_prepare()
103 static void test_cleanup(const struct resctrl_test *test) in test_cleanup()
111 static bool test_vendor_specific_check(const struct resctrl_test *test) in test_vendor_specific_check()
119 static void run_single_test(const struct resctrl_test *test, const struct user_params *uparams) in run_single_test()
Dcat_test.c156 static int cat_test(const struct resctrl_test *test, in cat_test()
235 static int cat_run_test(const struct resctrl_test *test, const struct user_params *uparams) in cat_run_test()
291 static bool arch_supports_noncont_cat(const struct resctrl_test *test) in arch_supports_noncont_cat()
313 static int noncont_cat_run_test(const struct resctrl_test *test, in noncont_cat_run_test()
371 static bool noncont_cat_feature_check(const struct resctrl_test *test) in noncont_cat_feature_check()
/linux-6.14.4/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-6.14.4/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-6.14.4/drivers/fpga/tests/
Dfpga-mgr-test.c64 static char *init_test_buffer(struct kunit *test, size_t count) in init_test_buffer()
202 static void fpga_mgr_test_get(struct kunit *test) in fpga_mgr_test_get()
213 static void fpga_mgr_test_lock(struct kunit *test) in fpga_mgr_test_lock()
228 static void fpga_mgr_test_img_load_buf(struct kunit *test) in fpga_mgr_test_img_load_buf()
256 static void fpga_mgr_test_img_load_sgt(struct kunit *test) in fpga_mgr_test_img_load_sgt()
291 static int fpga_mgr_test_init(struct kunit *test) in fpga_mgr_test_init()
/linux-6.14.4/sound/pci/hda/
Dcirrus_scodec_test.c114 static int cirrus_scodec_test_create_gpio(struct kunit *test) in cirrus_scodec_test_create_gpio()
156 static int cirrus_scodec_test_set_spkid_swnode(struct kunit *test, in cirrus_scodec_test_set_spkid_swnode()
188 static void cirrus_scodec_test_spkid_parse(struct kunit *test) in cirrus_scodec_test_spkid_parse()
234 static void cirrus_scodec_test_no_spkid(struct kunit *test) in cirrus_scodec_test_no_spkid()
248 static int cirrus_scodec_test_case_init(struct kunit *test) in cirrus_scodec_test_case_init()
274 static void cirrus_scodec_test_case_exit(struct kunit *test) in cirrus_scodec_test_case_exit()
/linux-6.14.4/arch/powerpc/kvm/
Dtest-guest-state-buffer.c9 static void test_creating_buffer(struct kunit *test) in test_creating_buffer()
25 static void test_adding_element(struct kunit *test) in test_adding_element()
100 static void test_gs_parsing(struct kunit *test) in test_gs_parsing()
125 static void test_gs_bitmap(struct kunit *test) in test_gs_bitmap()
279 static void test_gs_msg(struct kunit *test) in test_gs_msg()
/linux-6.14.4/drivers/firewire/
Dself-id-sequence-helper-test.c11 static void test_self_id_sequence_enumerator_valid(struct kunit *test) in test_self_id_sequence_enumerator_valid()
50 static void test_self_id_sequence_enumerator_invalid(struct kunit *test) in test_self_id_sequence_enumerator_invalid()
66 static void test_self_id_sequence_get_port_status(struct kunit *test) in test_self_id_sequence_get_port_status()
/linux-6.14.4/arch/riscv/kernel/tests/module_test/
Dtest_module_linking_main.c35 void run_test_set(struct kunit *test) in run_test_set()
48 void run_test_sub(struct kunit *test) in run_test_sub()
64 void run_test_uleb(struct kunit *test) in run_test_uleb()
/linux-6.14.4/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()
Ddrm_managed_test.c32 static void drm_test_managed_release_action(struct kunit *test) in drm_test_managed_release_action()
56 static void drm_test_managed_run_action(struct kunit *test) in drm_test_managed_run_action()
75 static int drm_managed_test_init(struct kunit *test) in drm_managed_test_init()
/linux-6.14.4/drivers/rtc/
Dlib_test.c33 static void rtc_time64_to_tm_test_date_range(struct kunit *test, int years) in rtc_time64_to_tm_test_date_range()
73 static void rtc_time64_to_tm_test_date_range_160000(struct kunit *test) in rtc_time64_to_tm_test_date_range_160000()
82 static void rtc_time64_to_tm_test_date_range_1000(struct kunit *test) in rtc_time64_to_tm_test_date_range_1000()
/linux-6.14.4/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()
/linux-6.14.4/drivers/spi/
Dspi-loopback-test.c573 struct spi_test *test) in spi_test_check_elapsed_time()
708 struct spi_test *test) in spi_test_fill_pattern()
792 struct spi_test *test, in _spi_test_run_iter()
861 struct spi_test test; in spi_test_run_iter() local
933 int spi_test_execute_msg(struct spi_device *spi, struct spi_test *test, in spi_test_execute_msg()
1006 int spi_test_run_test(struct spi_device *spi, const struct spi_test *test, in spi_test_run_test()
1074 struct spi_test *test; in spi_test_run_tests() local
/linux-6.14.4/tools/testing/selftests/net/
Dip_local_port_range.c217 const struct test { in TEST_F() struct
218 __u16 range_lo; in TEST_F()
219 __u16 range_hi; in TEST_F()
265 const struct test { in TEST_F() struct
266 __u16 range_lo; in TEST_F()
267 __u16 range_hi; in TEST_F()
268 __u16 expected; in TEST_F()

12345678910>>...20