Home
last modified time | relevance | path

Searched defs:test (Results 51 – 75 of 680) sorted by relevance

12345678910>>...28

/openbmc/qemu/tests/qtest/
H A Dendianness-test.c50 static uint8_t isa_inb(QTestState *qts, const TestCase *test, uint16_t addr) in isa_inb()
61 static uint16_t isa_inw(QTestState *qts, const TestCase *test, uint16_t addr) in isa_inw()
72 static uint32_t isa_inl(QTestState *qts, const TestCase *test, uint16_t addr) in isa_inl()
83 static void isa_outb(QTestState *qts, const TestCase *test, uint16_t addr, in isa_outb()
93 static void isa_outw(QTestState *qts, const TestCase *test, uint16_t addr, in isa_outw()
104 static void isa_outl(QTestState *qts, const TestCase *test, uint16_t addr, in isa_outl()
118 const TestCase *test = data; in test_endianness() local
190 const TestCase *test = data; in test_endianness_split() local
234 const TestCase *test = data; in test_endianness_combine() local
/openbmc/linux/lib/
H A Dslub_kunit.c28 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 Dhashtable_test.c19 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 Ddrm_exec_test.c26 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 Ddrm_rect_test.c16 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 Dsoc-topology-test.c28 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()
598 static void snd_soc_tplg_test_load_empty_tplg_bad_payload_size(struct kunit *test) in snd_soc_tplg_test_load_empty_tplg_bad_payload_size()
[all …]
/openbmc/linux/mm/damon/
H A Dvaddr-test.h66 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 Ddev_addr_lists_test.c34 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/functional/qemu_test/
H A Dcmd.py97 def _console_read_line_until_match(test, vm, success, failure): argument
129 def _console_interaction(test, success_message, failure_message, argument
169 def interrupt_interactive_console_until_pattern(test, success_message, argument
196 def wait_for_console_pattern(test, success_message, failure_message=None, argument
210 def exec_command(test, command): argument
222 def exec_command_and_wait_for_pattern(test, command, argument
239 def get_qemu_img(test): argument
/openbmc/linux/lib/kunit/
H A Dtest.c97 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()
281 static void kunit_print_string_stream(struct kunit *test, in kunit_print_string_stream()
304 static void kunit_fail(struct kunit *test, const struct kunit_loc *loc, in kunit_fail()
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()
363 void kunit_init_test(struct kunit *test, const char *name, char *log) in kunit_init_test()
387 static void kunit_run_case_check_speed(struct kunit *test, in kunit_run_case_check_speed()
409 static void kunit_run_case_internal(struct kunit *test, in kunit_run_case_internal()
435 static void kunit_case_internal_cleanup(struct kunit *test) in kunit_case_internal_cleanup()
[all …]
H A Dresource.c19 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/base/regmap/
H A Dregmap-kunit.c120 static void basic_read_write(struct kunit *test) in basic_read_write()
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()
254 static void read_writeonly(struct kunit *test) in read_writeonly()
294 static void reg_defaults(struct kunit *test) in reg_defaults()
322 static void reg_defaults_read_dev(struct kunit *test) in reg_defaults_read_dev()
356 static void register_patch(struct kunit *test) in register_patch()
408 static void stride(struct kunit *test) in stride()
474 static void basic_ranges(struct kunit *test) in basic_ranges()
[all …]
/openbmc/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_kunit_helpers.c28 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 Dtest-i386-fyl2x.c5 struct test { struct
9 const struct test tests[] = { argument
H A Dtest-i386-fpatan.c5 struct test { struct
9 const struct test tests[] = { argument
H A Dtest-i386-fyl2xp1.c5 struct test { struct
9 const struct test tests[] = { argument
/openbmc/linux/kernel/
H A Dsysctl-test.c16 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 Dinput_test.c15 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 Dvcap_api_kunit.c246 static void test_vcap_xn_rule_creator(struct kunit *test, int cid, in test_vcap_xn_rule_creator()
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()
393 static void vcap_api_iterator_next_test(struct kunit *test) in vcap_api_iterator_next_test()
428 static void vcap_api_encode_typegroups_test(struct kunit *test) in vcap_api_encode_typegroups_test()
457 static void vcap_api_encode_bit_test(struct kunit *test) in vcap_api_encode_bit_test()
484 static void vcap_api_encode_field_test(struct kunit *test) in vcap_api_encode_field_test()
535 static void vcap_api_encode_short_field_test(struct kunit *test) in vcap_api_encode_short_field_test()
580 static void vcap_api_encode_keyfield_test(struct kunit *test) in vcap_api_encode_keyfield_test()
[all …]
/openbmc/linux/net/handshake/
H A Dhandshake-test.c127 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 Dtest-vphn.c21 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/iio/test/
H A Diio-test-format.c15 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()
/openbmc/qemu/tests/tcg/xtensa/
H A Dtest_bz.S5 test beqz label
18 test bnez label
31 test bltz label
44 test bgez label
/openbmc/linux/drivers/firewire/
H A Duapi-test.c12 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/include/kunit/
H A Dresource.h169 static inline int kunit_add_resource(struct kunit *test, in kunit_add_resource()
191 static inline int kunit_add_named_resource(struct kunit *test, in kunit_add_named_resource()
237 kunit_alloc_and_get_resource(struct kunit *test, in kunit_alloc_and_get_resource()
280 static inline void *kunit_alloc_resource(struct kunit *test, in kunit_alloc_resource()
309 static inline bool kunit_resource_name_match(struct kunit *test, in kunit_resource_name_match()
323 kunit_find_resource(struct kunit *test, in kunit_find_resource()
351 kunit_find_named_resource(struct kunit *test, in kunit_find_named_resource()
371 static inline int kunit_destroy_named_resource(struct kunit *test, in kunit_destroy_named_resource()

12345678910>>...28