Home
last modified time | relevance | path

Searched defs:test (Results 76 – 100 of 480) sorted by relevance

12345678910>>...20

/linux-6.14.4/net/mctp/test/
Droute-test.c63 static void mctp_test_route_destroy(struct kunit *test, in mctp_test_route_destroy()
141 static void mctp_test_fragment(struct kunit *test) in mctp_test_fragment()
246 static void mctp_test_rx_input(struct kunit *test) in mctp_test_rx_input()
293 static void __mctp_route_test_init(struct kunit *test, in __mctp_route_test_init()
328 static void __mctp_route_test_fini(struct kunit *test, in __mctp_route_test_fini()
344 static void mctp_test_route_input_sk(struct kunit *test) in mctp_test_route_input_sk()
413 static void mctp_test_route_input_sk_reasm(struct kunit *test) in mctp_test_route_input_sk_reasm()
547 static void mctp_test_route_input_sk_keys(struct kunit *test) in mctp_test_route_input_sk_keys()
695 mctp_test_route_input_multiple_nets_bind_init(struct kunit *test, in mctp_test_route_input_multiple_nets_bind_init()
710 mctp_test_route_input_multiple_nets_bind_fini(struct kunit *test, in mctp_test_route_input_multiple_nets_bind_fini()
[all …]
/linux-6.14.4/drivers/gpu/drm/ttm/tests/
Dttm_pool_test.c30 static int ttm_pool_test_init(struct kunit *test) in ttm_pool_test_init()
43 static void ttm_pool_test_fini(struct kunit *test) in ttm_pool_test_fini()
50 static struct ttm_tt *ttm_tt_kunit_init(struct kunit *test, in ttm_tt_kunit_init()
73 static struct ttm_pool *ttm_pool_pre_populated(struct kunit *test, in ttm_pool_pre_populated()
134 static void ttm_pool_alloc_basic(struct kunit *test) in ttm_pool_alloc_basic()
195 static void ttm_pool_alloc_basic_dma_addr(struct kunit *test) in ttm_pool_alloc_basic_dma_addr()
238 static void ttm_pool_alloc_order_caching_match(struct kunit *test) in ttm_pool_alloc_order_caching_match()
266 static void ttm_pool_alloc_caching_mismatch(struct kunit *test) in ttm_pool_alloc_caching_mismatch()
300 static void ttm_pool_alloc_order_mismatch(struct kunit *test) in ttm_pool_alloc_order_mismatch()
334 static void ttm_pool_free_dma_alloc(struct kunit *test) in ttm_pool_free_dma_alloc()
[all …]
Dttm_bo_validate_test.c28 static struct ttm_placement *ttm_placement_kunit_init(struct kunit *test, in ttm_placement_kunit_init()
53 static struct dma_fence *alloc_mock_fence(struct kunit *test) in alloc_mock_fence()
65 static void dma_resv_kunit_active_fence_init(struct kunit *test, in dma_resv_kunit_active_fence_init()
104 static void ttm_bo_init_reserved_sys_man(struct kunit *test) in ttm_bo_init_reserved_sys_man()
150 static void ttm_bo_init_reserved_mock_man(struct kunit *test) in ttm_bo_init_reserved_mock_man()
193 static void ttm_bo_init_reserved_resv(struct kunit *test) in ttm_bo_init_reserved_resv()
227 static void ttm_bo_validate_basic(struct kunit *test) in ttm_bo_validate_basic()
272 static void ttm_bo_validate_invalid_placement(struct kunit *test) in ttm_bo_validate_invalid_placement()
298 static void ttm_bo_validate_failed_alloc(struct kunit *test) in ttm_bo_validate_failed_alloc()
328 static void ttm_bo_validate_pinned(struct kunit *test) in ttm_bo_validate_pinned()
[all …]
Dttm_kunit_helpers.c170 struct ttm_buffer_object *ttm_bo_kunit_init(struct kunit *test, in ttm_bo_kunit_init()
199 struct ttm_place *ttm_place_kunit_init(struct kunit *test, u32 mem_type, u32 flags) in ttm_place_kunit_init()
219 struct ttm_test_devices *ttm_test_devices_basic(struct kunit *test) in ttm_test_devices_basic()
241 struct ttm_test_devices *ttm_test_devices_all(struct kunit *test) in ttm_test_devices_all()
261 void ttm_test_devices_put(struct kunit *test, struct ttm_test_devices *devs) in ttm_test_devices_put()
270 int ttm_test_devices_init(struct kunit *test) in ttm_test_devices_init()
284 int ttm_test_devices_all_init(struct kunit *test) in ttm_test_devices_all_init()
298 void ttm_test_devices_fini(struct kunit *test) in ttm_test_devices_fini()
/linux-6.14.4/drivers/gpu/drm/tests/
Ddrm_modes_test.c19 static int drm_test_modes_init(struct kunit *test) in drm_test_modes_init()
39 static void drm_test_modes_analog_tv_ntsc_480i(struct kunit *test) in drm_test_modes_analog_tv_ntsc_480i()
73 static void drm_test_modes_analog_tv_ntsc_480i_inlined(struct kunit *test) in drm_test_modes_analog_tv_ntsc_480i_inlined()
97 static void drm_test_modes_analog_tv_pal_576i(struct kunit *test) in drm_test_modes_analog_tv_pal_576i()
131 static void drm_test_modes_analog_tv_pal_576i_inlined(struct kunit *test) in drm_test_modes_analog_tv_pal_576i_inlined()
155 static void drm_test_modes_analog_tv_mono_576i(struct kunit *test) in drm_test_modes_analog_tv_mono_576i()
Ddrm_framebuffer_test.c378 static int drm_framebuffer_test_init(struct kunit *test) in drm_framebuffer_test_init()
402 static void drm_test_framebuffer_create(struct kunit *test) in drm_test_framebuffer_create()
422 static void drm_test_framebuffer_modifiers_not_supported(struct kunit *test) in drm_test_framebuffer_modifiers_not_supported()
476 static void drm_test_framebuffer_check_src_coords(struct kunit *test) in drm_test_framebuffer_check_src_coords()
508 static void drm_test_framebuffer_cleanup(struct kunit *test) in drm_test_framebuffer_cleanup()
538 static void drm_test_framebuffer_lookup(struct kunit *test) in drm_test_framebuffer_lookup()
561 static void drm_test_framebuffer_lookup_inexistent(struct kunit *test) in drm_test_framebuffer_lookup_inexistent()
578 static void drm_test_framebuffer_init(struct kunit *test) in drm_test_framebuffer_init()
611 static void drm_test_framebuffer_init_bad_format(struct kunit *test) in drm_test_framebuffer_init_bad_format()
629 static void drm_test_framebuffer_init_dev_mismatch(struct kunit *test) in drm_test_framebuffer_init_dev_mismatch()
[all …]
/linux-6.14.4/tools/testing/selftests/powerpc/vphn/
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
/linux-6.14.4/drivers/iio/test/
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()
Diio-test-gts.c99 static struct device *__test_init_iio_gain_scale(struct kunit *test, in __test_init_iio_gain_scale()
121 #define test_init_iio_gain_scale(test, gts) \ argument
126 static void test_init_iio_gts_invalid(struct kunit *test) in test_init_iio_gts_invalid()
174 static void test_iio_gts_find_gain_for_scale_using_time(struct kunit *test) in test_iio_gts_find_gain_for_scale_using_time()
235 static void test_iio_gts_find_new_gain_sel_by_old_gain_time(struct kunit *test) in test_iio_gts_find_new_gain_sel_by_old_gain_time()
305 static void test_iio_find_closest_gain_low(struct kunit *test) in test_iio_find_closest_gain_low()
350 static void test_iio_gts_total_gain_to_scale(struct kunit *test) in test_iio_gts_total_gain_to_scale()
376 static void test_iio_gts_chk_times(struct kunit *test, const int *vals) in test_iio_gts_chk_times()
385 static void test_iio_gts_chk_scales_all(struct kunit *test, struct iio_gts *gts, in test_iio_gts_chk_scales_all()
412 static void test_iio_gts_chk_scales_t200(struct kunit *test, struct iio_gts *gts, in test_iio_gts_chk_scales_t200()
[all …]
/linux-6.14.4/lib/
Dmemcpy_kunit.c50 static void memcpy_test(struct kunit *test) in memcpy_test()
110 static void memmove_test(struct kunit *test) in memmove_test()
207 static void memset_test(struct kunit *test) in memset_test()
299 static void set_random_nonzero(struct kunit *test, u8 *byte) in set_random_nonzero()
310 static void init_large(struct kunit *test) in init_large()
327 static void copy_large_test(struct kunit *test, bool use_memmove) in copy_large_test()
366 static void memcpy_large_test(struct kunit *test) in memcpy_large_test()
371 static void memmove_large_test(struct kunit *test) in memmove_large_test()
395 static void inner_loop(struct kunit *test, int bytes, int d_off, int s_off) in inner_loop()
458 static void memmove_overlap_test(struct kunit *test) in memmove_overlap_test()
Dcmdline_kunit.c41 static void cmdline_do_one_test(struct kunit *test, const char *in, int rc, int offset) in cmdline_do_one_test()
54 static void cmdline_test_noint(struct kunit *test) in cmdline_test_noint()
69 static void cmdline_test_lead_int(struct kunit *test) in cmdline_test_lead_int()
86 static void cmdline_test_tail_int(struct kunit *test) in cmdline_test_tail_int()
107 static void cmdline_do_one_range_test(struct kunit *test, const char *in, in cmdline_do_one_range_test()
130 static void cmdline_test_range(struct kunit *test) in cmdline_test_range()
Dkunit_iov_iter.c48 static void *__init iov_kunit_create_buffer(struct kunit *test, in iov_kunit_create_buffer()
73 static void __init iov_kunit_load_kvec(struct kunit *test, in iov_kunit_load_kvec()
99 static void __init iov_kunit_copy_to_kvec(struct kunit *test) in iov_kunit_copy_to_kvec()
149 static void __init iov_kunit_copy_from_kvec(struct kunit *test) in iov_kunit_copy_from_kvec()
217 static void __init iov_kunit_load_bvec(struct kunit *test, in iov_kunit_load_bvec()
258 static void __init iov_kunit_copy_to_bvec(struct kunit *test) in iov_kunit_copy_to_bvec()
312 static void __init iov_kunit_copy_from_bvec(struct kunit *test) in iov_kunit_copy_from_bvec()
379 static void __init iov_kunit_load_folioq(struct kunit *test, in iov_kunit_load_folioq()
402 static struct folio_queue *iov_kunit_create_folioq(struct kunit *test) in iov_kunit_create_folioq()
416 static void __init iov_kunit_copy_to_folioq(struct kunit *test) in iov_kunit_copy_to_folioq()
[all …]
Dtest_bits.c10 static void genmask_test(struct kunit *test) in genmask_test()
27 static void genmask_ull_test(struct kunit *test) in genmask_ull_test()
42 static void genmask_u128_test(struct kunit *test) in genmask_u128_test()
72 static void genmask_input_check_test(struct kunit *test) in genmask_input_check_test()
Dtest_fprobe.c76 static void test_fprobe_entry(struct kunit *test) in test_fprobe_entry()
103 static void test_fprobe(struct kunit *test) in test_fprobe()
128 static void test_fprobe_syms(struct kunit *test) in test_fprobe_syms()
155 static void test_fprobe_data(struct kunit *test) in test_fprobe_data()
171 static void test_fprobe_skip(struct kunit *test) in test_fprobe_skip()
203 static int fprobe_test_init(struct kunit *test) in fprobe_test_init()
Dtest_kprobes.c61 static void test_kprobe(struct kunit *test) in test_kprobe()
122 static void test_kprobes(struct kunit *test) in test_kprobes()
155 static void test_kprobe_missed(struct kunit *test) in test_kprobe_missed()
199 static void test_kretprobe(struct kunit *test) in test_kretprobe()
224 static void test_kretprobes(struct kunit *test) in test_kretprobes()
288 static void test_stacktrace_on_kretprobe(struct kunit *test) in test_stacktrace_on_kretprobe()
349 static void test_stacktrace_on_nested_kretprobe(struct kunit *test) in test_stacktrace_on_nested_kretprobe()
368 static int kprobes_test_init(struct kunit *test) in kprobes_test_init()
/linux-6.14.4/drivers/clk/
Dclk-fixed-rate_test.c84 clk_hw_register_fixed_rate_kunit(struct kunit *test, in clk_hw_register_fixed_rate_kunit()
109 static int clk_hw_unregister_fixed_rate_kunit(struct kunit *test, struct clk_hw *hw) in clk_hw_unregister_fixed_rate_kunit()
123 static void clk_fixed_rate_rate_test(struct kunit *test) in clk_fixed_rate_rate_test()
143 static void clk_fixed_rate_accuracy_test(struct kunit *test) in clk_fixed_rate_accuracy_test()
176 static void clk_fixed_rate_parent_test(struct kunit *test) in clk_fixed_rate_parent_test()
207 static void clk_fixed_rate_parent_rate_test(struct kunit *test) in clk_fixed_rate_parent_rate_test()
237 static void clk_fixed_rate_parent_accuracy_test(struct kunit *test) in clk_fixed_rate_parent_accuracy_test()
296 static void clk_fixed_rate_of_probe_test(struct kunit *test) in clk_fixed_rate_of_probe_test()
313 static void clk_fixed_rate_of_accuracy_test(struct kunit *test) in clk_fixed_rate_of_accuracy_test()
342 static int clk_fixed_rate_of_init(struct kunit *test) in clk_fixed_rate_of_init()
/linux-6.14.4/include/kunit/
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()
/linux-6.14.4/drivers/firewire/
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()
/linux-6.14.4/drivers/gpu/drm/xe/tests/
Dxe_bo.c26 struct kunit *test) in ccs_test_migrate()
127 struct kunit *test) in ccs_test_run_tile()
172 struct kunit *test = kunit_get_current_test(); in ccs_test_run_device() local
201 static void xe_ccs_migrate_kunit(struct kunit *test) in xe_ccs_migrate_kunit()
208 static int evict_test_run_tile(struct xe_device *xe, struct xe_tile *tile, struct kunit *test) in evict_test_run_tile()
348 struct kunit *test = kunit_get_current_test(); in evict_test_run_device() local
367 static void xe_bo_evict_kunit(struct kunit *test) in xe_bo_evict_kunit()
404 static bool shrink_test_verify(struct kunit *test, struct xe_bo *bo, in shrink_test_verify()
446 struct kunit *test = kunit_get_current_test(); in shrink_test_run_device() local
598 static void xe_bo_shrink_kunit(struct kunit *test) in xe_bo_shrink_kunit()
Dxe_mocs.c26 struct kunit *test = kunit_get_current_test(); in live_mocs_init() local
44 struct kunit *test = kunit_get_current_test(); in read_l3cc_table() local
80 struct kunit *test = kunit_get_current_test(); in read_mocs_table() local
135 static void xe_live_mocs_kernel_kunit(struct kunit *test) in xe_live_mocs_kernel_kunit()
153 struct kunit *test = kunit_get_current_test(); in mocs_reset_test_run_device() local
179 static void xe_live_mocs_reset_kunit(struct kunit *test) in xe_live_mocs_reset_kunit()
Dxe_pci_test.c19 struct kunit *test = kunit_get_current_test(); in check_graphics_ip() local
33 struct kunit *test = kunit_get_current_test(); in check_media_ip() local
45 static void xe_gmdid_graphics_ip(struct kunit *test) in xe_gmdid_graphics_ip()
50 static void xe_gmdid_media_ip(struct kunit *test) in xe_gmdid_media_ip()
Dxe_kunit_helpers.c33 struct xe_device *xe_kunit_helper_alloc_xe_device(struct kunit *test, in xe_kunit_helper_alloc_xe_device()
48 struct kunit *test = kunit_get_current_test(); in kunit_action_restore_priv() local
71 int xe_kunit_helper_xe_device_test_init(struct kunit *test) in xe_kunit_helper_xe_device_test_init()
115 int xe_kunit_helper_xe_device_live_test_init(struct kunit *test) in xe_kunit_helper_xe_device_live_test_init()
/linux-6.14.4/kernel/
Dresource_kunit.c85 static void resource_do_test(struct kunit *test, bool ret, struct resource *r, in resource_do_test()
94 static void resource_do_union_test(struct kunit *test, struct result *r) in resource_do_union_test()
108 static void resource_test_union(struct kunit *test) in resource_test_union()
118 static void resource_do_intersection_test(struct kunit *test, struct result *r) in resource_do_intersection_test()
132 static void resource_test_intersection(struct kunit *test) in resource_test_intersection()
183 struct kunit *test, void (*action)(void *), void *ctx) in resource_test_add_action_or_abort()
190 static void resource_test_request_region(struct kunit *test, struct resource *parent, in resource_test_request_region()
201 static void resource_test_insert_resource(struct kunit *test, struct resource *parent, in resource_test_insert_resource()
222 static void resource_test_region_intersects(struct kunit *test) in resource_test_region_intersects()
/linux-6.14.4/lib/kunit/
Dplatform-test.c14 static void kunit_platform_device_alloc_test(struct kunit *test) in kunit_platform_device_alloc_test()
24 static void kunit_platform_device_add_test(struct kunit *test) in kunit_platform_device_add_test()
43 static void kunit_platform_device_add_twice_fails_test(struct kunit *test) in kunit_platform_device_add_twice_fails_test()
67 static void kunit_platform_device_add_cleans_up(struct kunit *test) in kunit_platform_device_add_cleans_up()
146 static void kunit_platform_driver_register_test(struct kunit *test) in kunit_platform_driver_register_test()
175 …void kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed(struct kunit *test) in kunit_platform_device_prepare_wait_for_probe_completes_when_already_probed()
/linux-6.14.4/drivers/base/test/
Dproperty-entry-test.c10 static void pe_test_uints(struct kunit *test) in pe_test_uints()
117 static void pe_test_uint_arrays(struct kunit *test) in pe_test_uint_arrays()
252 static void pe_test_strings(struct kunit *test) in pe_test_strings()
324 static void pe_test_bool(struct kunit *test) in pe_test_bool()
343 static void pe_test_move_inline_u8(struct kunit *test) in pe_test_move_inline_u8()
373 static void pe_test_move_inline_str(struct kunit *test) in pe_test_move_inline_str()
406 static void pe_test_reference(struct kunit *test) in pe_test_reference()

12345678910>>...20