/linux-6.14.4/lib/ |
D | test_objpool.c | 64 struct ot_test *test; /* test parameters */ member 85 static void *ot_kzalloc(struct ot_test *test, long size) in ot_kzalloc() 94 static void ot_kfree(struct ot_test *test, void *ptr, long size) in ot_kfree() 102 static void ot_mem_report(struct ot_test *test) in ot_mem_report() 128 struct ot_test *test; /* test parameters */ member 159 struct ot_test *test = item->test; in ot_hrtimer_handler() local 199 struct ot_test *test, in ot_init_cpu_item() 220 struct ot_test *test = item->test; in ot_thread_worker() local 242 static void ot_perf_report(struct ot_test *test, u64 duration) in ot_perf_report() 285 static struct ot_context *ot_init_sync_m0(struct ot_test *test) in ot_init_sync_m0() [all …]
|
D | string_helpers_kunit.c | 14 static void test_string_check_buf(struct kunit *test, in test_string_check_buf() 54 static void test_string_unescape(struct kunit *test, in test_string_unescape() 395 test_string_escape_overflow(struct kunit *test, in test_string_escape_overflow() 405 static void test_string_escape(struct kunit *test, const char *name, in test_string_escape() 470 static void test_string_get_size_check(struct kunit *test, in test_string_get_size_check() 496 static void __test_string_get_size_one(struct kunit *test, in __test_string_get_size_one() 523 static void __test_string_get_size(struct kunit *test, in __test_string_get_size() 546 static void test_get_size(struct kunit *test) in test_get_size() 566 static void test_upper_lower(struct kunit *test) in test_upper_lower() 596 static void test_unescape(struct kunit *test) in test_unescape()
|
D | checksum_kunit.c | 469 static void assert_setup_correct(struct kunit *test) in assert_setup_correct() 479 static void test_csum_fixed_random_inputs(struct kunit *test) in test_csum_fixed_random_inputs() 505 static void test_csum_all_carry_inputs(struct kunit *test) in test_csum_all_carry_inputs() 545 static void test_csum_no_carry_inputs(struct kunit *test) in test_csum_no_carry_inputs() 575 static void test_ip_fast_csum(struct kunit *test) in test_ip_fast_csum() 592 static void test_csum_ipv6_magic(struct kunit *test) in test_csum_ipv6_magic()
|
D | test_hash.c | 72 test_int__hash_32(struct kunit *test, struct test_hash_params *params) in test_int__hash_32() 85 test_int_hash_64(struct kunit *test, struct test_hash_params *params, u32 const *m, int *k) in test_int_hash_64() 110 test_int_hash(struct kunit *test, unsigned long long h64, u32 hash_or[2][33]) in test_int_hash() 144 static void test_string_or(struct kunit *test) in test_string_or() 169 static void test_hash_or(struct kunit *test) in test_hash_or()
|
D | usercopy_kunit.c | 46 static void usercopy_test_check_nonzero_user(struct kunit *test) in usercopy_test_check_nonzero_user() 105 static void usercopy_test_copy_struct_from_user(struct kunit *test) in usercopy_test_copy_struct_from_user() 176 static void usercopy_test_valid(struct kunit *test) in usercopy_test_valid() 217 static void usercopy_test_invalid(struct kunit *test) in usercopy_test_invalid() 288 static int usercopy_test_init(struct kunit *test) in usercopy_test_init()
|
/linux-6.14.4/drivers/base/test/ |
D | platform-device-test.c | 21 static int platform_device_devm_init(struct kunit *test) in platform_device_devm_init() 58 static void platform_device_devm_register_unregister_test(struct kunit *test) in platform_device_devm_register_unregister_test() 87 static void platform_device_devm_register_get_unregister_with_devm_test(struct kunit *test) in platform_device_devm_register_get_unregister_with_devm_test() 134 static void probed_platform_device_devm_register_unregister_test(struct kunit *test) in probed_platform_device_devm_register_unregister_test() 173 static void probed_platform_device_devm_register_get_unregister_with_devm_test(struct kunit *test) in probed_platform_device_devm_register_get_unregister_with_devm_test() 223 static void platform_device_find_by_null_test(struct kunit *test) in platform_device_find_by_null_test()
|
/linux-6.14.4/drivers/fpga/tests/ |
D | fpga-bridge-test.c | 57 static struct bridge_ctx *register_test_bridge(struct kunit *test, const char *dev_name) in register_test_bridge() 78 static void fpga_bridge_test_get(struct kunit *test) in fpga_bridge_test_get() 92 static void fpga_bridge_test_toggle(struct kunit *test) in fpga_bridge_test_toggle() 107 static void fpga_bridge_test_get_put_list(struct kunit *test) in fpga_bridge_test_get_put_list() 151 static int fpga_bridge_test_init(struct kunit *test) in fpga_bridge_test_init()
|
/linux-6.14.4/tools/testing/selftests/kvm/ |
D | system_counter_offset_test.c | 36 static void setup_system_counter(struct kvm_vcpu *vcpu, struct test_case *test) in setup_system_counter() 42 static uint64_t guest_read_system_counter(struct test_case *test) in guest_read_system_counter() 47 static uint64_t host_read_guest_system_counter(struct test_case *test) in host_read_guest_system_counter() 66 struct test_case *test = &test_cases[i]; in guest_main() local 96 struct test_case *test = &test_cases[i]; in enter_guest() local
|
/linux-6.14.4/include/kunit/ |
D | of.h | 16 void of_node_put_kunit(struct kunit *test, struct device_node *node) in of_node_put_kunit() 30 of_overlay_fdt_apply_kunit(struct kunit *test, void *overlay_fdt, in of_overlay_fdt_apply_kunit() 54 static inline int __of_overlay_apply_kunit(struct kunit *test, in __of_overlay_apply_kunit() 112 #define of_overlay_apply_kunit(test, overlay_name) \ argument
|
/linux-6.14.4/lib/kunit/ |
D | device.c | 82 struct device_driver *kunit_driver_create(struct kunit *test, const char *name) in kunit_driver_create() 108 static struct kunit_device *kunit_device_register_internal(struct kunit *test, in kunit_device_register_internal() 149 struct device *kunit_device_register_with_driver(struct kunit *test, in kunit_device_register_with_driver() 166 struct device *kunit_device_register(struct kunit *test, const char *name) in kunit_device_register() 190 void kunit_device_unregister(struct kunit *test, struct device *dev) in kunit_device_unregister()
|
D | static_stub.c | 26 static bool __kunit_static_stub_resource_match(struct kunit *test, in __kunit_static_stub_resource_match() 41 void *__kunit_get_static_stub_address_impl(struct kunit *test, void *real_fn_addr) in __kunit_get_static_stub_address_impl() 60 void kunit_deactivate_static_stub(struct kunit *test, void *real_fn_addr) in kunit_deactivate_static_stub() 87 void __kunit_activate_static_stub(struct kunit *test, in __kunit_activate_static_stub()
|
D | platform.c | 51 kunit_platform_device_alloc(struct kunit *test, const char *name, int id) in kunit_platform_device_alloc() 73 kunit_platform_device_alloc_match(struct kunit *test, in kunit_platform_device_alloc_match() 93 int kunit_platform_device_add(struct kunit *test, struct platform_device *pdev) in kunit_platform_device_add() 203 int kunit_platform_device_prepare_wait_for_probe(struct kunit *test, in kunit_platform_device_prepare_wait_for_probe() 291 int kunit_platform_driver_register(struct kunit *test, in kunit_platform_driver_register()
|
/linux-6.14.4/drivers/gpu/drm/tests/ |
D | drm_buddy_test.c | 24 static void drm_test_buddy_alloc_range_bias(struct kunit *test) in drm_test_buddy_alloc_range_bias() 261 static void drm_test_buddy_alloc_clear(struct kunit *test) in drm_test_buddy_alloc_clear() 403 static void drm_test_buddy_alloc_contiguous(struct kunit *test) in drm_test_buddy_alloc_contiguous() 489 static void drm_test_buddy_alloc_pathological(struct kunit *test) in drm_test_buddy_alloc_pathological() 570 static void drm_test_buddy_alloc_pessimistic(struct kunit *test) in drm_test_buddy_alloc_pessimistic() 665 static void drm_test_buddy_alloc_optimistic(struct kunit *test) in drm_test_buddy_alloc_optimistic() 711 static void drm_test_buddy_alloc_limit(struct kunit *test) in drm_test_buddy_alloc_limit()
|
D | drm_format_helper_test.c | 554 static u16 *le16buf_to_cpu(struct kunit *test, const __le16 *buf, size_t buf_size) in le16buf_to_cpu() 569 static u32 *le32buf_to_cpu(struct kunit *test, const __le32 *buf, size_t buf_size) in le32buf_to_cpu() 584 static __le32 *cpubuf_to_le32(struct kunit *test, const u32 *buf, size_t buf_size) in cpubuf_to_le32() 608 static void drm_test_fb_xrgb8888_to_gray8(struct kunit *test) in drm_test_fb_xrgb8888_to_gray8() 641 static void drm_test_fb_xrgb8888_to_rgb332(struct kunit *test) in drm_test_fb_xrgb8888_to_rgb332() 674 static void drm_test_fb_xrgb8888_to_rgb565(struct kunit *test) in drm_test_fb_xrgb8888_to_rgb565() 728 static void drm_test_fb_xrgb8888_to_xrgb1555(struct kunit *test) in drm_test_fb_xrgb8888_to_xrgb1555() 775 static void drm_test_fb_xrgb8888_to_argb1555(struct kunit *test) in drm_test_fb_xrgb8888_to_argb1555() 822 static void drm_test_fb_xrgb8888_to_rgba5551(struct kunit *test) in drm_test_fb_xrgb8888_to_rgba5551() 869 static void drm_test_fb_xrgb8888_to_rgb888(struct kunit *test) in drm_test_fb_xrgb8888_to_rgb888() [all …]
|
/linux-6.14.4/net/wireless/tests/ |
D | fragmentation.c | 11 static void defragment_0(struct kunit *test) in defragment_0() 41 static void defragment_1(struct kunit *test) in defragment_1() 84 static void defragment_2(struct kunit *test) in defragment_2() 133 static void defragment_at_end(struct kunit *test) in defragment_at_end()
|
/linux-6.14.4/fs/ext4/ |
D | mballoc-test.c | 345 static int mbt_kunit_init(struct kunit *test) in mbt_kunit_init() 388 static void mbt_kunit_exit(struct kunit *test) in mbt_kunit_exit() 397 static void test_new_blocks_simple(struct kunit *test) in test_new_blocks_simple() 482 validate_free_blocks_simple(struct kunit *test, struct super_block *sb, in validate_free_blocks_simple() 509 test_free_blocks_simple_range(struct kunit *test, ext4_group_t goal_group, in test_free_blocks_simple_range() 532 static void test_free_blocks_simple(struct kunit *test) in test_free_blocks_simple() 549 test_mark_diskspace_used_range(struct kunit *test, in test_mark_diskspace_used_range() 581 static void test_mark_diskspace_used(struct kunit *test) in test_mark_diskspace_used() 672 mbt_validate_group_info(struct kunit *test, struct ext4_group_info *grp1, in mbt_validate_group_info() 696 do_test_generate_buddy(struct kunit *test, struct super_block *sb, void *bitmap, in do_test_generate_buddy() [all …]
|
/linux-6.14.4/tools/build/feature/ |
D | test-clang-bpf-co-re.c | 4 struct test { struct 9 volatile struct test global_value_for_test = {}; argument
|
/linux-6.14.4/drivers/gpu/drm/ttm/tests/ |
D | ttm_device_test.c | 18 static void ttm_device_init_basic(struct kunit *test) in ttm_device_init_basic() 47 static void ttm_device_init_multiple(struct kunit *test) in ttm_device_init_multiple() 74 static void ttm_device_fini_basic(struct kunit *test) in ttm_device_fini_basic() 97 static void ttm_device_init_no_vma_man(struct kunit *test) in ttm_device_init_no_vma_man() 153 static void ttm_device_init_pools(struct kunit *test) in ttm_device_init_pools()
|
/linux-6.14.4/drivers/of/ |
D | of_test.c | 16 static void of_dtb_root_node_found_by_path(struct kunit *test) in of_dtb_root_node_found_by_path() 29 static void of_dtb_root_node_populates_of_root(struct kunit *test) in of_dtb_root_node_populates_of_root() 40 static int of_dtb_test_init(struct kunit *test) in of_dtb_test_init() 145 static void of_address_resource_bounds(struct kunit *test) in of_address_resource_bounds()
|
/linux-6.14.4/drivers/gpu/drm/vc4/tests/ |
D | vc4_test_pv_muxing.c | 26 static bool check_fifo_conflict(struct kunit *test, in check_fifo_conflict() 122 get_vc4_crtc_state_for_encoder(struct kunit *test, in get_vc4_crtc_state_for_encoder() 144 static bool check_channel_for_encoder(struct kunit *test, in check_channel_for_encoder() 676 static void drm_vc4_test_pv_muxing(struct kunit *test) in drm_vc4_test_pv_muxing() 705 static void drm_vc4_test_pv_muxing_invalid(struct kunit *test) in drm_vc4_test_pv_muxing_invalid() 724 static int vc4_pv_muxing_test_init(struct kunit *test) in vc4_pv_muxing_test_init() 783 static void drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable(struct kunit *test) in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable() 855 static void drm_test_vc5_pv_muxing_bugs_stable_fifo(struct kunit *test) in drm_test_vc5_pv_muxing_bugs_stable_fifo() 950 drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable_too_many_crtc_state(struct kunit *test) in drm_test_vc5_pv_muxing_bugs_subsequent_crtc_enable_too_many_crtc_state()
|
D | vc4_mock.c | 109 static int __build_one_pipe(struct kunit *test, struct drm_device *drm, in __build_one_pipe() 138 static int __build_mock(struct kunit *test, struct drm_device *drm, in __build_mock() 158 static struct vc4_dev *__mock_device(struct kunit *test, enum vc4_gen gen) in __mock_device() 199 struct vc4_dev *vc4_mock_device(struct kunit *test) in vc4_mock_device() 204 struct vc4_dev *vc5_mock_device(struct kunit *test) in vc5_mock_device()
|
/linux-6.14.4/tools/testing/selftests/kvm/s390/ |
D | tprot.c | 72 struct test { struct 79 * We perform each test in the array by executing TEST PROTECTION on argument
|
/linux-6.14.4/drivers/firewire/ |
D | ohci-serdes-test.c | 13 static void test_self_id_count_register_deserialization(struct kunit *test) in test_self_id_count_register_deserialization() 26 static void test_self_id_receive_buffer_deserialization(struct kunit *test) in test_self_id_receive_buffer_deserialization() 43 static void test_at_data_serdes(struct kunit *test) in test_at_data_serdes() 76 static void test_it_data_serdes(struct kunit *test) in test_it_data_serdes()
|
/linux-6.14.4/drivers/gpu/drm/xe/tests/ |
D | xe_dma_buf.c | 29 static void check_residency(struct kunit *test, struct xe_bo *exported, in check_residency() 110 struct kunit *test = kunit_get_current_test(); in xe_test_dmabuf_import_same_driver() local 261 struct kunit *test = kunit_get_current_test(); in dma_buf_run_device() local 277 static void xe_dma_buf_kunit(struct kunit *test) in xe_dma_buf_kunit()
|
/linux-6.14.4/drivers/misc/ |
D | misc_minor_kunit.c | 25 static void kunit_dynamic_minor(struct kunit *test) in kunit_dynamic_minor() 35 static void kunit_static_minor(struct kunit *test) in kunit_static_minor() 45 static void kunit_misc_dynamic_minor(struct kunit *test) in kunit_misc_dynamic_minor()
|