/Linux-v6.6/drivers/gpu/drm/tests/ |
D | drm_buddy_test.c | 46 static void __dump_block(struct kunit *test, struct drm_buddy *mm, in __dump_block() 55 static void dump_block(struct kunit *test, struct drm_buddy *mm, in dump_block() 67 static int check_block(struct kunit *test, struct drm_buddy *mm, in check_block() 141 static int check_blocks(struct kunit *test, struct drm_buddy *mm, in check_blocks() 203 static int check_mm(struct kunit *test, struct drm_buddy *mm) in check_mm() 325 static void drm_test_buddy_alloc_pathological(struct kunit *test) in drm_test_buddy_alloc_pathological() 406 static void drm_test_buddy_alloc_smoke(struct kunit *test) in drm_test_buddy_alloc_smoke() 496 static void drm_test_buddy_alloc_pessimistic(struct kunit *test) in drm_test_buddy_alloc_pessimistic() 591 static void drm_test_buddy_alloc_optimistic(struct kunit *test) in drm_test_buddy_alloc_optimistic() 637 static void drm_test_buddy_alloc_range(struct kunit *test) in drm_test_buddy_alloc_range() [all …]
|
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() 69 static void drm_test_modes_analog_tv_ntsc_480i_inlined(struct kunit *test) in drm_test_modes_analog_tv_ntsc_480i_inlined() 86 static void drm_test_modes_analog_tv_pal_576i(struct kunit *test) in drm_test_modes_analog_tv_pal_576i() 116 static void drm_test_modes_analog_tv_pal_576i_inlined(struct kunit *test) in drm_test_modes_analog_tv_pal_576i_inlined()
|
D | drm_format_helper_test.c | 453 static u16 *le16buf_to_cpu(struct kunit *test, const __le16 *buf, size_t buf_size) in le16buf_to_cpu() 468 static u32 *le32buf_to_cpu(struct kunit *test, const __le32 *buf, size_t buf_size) in le32buf_to_cpu() 483 static __le32 *cpubuf_to_le32(struct kunit *test, const u32 *buf, size_t buf_size) in cpubuf_to_le32() 507 static void drm_test_fb_xrgb8888_to_gray8(struct kunit *test) in drm_test_fb_xrgb8888_to_gray8() 537 static void drm_test_fb_xrgb8888_to_rgb332(struct kunit *test) in drm_test_fb_xrgb8888_to_rgb332() 567 static void drm_test_fb_xrgb8888_to_rgb565(struct kunit *test) in drm_test_fb_xrgb8888_to_rgb565() 603 static void drm_test_fb_xrgb8888_to_xrgb1555(struct kunit *test) in drm_test_fb_xrgb8888_to_xrgb1555() 634 static void drm_test_fb_xrgb8888_to_argb1555(struct kunit *test) in drm_test_fb_xrgb8888_to_argb1555() 665 static void drm_test_fb_xrgb8888_to_rgba5551(struct kunit *test) in drm_test_fb_xrgb8888_to_rgba5551() 696 static void drm_test_fb_xrgb8888_to_rgb888(struct kunit *test) in drm_test_fb_xrgb8888_to_rgb888() [all …]
|
D | drm_kunit_helpers.c | 67 struct device *drm_kunit_helper_alloc_device(struct kunit *test) in drm_kunit_helper_alloc_device() 107 void drm_kunit_helper_free_device(struct kunit *test, struct device *dev) in drm_kunit_helper_free_device() 126 __drm_kunit_helper_alloc_drm_device_with_driver(struct kunit *test, in __drm_kunit_helper_alloc_drm_device_with_driver() 171 drm_kunit_helper_acquire_ctx_alloc(struct kunit *test) in drm_kunit_helper_acquire_ctx_alloc() 213 drm_kunit_helper_atomic_state_alloc(struct kunit *test, in drm_kunit_helper_atomic_state_alloc()
|
/Linux-v6.6/lib/ |
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()
|
D | test_kprobes.c | 61 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()
|
D | test_fprobe.c | 99 static void test_fprobe_entry(struct kunit *test) in test_fprobe_entry() 126 static void test_fprobe(struct kunit *test) in test_fprobe() 151 static void test_fprobe_syms(struct kunit *test) in test_fprobe_syms() 178 static void test_fprobe_data(struct kunit *test) in test_fprobe_data() 195 static void test_fprobe_nest(struct kunit *test) in test_fprobe_nest() 213 static void test_fprobe_skip(struct kunit *test) in test_fprobe_skip() 245 static int fprobe_test_init(struct kunit *test) in fprobe_test_init()
|
D | kunit_iov_iter.c | 47 static void *__init iov_kunit_create_buffer(struct kunit *test, in iov_kunit_create_buffer() 72 static void __init iov_kunit_load_kvec(struct kunit *test, in iov_kunit_load_kvec() 98 static void __init iov_kunit_copy_to_kvec(struct kunit *test) in iov_kunit_copy_to_kvec() 148 static void __init iov_kunit_copy_from_kvec(struct kunit *test) in iov_kunit_copy_from_kvec() 216 static void __init iov_kunit_load_bvec(struct kunit *test, in iov_kunit_load_bvec() 257 static void __init iov_kunit_copy_to_bvec(struct kunit *test) in iov_kunit_copy_to_bvec() 311 static void __init iov_kunit_copy_from_bvec(struct kunit *test) in iov_kunit_copy_from_bvec() 373 static void __init iov_kunit_load_xarray(struct kunit *test, in iov_kunit_load_xarray() 390 static struct xarray *iov_kunit_create_xarray(struct kunit *test) in iov_kunit_create_xarray() 404 static void __init iov_kunit_copy_to_xarray(struct kunit *test) in iov_kunit_copy_to_xarray() [all …]
|
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 | test_bits.c | 10 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_input_check_test(struct kunit *test) in genmask_input_check_test()
|
D | overflow_kunit.c | 358 static void shift_sane_test(struct kunit *test) in shift_sane_test() 407 static void shift_overflow_test(struct kunit *test) in shift_overflow_test() 461 static void shift_truncate_test(struct kunit *test) in shift_truncate_test() 499 static void shift_nonsense_test(struct kunit *test) in shift_nonsense_test() 609 static void overflow_allocation_test(struct kunit *test) in overflow_allocation_test() 649 static void overflow_size_helpers_test(struct kunit *test) in overflow_size_helpers_test() 739 static void overflows_type_test(struct kunit *test) in overflows_type_test() 951 static void same_type_test(struct kunit *test) in same_type_test() 1026 static void castable_to_type_test(struct kunit *test) in castable_to_type_test()
|
D | strcat_kunit.c | 13 static void strcat_test(struct kunit *test) in strcat_test() 32 static void strncat_test(struct kunit *test) in strncat_test() 59 static void strlcat_test(struct kunit *test) in strlcat_test()
|
D | fortify_kunit.c | 28 static void known_sizes_test(struct kunit *test) in known_sizes_test() 61 static void control_flow_split_test(struct kunit *test) in control_flow_split_test() 66 #define KUNIT_EXPECT_BOS(test, p, expected, name) \ argument 72 #define KUNIT_EXPECT_BDOS(test, p, expected, name) \ argument 76 #define KUNIT_EXPECT_BDOS(test, p, expected, name) \ argument
|
/Linux-v6.6/drivers/base/test/ |
D | property-entry-test.c | 10 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()
|
D | platform-device-test.c | 18 static int platform_device_devm_init(struct kunit *test) in platform_device_devm_init() 55 static void platform_device_devm_register_unregister_test(struct kunit *test) in platform_device_devm_register_unregister_test() 84 static void platform_device_devm_register_get_unregister_with_devm_test(struct kunit *test) in platform_device_devm_register_get_unregister_with_devm_test() 131 static void probed_platform_device_devm_register_unregister_test(struct kunit *test) in probed_platform_device_devm_register_unregister_test() 170 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()
|
/Linux-v6.6/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-v6.6/tools/build/feature/ |
D | test-clang-bpf-co-re.c | 4 struct test { struct 9 volatile struct test global_value_for_test = {}; argument
|
/Linux-v6.6/lib/kunit/ |
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 | string-stream-test.c | 14 static void string_stream_test_empty_on_creation(struct kunit *test) in string_stream_test_empty_on_creation() 21 static void string_stream_test_not_empty_after_add(struct kunit *test) in string_stream_test_not_empty_after_add() 30 static void string_stream_test_get_string(struct kunit *test) in string_stream_test_get_string()
|
/Linux-v6.6/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-v6.6/drivers/fpga/tests/ |
D | fpga-mgr-test.c | 54 static char *init_test_buffer(struct kunit *test, size_t count) in init_test_buffer() 192 static void fpga_mgr_test_get(struct kunit *test) in fpga_mgr_test_get() 203 static void fpga_mgr_test_lock(struct kunit *test) in fpga_mgr_test_lock() 218 static void fpga_mgr_test_img_load_buf(struct kunit *test) in fpga_mgr_test_img_load_buf() 246 static void fpga_mgr_test_img_load_sgt(struct kunit *test) in fpga_mgr_test_img_load_sgt() 280 static int fpga_mgr_test_init(struct kunit *test) in fpga_mgr_test_init() 302 static void fpga_mgr_test_exit(struct kunit *test) in fpga_mgr_test_exit()
|
/Linux-v6.6/kernel/ |
D | resource_kunit.c | 83 static void resource_do_test(struct kunit *test, bool ret, struct resource *r, in resource_do_test() 92 static void resource_do_union_test(struct kunit *test, struct result *r) in resource_do_union_test() 106 static void resource_test_union(struct kunit *test) in resource_test_union() 116 static void resource_do_intersection_test(struct kunit *test, struct result *r) in resource_do_intersection_test() 130 static void resource_test_intersection(struct kunit *test) in resource_test_intersection()
|
/Linux-v6.6/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() 140 static int __build_mock(struct kunit *test, struct drm_device *drm, in __build_mock() 163 static struct vc4_dev *__mock_device(struct kunit *test, bool is_vc5) in __mock_device() 204 struct vc4_dev *vc4_mock_device(struct kunit *test) in vc4_mock_device() 209 struct vc4_dev *vc5_mock_device(struct kunit *test) in vc5_mock_device()
|
/Linux-v6.6/tools/testing/selftests/kvm/s390x/ |
D | tprot.c | 72 struct test { struct 79 * We perform each test in the array by executing TEST PROTECTION on argument
|