/openbmc/linux/lib/ |
H A D | overflow_kunit.c | 358 static void shift_sane_test(struct kunit *test) in shift_sane_test() 407 static void shift_overflow_test(struct kunit *test) in shift_overflow_test() 461 static void shift_truncate_test(struct kunit *test) in shift_truncate_test() 499 static void shift_nonsense_test(struct kunit *test) in shift_nonsense_test() 609 static void overflow_allocation_test(struct kunit *test) in overflow_allocation_test() 649 static void overflow_size_helpers_test(struct kunit *test) in overflow_size_helpers_test() 739 static void overflows_type_test(struct kunit *test) in overflows_type_test() 951 static void same_type_test(struct kunit *test) in same_type_test() 1026 static void castable_to_type_test(struct kunit *test) in castable_to_type_test()
|
H A D | test-kstrtox.c | 5 #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
|
H A D | checksum_kunit.c | 232 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()
|
/openbmc/libmctp/tests/ |
H A D | test-utils.c | 29 struct mctp_binding_test *test; in mctp_binding_test_init() local 41 void mctp_binding_test_destroy(struct mctp_binding_test *test) in mctp_binding_test_destroy() 46 void mctp_binding_test_rx_raw(struct mctp_binding_test *test, void *buf, in mctp_binding_test_rx_raw()
|
/openbmc/qemu/tests/unit/ |
H A D | io-channel-helpers.c | 102 void qio_channel_test_run_threads(QIOChannelTest *test, in qio_channel_test_run_threads() 129 void qio_channel_test_run_writer(QIOChannelTest *test, in qio_channel_test_run_writer() 138 void qio_channel_test_run_reader(QIOChannelTest *test, in qio_channel_test_run_reader() 147 void qio_channel_test_validate(QIOChannelTest *test) in qio_channel_test_validate()
|
H A D | test-xbzrle.c | 68 uint8_t *test = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_unchanged() local 92 uint8_t *test = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_1_byte() local 115 uint8_t *test = g_malloc0(XBZRLE_PAGE_SIZE); in test_encode_decode_overflow() local 137 uint8_t *test = g_malloc0(XBZRLE_PAGE_SIZE); in encode_decode_range() local
|
/openbmc/libpldm/src/transport/ |
H A D | test.c | 41 struct pldm_transport_test *test = transport_to_test(ctx); in pldm_transport_test_init_pollfd() local 105 struct pldm_transport_test *test = transport_to_test(ctx); in pldm_transport_test_recv() local 139 struct pldm_transport_test *test = transport_to_test(ctx); in pldm_transport_test_send() local 180 struct pldm_transport_test *test = malloc(sizeof(*test)); in pldm_transport_test_init() local
|
/openbmc/linux/mm/damon/ |
H A D | dbgfs-test.h | 15 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()
|
/openbmc/linux/net/sunrpc/auth_gss/ |
H A D | gss_krb5_test.c | 43 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()
|
/openbmc/linux/tools/testing/selftests/x86/ |
H A D | lam.c | 260 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 …]
|
/openbmc/qemu/tests/qtest/ |
H A D | vnc-display-test.c | 39 test_setup(Test *test) in test_setup() 73 Test *test) in test_vnc_basic_on_vnc_initialized() 84 Test test; in test_vnc_basic() local
|
H A D | dbus-display-test.c | 95 TestDBusConsoleRegister *test) in listener_handle_scanout() 103 test_dbus_console_setup_listener(TestDBusConsoleRegister *test) in test_dbus_console_setup_listener() 129 TestDBusConsoleRegister *test = user_data; in test_dbus_console_registered() local 166 TestDBusConsoleRegister test = { 0, }; in test_dbus_display_console() local
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_plane_helper_test.c | 47 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()
|
/openbmc/linux/drivers/base/test/ |
H A D | root-device-test.c | 17 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()
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_exclusive.S | 7 test exclusive_nowrite label 26 test exclusive_write label
|
H A D | test_max.S | 7 test max label 45 test maxu label
|
H A D | test_s32c1i.S | 7 test s32c1i_nowrite label 28 test s32c1i_write label
|
H A D | test_sext.S | 7 test sext label 59 test sext_same_rs label
|
H A D | test_nsa.S | 7 test nsa label 39 test nsau label
|
H A D | test_min.S | 7 test min label 45 test minu label
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 1434 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()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | ip_local_port_range.c | 201 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()
|
/openbmc/linux/fs/fat/ |
H A D | fat_test.c | 13 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()
|
/openbmc/linux/drivers/fpga/tests/ |
H A D | fpga-region-test.c | 89 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()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | sdhci-of-aspeed-test.c | 6 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()
|