Home
last modified time | relevance | path

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

12345678910>>...20

/linux-6.14.4/sound/core/
Dsound_kunit.c99 static void test_phys_format_size(struct kunit *test) in test_phys_format_size()
112 static void test_format_width(struct kunit *test) in test_format_width()
125 static void test_format_signed(struct kunit *test) in test_format_signed()
140 static void test_format_endianness(struct kunit *test) in test_format_endianness()
157 static void _test_fill_silence(struct kunit *test, const struct snd_format_test_data *data, in _test_fill_silence()
168 static void test_format_fill_silence(struct kunit *test) in test_format_fill_silence()
207 static void test_playback_avail(struct kunit *test) in test_playback_avail()
235 static void test_capture_avail(struct kunit *test) in test_capture_avail()
256 static void test_card_set_id(struct kunit *test) in test_card_set_id()
275 static void test_pcm_format_name(struct kunit *test) in test_pcm_format_name()
[all …]
/linux-6.14.4/kernel/
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()
[all …]
/linux-6.14.4/arch/s390/lib/
Dtest_kprobes.c11 static void setup_kprobe(struct kunit *test, struct kprobe *kp, in setup_kprobe()
19 static void test_kprobe_offset(struct kunit *test, struct kprobe *kp, in test_kprobe_offset()
36 static void test_kprobe_odd(struct kunit *test) in test_kprobe_odd()
42 static void test_kprobe_in_insn4(struct kunit *test) in test_kprobe_in_insn4()
48 static void test_kprobe_in_insn6_lo(struct kunit *test) in test_kprobe_in_insn6_lo()
54 static void test_kprobe_in_insn6_hi(struct kunit *test) in test_kprobe_in_insn6_hi()
/linux-6.14.4/drivers/firmware/cirrus/test/
Dcs_dsp_test_wmfw.c63 static void wmfw_write_xm_header_unpacked(struct kunit *test) in wmfw_write_xm_header_unpacked()
95 static void wmfw_write_one_payload(struct kunit *test) in wmfw_write_one_payload()
150 static void wmfw_write_multiple_oneblock_payloads(struct kunit *test) in wmfw_write_multiple_oneblock_payloads()
217 static void wmfw_write_multiple_oneblock_payloads_reverse(struct kunit *test) in wmfw_write_multiple_oneblock_payloads_reverse()
285 static void wmfw_write_multiple_payloads_sparse_unordered(struct kunit *test) in wmfw_write_multiple_payloads_sparse_unordered()
366 static void wmfw_write_all_unpacked_pm(struct kunit *test) in wmfw_write_all_unpacked_pm()
410 static void wmfw_write_all_packed_pm(struct kunit *test) in wmfw_write_all_packed_pm()
461 static void wmfw_write_multiple_unpacked_mem(struct kunit *test) in wmfw_write_multiple_unpacked_mem()
558 static void wmfw_write_multiple_packed_unpacked_mem(struct kunit *test) in wmfw_write_multiple_packed_unpacked_mem()
652 static void wmfw_write_packed_1_unpacked_trailing(struct kunit *test) in wmfw_write_packed_1_unpacked_trailing()
[all …]
Dcs_dsp_test_control_rw.c89 static int _find_alg_entry(struct kunit *test, unsigned int alg_id) in _find_alg_entry()
103 static int _get_alg_mem_base_words(struct kunit *test, int alg_index, int mem_type) in _get_alg_mem_base_words()
118 static struct cs_dsp_mock_wmfw_builder *_create_dummy_wmfw(struct kunit *test) in _create_dummy_wmfw()
140 static void cs_dsp_ctl_write_running(struct kunit *test) in cs_dsp_ctl_write_running()
211 static void cs_dsp_ctl_read_volatile_running(struct kunit *test) in cs_dsp_ctl_read_volatile_running()
282 static void cs_dsp_ctl_read_volatile_not_started(struct kunit *test) in cs_dsp_ctl_read_volatile_not_started()
332 static void cs_dsp_ctl_read_volatile_stopped(struct kunit *test) in cs_dsp_ctl_read_volatile_stopped()
386 static void cs_dsp_ctl_read_volatile_stopped_powered_down(struct kunit *test) in cs_dsp_ctl_read_volatile_stopped_powered_down()
442 static void cs_dsp_ctl_read_volatile_not_current_loaded_fw(struct kunit *test) in cs_dsp_ctl_read_volatile_not_current_loaded_fw()
500 static void cs_dsp_ctl_read_volatile_not_current_running_fw(struct kunit *test) in cs_dsp_ctl_read_volatile_not_current_running_fw()
[all …]
Dcs_dsp_test_control_cache.c93 static int _find_alg_entry(struct kunit *test, unsigned int alg_id) in _find_alg_entry()
107 static int _get_alg_mem_base_words(struct kunit *test, int alg_index, int mem_type) in _get_alg_mem_base_words()
122 static struct cs_dsp_mock_wmfw_builder *_create_dummy_wmfw(struct kunit *test) in _create_dummy_wmfw()
145 static void cs_dsp_ctl_v2_cache_alloc(struct kunit *test) in cs_dsp_ctl_v2_cache_alloc()
198 static void cs_dsp_ctl_cache_init(struct kunit *test) in cs_dsp_ctl_cache_init()
257 static void cs_dsp_ctl_cache_init_write_only(struct kunit *test) in cs_dsp_ctl_cache_init_write_only()
311 static void cs_dsp_ctl_cache_init_multiple_fw_same_controls(struct kunit *test) in cs_dsp_ctl_cache_init_multiple_fw_same_controls()
420 static void cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls(struct kunit *test) in cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls()
528 static void cs_dsp_ctl_cache_init_multiple_mems(struct kunit *test) in cs_dsp_ctl_cache_init_multiple_mems()
649 static void cs_dsp_ctl_cache_init_multiple_algs(struct kunit *test) in cs_dsp_ctl_cache_init_multiple_algs()
[all …]
Dcs_dsp_test_bin.c116 static void bin_patch_one_word(struct kunit *test) in bin_patch_one_word()
162 static void bin_patch_one_multiword(struct kunit *test) in bin_patch_one_multiword()
210 static void bin_patch_multi_oneword(struct kunit *test) in bin_patch_multi_oneword()
265 static void bin_patch_multi_oneword_unordered(struct kunit *test) in bin_patch_multi_oneword_unordered()
323 static void bin_patch_multi_oneword_sparse_unordered(struct kunit *test) in bin_patch_multi_oneword_sparse_unordered()
387 static void bin_patch_one_word_multiple_mems(struct kunit *test) in bin_patch_one_word_multiple_mems()
488 static void bin_patch_one_word_multiple_algs(struct kunit *test) in bin_patch_one_word_multiple_algs()
547 static void bin_patch_one_word_multiple_algs_unordered(struct kunit *test) in bin_patch_one_word_multiple_algs_unordered()
608 static void bin_patch_1_packed(struct kunit *test) in bin_patch_1_packed()
664 static void bin_patch_1_packed_1_single_trailing(struct kunit *test) in bin_patch_1_packed_1_single_trailing()
[all …]
/linux-6.14.4/drivers/scsi/
Dscsi_lib_test.c16 static void scsi_lib_test_multiple_sense(struct kunit *test) in scsi_lib_test_multiple_sense()
115 static void scsi_lib_test_any_sense(struct kunit *test) in scsi_lib_test_any_sense()
138 static void scsi_lib_test_host(struct kunit *test) in scsi_lib_test_host()
168 static void scsi_lib_test_any_failure(struct kunit *test) in scsi_lib_test_any_failure()
191 static void scsi_lib_test_any_status(struct kunit *test) in scsi_lib_test_any_status()
214 static void scsi_lib_test_total_allowed(struct kunit *test) in scsi_lib_test_total_allowed()
258 static void scsi_lib_test_mixed_total(struct kunit *test) in scsi_lib_test_mixed_total()
316 static void scsi_lib_test_check_passthough(struct kunit *test) in scsi_lib_test_check_passthough()
/linux-6.14.4/drivers/gpu/drm/tests/
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()
Ddrm_gem_shmem_test.c43 static void drm_gem_shmem_test_obj_create(struct kunit *test) in drm_gem_shmem_test_obj_create()
63 static void drm_gem_shmem_test_obj_create_private(struct kunit *test) in drm_gem_shmem_test_obj_create_private()
128 static void drm_gem_shmem_test_pin_pages(struct kunit *test) in drm_gem_shmem_test_pin_pages()
161 static void drm_gem_shmem_test_vmap(struct kunit *test) in drm_gem_shmem_test_vmap()
197 static void drm_gem_shmem_test_get_pages_sgt(struct kunit *test) in drm_gem_shmem_test_get_pages_sgt()
236 static void drm_gem_shmem_test_get_sg_table(struct kunit *test) in drm_gem_shmem_test_get_sg_table()
271 static void drm_gem_shmem_test_madvise(struct kunit *test) in drm_gem_shmem_test_madvise()
306 static void drm_gem_shmem_test_purge(struct kunit *test) in drm_gem_shmem_test_purge()
338 static int drm_gem_shmem_test_init(struct kunit *test) in drm_gem_shmem_test_init()
Ddrm_kunit_helpers.c39 struct device *drm_kunit_helper_alloc_device(struct kunit *test) in drm_kunit_helper_alloc_device()
52 void drm_kunit_helper_free_device(struct kunit *test, struct device *dev) in drm_kunit_helper_free_device()
59 __drm_kunit_helper_alloc_drm_device_with_driver(struct kunit *test, in __drm_kunit_helper_alloc_drm_device_with_driver()
104 drm_kunit_helper_acquire_ctx_alloc(struct kunit *test) in drm_kunit_helper_acquire_ctx_alloc()
146 drm_kunit_helper_atomic_state_alloc(struct kunit *test, in drm_kunit_helper_atomic_state_alloc()
212 drm_kunit_helper_create_primary_plane(struct kunit *test, in drm_kunit_helper_create_primary_plane()
283 drm_kunit_helper_create_crtc(struct kunit *test, in drm_kunit_helper_create_crtc()
335 int drm_kunit_add_mode_destroy_action(struct kunit *test, in drm_kunit_add_mode_destroy_action()
357 drm_kunit_display_mode_from_cea_vic(struct kunit *test, struct drm_device *dev, in drm_kunit_display_mode_from_cea_vic()
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()
/linux-6.14.4/mm/damon/tests/
Dvaddr-kunit.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()
/linux-6.14.4/net/core/
Ddev_addr_lists_test.c34 static int dev_addr_test_init(struct kunit *test) in dev_addr_test_init()
55 static void dev_addr_test_exit(struct kunit *test) in dev_addr_test_exit()
63 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()
110 static void dev_addr_test_add_del(struct kunit *test) in dev_addr_test_add_del()
152 static void dev_addr_test_del_main(struct kunit *test) in dev_addr_test_del_main()
172 static void dev_addr_test_add_set(struct kunit *test) in dev_addr_test_add_set()
204 static void dev_addr_test_add_excl(struct kunit *test) in dev_addr_test_add_excl()
/linux-6.14.4/drivers/gpu/drm/xe/tests/
Dxe_migrate.c16 const char *str, struct kunit *test) in sanity_fence_failed()
39 struct kunit *test) in run_sanity_job()
73 struct kunit *test, u32 region) in test_copy()
164 struct kunit *test) in test_copy_sysmem()
170 struct kunit *test) in test_copy_vram()
184 static void xe_migrate_sanity_test(struct xe_migrate *m, struct kunit *test) in xe_migrate_sanity_test()
341 struct kunit *test = kunit_get_current_test(); in migrate_test_run_device() local
361 static void xe_migrate_sanity_kunit(struct kunit *test) in xe_migrate_sanity_kunit()
370 bool copy_only_ccs, const char *str, struct kunit *test) in blt_copy()
496 struct kunit *test) in test_migrate()
[all …]
/linux-6.14.4/drivers/net/ethernet/microchip/vcap/
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 …]
/linux-6.14.4/fs/bcachefs/
Dmean_and_variance_test.c8 static void mean_and_variance_basic_test(struct kunit *test) in mean_and_variance_basic_test()
32 static void mean_and_variance_weighted_test(struct kunit *test) in mean_and_variance_weighted_test()
63 static void mean_and_variance_weighted_advanced_test(struct kunit *test) in mean_and_variance_weighted_advanced_test()
89 static void do_mean_and_variance_test(struct kunit *test, in do_mean_and_variance_test()
127 static void mean_and_variance_test_1(struct kunit *test) in mean_and_variance_test_1()
140 static void mean_and_variance_test_2(struct kunit *test) in mean_and_variance_test_2()
152 static void mean_and_variance_fast_divpow2(struct kunit *test) in mean_and_variance_fast_divpow2()
170 static void mean_and_variance_u128_basic_test(struct kunit *test) in mean_and_variance_u128_basic_test()
/linux-6.14.4/lib/
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()
/linux-6.14.4/tools/testing/selftests/clone3/
Dclone3.c163 struct test { struct
169 enum test_mode test_mode; argument
173 static const struct test tests[] = { argument
/linux-6.14.4/lib/kunit/
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()
/linux-6.14.4/tools/testing/selftests/sched_ext/
Drunner.c42 static void print_test_preamble(const struct scx_test *test, bool quiet) in print_test_preamble()
64 static void print_test_result(const struct scx_test *test, in print_test_result()
75 static bool should_skip_test(const struct scx_test *test, const char * filter) in should_skip_test()
80 static enum scx_test_status run_test(const struct scx_test *test) in run_test()
99 static bool test_valid(const struct scx_test *test) in test_valid()
159 struct scx_test *test = &__scx_tests[i]; in main() local
206 void scx_test_register(struct scx_test *test) in scx_test_register()
/linux-6.14.4/net/handshake/
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 …]
/linux-6.14.4/drivers/misc/
Dpci_endpoint_test.c137 static inline u32 pci_endpoint_test_readl(struct pci_endpoint_test *test, in pci_endpoint_test_readl()
143 static inline void pci_endpoint_test_writel(struct pci_endpoint_test *test, in pci_endpoint_test_writel()
151 struct pci_endpoint_test *test = dev_id; in pci_endpoint_test_irqhandler() local
163 static void pci_endpoint_test_free_irq_vectors(struct pci_endpoint_test *test) in pci_endpoint_test_free_irq_vectors()
171 static int pci_endpoint_test_alloc_irq_vectors(struct pci_endpoint_test *test, in pci_endpoint_test_alloc_irq_vectors()
214 static void pci_endpoint_test_release_irq(struct pci_endpoint_test *test) in pci_endpoint_test_release_irq()
226 static int pci_endpoint_test_request_irq(struct pci_endpoint_test *test) in pci_endpoint_test_request_irq()
276 static int pci_endpoint_test_bar_memcmp(struct pci_endpoint_test *test, in pci_endpoint_test_bar_memcmp()
289 static int pci_endpoint_test_bar(struct pci_endpoint_test *test, in pci_endpoint_test_bar()
342 static void pci_endpoint_test_bars_write_bar(struct pci_endpoint_test *test, in pci_endpoint_test_bars_write_bar()
[all …]
/linux-6.14.4/drivers/gpu/drm/ttm/tests/
Dttm_bo_test.c59 static void ttm_bo_reserve_optimistic_no_ticket(struct kunit *test) in ttm_bo_reserve_optimistic_no_ticket()
73 static void ttm_bo_reserve_locked_no_sleep(struct kunit *test) in ttm_bo_reserve_locked_no_sleep()
91 static void ttm_bo_reserve_no_wait_ticket(struct kunit *test) in ttm_bo_reserve_no_wait_ticket()
109 static void ttm_bo_reserve_double_resv(struct kunit *test) in ttm_bo_reserve_double_resv()
139 static void ttm_bo_reserve_deadlock(struct kunit *test) in ttm_bo_reserve_deadlock()
211 static void ttm_bo_reserve_interrupted(struct kunit *test) in ttm_bo_reserve_interrupted()
237 static void ttm_bo_unreserve_basic(struct kunit *test) in ttm_bo_unreserve_basic()
280 static void ttm_bo_unreserve_pinned(struct kunit *test) in ttm_bo_unreserve_pinned()
321 static void ttm_bo_unreserve_bulk(struct kunit *test) in ttm_bo_unreserve_bulk()
382 static void ttm_bo_put_basic(struct kunit *test) in ttm_bo_put_basic()
[all …]
/linux-6.14.4/drivers/input/tests/
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()

12345678910>>...20