/linux-6.15/tools/testing/selftests/sched_ext/ |
D | runner.c | 42 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.15/net/handshake/ |
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 …]
|
/linux-6.15/drivers/gpu/drm/tests/ |
D | drm_kunit_helpers.c | 39 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() 105 drm_kunit_helper_atomic_state_alloc(struct kunit *test, in drm_kunit_helper_atomic_state_alloc() 171 drm_kunit_helper_create_primary_plane(struct kunit *test, in drm_kunit_helper_create_primary_plane() 242 drm_kunit_helper_create_crtc(struct kunit *test, in drm_kunit_helper_create_crtc() 294 int drm_kunit_add_mode_destroy_action(struct kunit *test, in drm_kunit_add_mode_destroy_action() 316 drm_kunit_display_mode_from_cea_vic(struct kunit *test, struct drm_device *dev, in drm_kunit_display_mode_from_cea_vic()
|
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()
|
D | drm_modes_test.c | 19 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()
|
D | drm_framebuffer_test.c | 378 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.15/drivers/gpu/drm/ttm/tests/ |
D | ttm_bo_test.c | 59 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 …]
|
D | ttm_pool_test.c | 30 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 …]
|
D | ttm_bo_validate_test.c | 28 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 …]
|
D | ttm_kunit_helpers.c | 170 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.15/drivers/firmware/cirrus/test/ |
D | cs_dsp_test_bin.c | 116 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.15/drivers/input/tests/ |
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()
|
/linux-6.15/net/mctp/test/ |
D | route-test.c | 63 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.15/tools/testing/selftests/powerpc/vphn/ |
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
|
/linux-6.15/drivers/iio/test/ |
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()
|
D | iio-test-gts.c | 99 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.15/drivers/clk/ |
D | clk-fixed-rate_test.c | 84 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.15/lib/tests/ |
D | memcpy_kunit.c | 50 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()
|
D | cmdline_kunit.c | 41 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()
|
/linux-6.15/include/kunit/ |
D | resource.h | 169 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.15/drivers/firewire/ |
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()
|
/linux-6.15/drivers/gpu/drm/xe/tests/ |
D | xe_bo.c | 26 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 602 static void xe_bo_shrink_kunit(struct kunit *test) in xe_bo_shrink_kunit()
|
D | xe_mocs.c | 26 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 83 struct kunit *test = kunit_get_current_test(); in read_mocs_table() local 138 static void xe_live_mocs_kernel_kunit(struct kunit *test) in xe_live_mocs_kernel_kunit() 156 struct kunit *test = kunit_get_current_test(); in mocs_reset_test_run_device() local 182 static void xe_live_mocs_reset_kunit(struct kunit *test) in xe_live_mocs_reset_kunit()
|
/linux-6.15/kernel/ |
D | resource_kunit.c | 85 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.15/lib/kunit/ |
D | platform-test.c | 14 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()
|