/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sock_addr.c | 644 static int load_insns(const struct sock_addr_test *test, in load_insns() 697 static int bind4_prog_load(const struct sock_addr_test *test) in bind4_prog_load() 702 static int bind6_prog_load(const struct sock_addr_test *test) in bind6_prog_load() 707 static int connect4_prog_load(const struct sock_addr_test *test) in connect4_prog_load() 712 static int connect6_prog_load(const struct sock_addr_test *test) in connect6_prog_load() 717 static int xmsg_ret_only_prog_load(const struct sock_addr_test *test, in xmsg_ret_only_prog_load() 733 static int sendmsg_deny_prog_load(const struct sock_addr_test *test) in sendmsg_deny_prog_load() 743 static int recvmsg_deny_prog_load(const struct sock_addr_test *test) in recvmsg_deny_prog_load() 1143 static int init_addrs(const struct sock_addr_test *test, in init_addrs() 1168 static int run_bind_test_case(const struct sock_addr_test *test) in run_bind_test_case() [all …]
|
/openbmc/linux/lib/ |
H A D | slub_kunit.c | 28 static void test_clobber_zone(struct kunit *test) in test_clobber_zone() 46 static void test_next_pointer(struct kunit *test) in test_next_pointer() 91 static void test_first_word(struct kunit *test) in test_first_word() 106 static void test_clobber_50th_byte(struct kunit *test) in test_clobber_50th_byte() 122 static void test_clobber_redzone_free(struct kunit *test) in test_clobber_redzone_free() 139 static void test_kmalloc_redzone_access(struct kunit *test) in test_kmalloc_redzone_access() 160 static int test_init(struct kunit *test) in test_init()
|
H A D | hashtable_test.c | 19 static void hashtable_test_hash_init(struct kunit *test) in hashtable_test_hash_init() 34 static void hashtable_test_hash_empty(struct kunit *test) in hashtable_test_hash_empty() 49 static void hashtable_test_hash_hashed(struct kunit *test) in hashtable_test_hash_hashed() 65 static void hashtable_test_hash_add(struct kunit *test) in hashtable_test_hash_add() 95 static void hashtable_test_hash_del(struct kunit *test) in hashtable_test_hash_del() 123 static void hashtable_test_hash_for_each(struct kunit *test) in hashtable_test_hash_for_each() 152 static void hashtable_test_hash_for_each_safe(struct kunit *test) in hashtable_test_hash_for_each_safe() 185 static void hashtable_test_hash_for_each_possible(struct kunit *test) in hashtable_test_hash_for_each_possible() 239 static void hashtable_test_hash_for_each_possible_safe(struct kunit *test) in hashtable_test_hash_for_each_possible_safe()
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_exec_test.c | 26 static int drm_exec_test_init(struct kunit *test) in drm_exec_test_init() 45 static void sanitycheck(struct kunit *test) in sanitycheck() 54 static void test_lock(struct kunit *test) in test_lock() 74 static void test_lock_unlock(struct kunit *test) in test_lock_unlock() 101 static void test_duplicates(struct kunit *test) in test_duplicates() 128 static void test_prepare(struct kunit *test) in test_prepare() 150 static void test_prepare_array(struct kunit *test) in test_prepare_array() 173 static void test_multiple_loops(struct kunit *test) in test_multiple_loops()
|
H A D | drm_rect_test.c | 16 static void drm_rect_compare(struct kunit *test, const struct drm_rect *r, in drm_rect_compare() 25 static void drm_test_rect_clip_scaled_div_by_zero(struct kunit *test) in drm_test_rect_clip_scaled_div_by_zero() 51 static void drm_test_rect_clip_scaled_not_clipped(struct kunit *test) in drm_test_rect_clip_scaled_not_clipped() 99 static void drm_test_rect_clip_scaled_clipped(struct kunit *test) in drm_test_rect_clip_scaled_clipped() 189 static void drm_test_rect_clip_scaled_signed_vs_unsigned(struct kunit *test) in drm_test_rect_clip_scaled_signed_vs_unsigned() 336 static void drm_test_rect_intersect(struct kunit *test) in drm_test_rect_intersect() 407 static void drm_test_rect_calc_hscale(struct kunit *test) in drm_test_rect_calc_hscale() 418 static void drm_test_rect_calc_vscale(struct kunit *test) in drm_test_rect_calc_vscale() 489 static void drm_test_rect_rotate(struct kunit *test) in drm_test_rect_rotate() 499 static void drm_test_rect_rotate_inv(struct kunit *test) in drm_test_rect_rotate_inv()
|
/openbmc/linux/sound/soc/ |
H A D | soc-topology-test.c | 28 static int snd_soc_tplg_test_init(struct kunit *test) in snd_soc_tplg_test_init() 40 static void snd_soc_tplg_test_exit(struct kunit *test) in snd_soc_tplg_test_exit() 242 static void snd_soc_tplg_test_load_with_null_comp(struct kunit *test) in snd_soc_tplg_test_load_with_null_comp() 284 static void snd_soc_tplg_test_load_with_null_ops(struct kunit *test) in snd_soc_tplg_test_load_with_null_ops() 346 static void snd_soc_tplg_test_load_with_null_fw(struct kunit *test) in snd_soc_tplg_test_load_with_null_fw() 383 static void snd_soc_tplg_test_load_empty_tplg(struct kunit *test) in snd_soc_tplg_test_load_empty_tplg() 433 static void snd_soc_tplg_test_load_empty_tplg_bad_magic(struct kunit *test) in snd_soc_tplg_test_load_empty_tplg_bad_magic() 488 static void snd_soc_tplg_test_load_empty_tplg_bad_abi(struct kunit *test) in snd_soc_tplg_test_load_empty_tplg_bad_abi() 543 static void snd_soc_tplg_test_load_empty_tplg_bad_size(struct kunit *test) in snd_soc_tplg_test_load_empty_tplg_bad_size() 652 static void snd_soc_tplg_test_load_pcm_tplg(struct kunit *test) in snd_soc_tplg_test_load_pcm_tplg() [all …]
|
/openbmc/linux/mm/damon/ |
H A D | vaddr-test.h | 66 static void damon_test_three_regions_in_vmas(struct kunit *test) in damon_test_three_regions_in_vmas() 129 static void damon_do_test_apply_three_regions(struct kunit *test, in damon_do_test_apply_three_regions() 161 static void damon_test_apply_three_regions1(struct kunit *test) in damon_test_apply_three_regions1() 183 static void damon_test_apply_three_regions2(struct kunit *test) in damon_test_apply_three_regions2() 207 static void damon_test_apply_three_regions3(struct kunit *test) in damon_test_apply_three_regions3() 232 static void damon_test_apply_three_regions4(struct kunit *test) in damon_test_apply_three_regions4() 249 static void damon_test_split_evenly_fail(struct kunit *test, in damon_test_split_evenly_fail() 268 static void damon_test_split_evenly_succ(struct kunit *test, in damon_test_split_evenly_succ() 295 static void damon_test_split_evenly(struct kunit *test) in damon_test_split_evenly()
|
/openbmc/linux/net/core/ |
H A D | dev_addr_lists_test.c | 34 static int dev_addr_test_init(struct kunit *test) in dev_addr_test_init() 56 static void dev_addr_test_exit(struct kunit *test) in dev_addr_test_exit() 65 static void dev_addr_test_basic(struct kunit *test) in dev_addr_test_basic() 81 static void dev_addr_test_sync_one(struct kunit *test) in dev_addr_test_sync_one() 108 static void dev_addr_test_add_del(struct kunit *test) in dev_addr_test_add_del() 148 static void dev_addr_test_del_main(struct kunit *test) in dev_addr_test_del_main() 166 static void dev_addr_test_add_set(struct kunit *test) in dev_addr_test_add_set() 196 static void dev_addr_test_add_excl(struct kunit *test) in dev_addr_test_add_excl()
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_sar.S | 33 test sar label 48 test ssr label 63 test ssl label 78 test ssa8l label 93 test ssa8b label 107 test ssai label
|
H A D | test_shift.S | 43 test slli label 64 test srai label 81 test srli label 109 test sll label 137 test srl label 167 test sra label 201 test src label
|
H A D | test_bz.S | 5 test beqz label 18 test bnez label 31 test bltz label 44 test bgez label
|
/openbmc/linux/lib/kunit/ |
H A D | test.c | 97 static void kunit_print_test_stats(struct kunit *test, in kunit_print_test_stats() 198 static void kunit_print_ok_not_ok(struct kunit *test, in kunit_print_ok_not_ok() 329 void __noreturn __kunit_abort(struct kunit *test) in __kunit_abort() 343 void __kunit_do_failed_assertion(struct kunit *test, in __kunit_do_failed_assertion() 454 struct kunit *test; member 462 struct kunit *test = ctx->test; in kunit_try_run_case() local 479 struct kunit *test = ctx->test; in kunit_try_run_case_cleanup() local 490 struct kunit *test = ctx->test; in kunit_catch_run_case_cleanup() local 521 struct kunit *test = ctx->test; in kunit_catch_run_case() local 550 struct kunit *test) in kunit_run_case_catch_errors() [all …]
|
H A D | resource.c | 19 int __kunit_add_resource(struct kunit *test, in __kunit_add_resource() 48 void kunit_remove_resource(struct kunit *test, struct kunit_resource *res) in kunit_remove_resource() 63 int kunit_destroy_resource(struct kunit *test, kunit_resource_match_t match, in kunit_destroy_resource() 95 int kunit_add_action(struct kunit *test, void (*action)(void *), void *ctx) in kunit_add_action() 116 int kunit_add_action_or_reset(struct kunit *test, void (*action)(void *), in kunit_add_action_or_reset() 127 static bool __kunit_action_match(struct kunit *test, in __kunit_action_match() 141 void kunit_remove_action(struct kunit *test, in kunit_remove_action() 161 void kunit_release_action(struct kunit *test, in kunit_release_action()
|
/openbmc/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_kunit_helpers.c | 28 struct ttm_buffer_object *ttm_bo_kunit_init(struct kunit *test, in ttm_bo_kunit_init() 45 struct ttm_test_devices *ttm_test_devices_basic(struct kunit *test) in ttm_test_devices_basic() 64 struct ttm_test_devices *ttm_test_devices_all(struct kunit *test) in ttm_test_devices_all() 84 void ttm_test_devices_put(struct kunit *test, struct ttm_test_devices *devs) in ttm_test_devices_put() 93 int ttm_test_devices_init(struct kunit *test) in ttm_test_devices_init() 107 void ttm_test_devices_fini(struct kunit *test) in ttm_test_devices_fini()
|
/openbmc/qemu/tests/tcg/i386/ |
H A D | test-i386-fyl2x.c | 5 struct test { struct 9 const struct test tests[] = { argument
|
H A D | test-i386-fpatan.c | 5 struct test { struct 9 const struct test tests[] = { argument
|
H A D | test-i386-fyl2xp1.c | 5 struct test { struct 9 const struct test tests[] = { argument
|
/openbmc/linux/drivers/base/regmap/ |
H A D | regmap-kunit.c | 149 static void bulk_write(struct kunit *test) in bulk_write() 186 static void bulk_read(struct kunit *test) in bulk_read() 219 static void write_readonly(struct kunit *test) in write_readonly() 294 static void reg_defaults(struct kunit *test) in reg_defaults() 408 static void stride(struct kunit *test) in stride() 474 static void basic_ranges(struct kunit *test) in basic_ranges() 600 static void cache_bypass(struct kunit *test) in cache_bypass() 638 static void cache_sync(struct kunit *test) in cache_sync() 814 static void cache_drop(struct kunit *test) in cache_drop() 1093 static void raw_write(struct kunit *test) in raw_write() [all …]
|
/openbmc/linux/kernel/ |
H A D | sysctl-test.c | 16 static void sysctl_test_api_dointvec_null_tbl_data(struct kunit *test) in sysctl_test_api_dointvec_null_tbl_data() 66 static void sysctl_test_api_dointvec_table_maxlen_unset(struct kunit *test) in sysctl_test_api_dointvec_table_maxlen_unset() 112 static void sysctl_test_api_dointvec_table_len_is_zero(struct kunit *test) in sysctl_test_api_dointvec_table_len_is_zero() 146 struct kunit *test) in sysctl_test_api_dointvec_table_read_but_position_set() 181 static void sysctl_test_dointvec_read_happy_single_positive(struct kunit *test) in sysctl_test_dointvec_read_happy_single_positive() 212 static void sysctl_test_dointvec_read_happy_single_negative(struct kunit *test) in sysctl_test_dointvec_read_happy_single_negative() 241 static void sysctl_test_dointvec_write_happy_single_positive(struct kunit *test) in sysctl_test_dointvec_write_happy_single_positive() 272 static void sysctl_test_dointvec_write_happy_single_negative(struct kunit *test) in sysctl_test_dointvec_write_happy_single_negative() 304 struct kunit *test) in sysctl_test_api_dointvec_write_single_less_int_min() 342 struct kunit *test) in sysctl_test_api_dointvec_write_single_greater_int_max()
|
/openbmc/linux/drivers/input/tests/ |
H A D | input_test.c | 15 static int input_test_init(struct kunit *test) in input_test_init() 42 static void input_test_exit(struct kunit *test) in input_test_exit() 52 static void input_test_polling(struct kunit *test) in input_test_polling() 67 static void input_test_timestamp(struct kunit *test) in input_test_timestamp() 87 static void input_test_match_device_id(struct kunit *test) in input_test_match_device_id() 133 static void input_test_grab(struct kunit *test) in input_test_grab()
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_kunit.c | 328 static void vcap_api_set_bit_1_test(struct kunit *test) in vcap_api_set_bit_1_test() 345 static void vcap_api_set_bit_0_test(struct kunit *test) in vcap_api_set_bit_0_test() 363 static void vcap_api_iterator_init_test(struct kunit *test) in vcap_api_iterator_init_test() 392 static void vcap_api_iterator_next_test(struct kunit *test) in vcap_api_iterator_next_test() 426 static void vcap_api_encode_typegroups_test(struct kunit *test) in vcap_api_encode_typegroups_test() 455 static void vcap_api_encode_bit_test(struct kunit *test) in vcap_api_encode_bit_test() 481 static void vcap_api_encode_field_test(struct kunit *test) in vcap_api_encode_field_test() 577 static void vcap_api_encode_keyfield_test(struct kunit *test) in vcap_api_encode_keyfield_test() 793 static void vcap_api_vcap_keyfields_test(struct kunit *test) in vcap_api_vcap_keyfields_test() 1330 static void vcap_api_encode_rule_test(struct kunit *test) in vcap_api_encode_rule_test() [all …]
|
/openbmc/linux/net/handshake/ |
H A D | handshake-test.c | 127 static void handshake_req_alloc_case(struct kunit *test) in handshake_req_alloc_case() 146 static void handshake_req_submit_test1(struct kunit *test) in handshake_req_submit_test1() 165 static void handshake_req_submit_test2(struct kunit *test) in handshake_req_submit_test2() 183 static void handshake_req_submit_test3(struct kunit *test) in handshake_req_submit_test3() 208 static void handshake_req_submit_test4(struct kunit *test) in handshake_req_submit_test4() 241 static void handshake_req_submit_test5(struct kunit *test) in handshake_req_submit_test5() 279 static void handshake_req_submit_test6(struct kunit *test) in handshake_req_submit_test6() 312 static void handshake_req_cancel_test1(struct kunit *test) in handshake_req_cancel_test1() 346 static void handshake_req_cancel_test2(struct kunit *test) in handshake_req_cancel_test2() 388 static void handshake_req_cancel_test3(struct kunit *test) in handshake_req_cancel_test3() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/vphn/ |
H A D | test-vphn.c | 21 static struct test { struct 25 } all_tests[] = { argument 366 static int test_one(struct test *test) in test_one() 394 static struct test *test; in test_vphn() local
|
/openbmc/linux/drivers/firewire/ |
H A D | uapi-test.c | 12 static void structure_layout_event_response(struct kunit *test) in structure_layout_event_response() 30 static void structure_layout_event_request3(struct kunit *test) in structure_layout_event_request3() 49 static void structure_layout_event_response2(struct kunit *test) in structure_layout_event_response2() 63 static void structure_layout_event_phy_packet2(struct kunit *test) in structure_layout_event_phy_packet2()
|
/openbmc/linux/drivers/iio/test/ |
H A D | iio-test-format.c | 15 static void iio_test_iio_format_value_integer(struct kunit *test) in iio_test_iio_format_value_integer() 45 static void iio_test_iio_format_value_fixedpoint(struct kunit *test) in iio_test_iio_format_value_fixedpoint() 106 static void iio_test_iio_format_value_fractional(struct kunit *test) in iio_test_iio_format_value_fractional() 146 static void iio_test_iio_format_value_fractional_log2(struct kunit *test) in iio_test_iio_format_value_fractional_log2() 186 static void iio_test_iio_format_value_multiple(struct kunit *test) in iio_test_iio_format_value_multiple() 200 static void iio_test_iio_format_value_integer_64(struct kunit *test) in iio_test_iio_format_value_integer_64()
|