/kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
H A D | drm_kunit_helpers.c | 67 struct device *drm_kunit_helper_alloc_device(struct kunit *test) in drm_kunit_helper_alloc_device() argument 107 drm_kunit_helper_free_device(struct kunit *test, struct device *dev) drm_kunit_helper_free_device() argument 126 __drm_kunit_helper_alloc_drm_device_with_driver(struct kunit *test, struct device *dev, size_t size, size_t offset, const struct drm_driver *driver) __drm_kunit_helper_alloc_drm_device_with_driver() argument 171 drm_kunit_helper_acquire_ctx_alloc(struct kunit *test) drm_kunit_helper_acquire_ctx_alloc() argument 213 drm_kunit_helper_atomic_state_alloc(struct kunit *test, struct drm_device *drm, struct drm_modeset_acquire_ctx *ctx) drm_kunit_helper_atomic_state_alloc() argument [all...] |
H A D | drm_exec_test.c | 26 static int drm_exec_test_init(struct kunit *test) in drm_exec_test_init() argument 45 static void sanitycheck(struct kunit *test) in sanitycheck() argument 54 test_lock(struct kunit *test) test_lock() argument 74 test_lock_unlock(struct kunit *test) test_lock_unlock() argument 101 test_duplicates(struct kunit *test) test_duplicates() argument 128 test_prepare(struct kunit *test) test_prepare() argument 150 test_prepare_array(struct kunit *test) test_prepare_array() argument 173 test_multiple_loops(struct kunit *test) test_multiple_loops() argument [all...] |
/kernel/linux/linux-6.6/drivers/input/tests/ |
H A D | input_test.c | 15 static int input_test_init(struct kunit *test) in input_test_init() argument 42 static void input_test_exit(struct kunit *test) in input_test_exit() argument 52 static void input_test_polling(struct kunit *test) in input_test_polling() argument 67 input_test_timestamp(struct kunit *test) input_test_timestamp() argument 87 input_test_match_device_id(struct kunit *test) input_test_match_device_id() argument 133 input_test_grab(struct kunit *test) input_test_grab() argument [all...] |
/kernel/linux/linux-6.6/tools/pci/ |
H A D | pcitest.c | 41 static int run_test(struct pci_test *test) in run_test() argument 160 struct pci_test *test; main() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/x86_64/ |
H A D | mmio_warning_test.c | 53 void test(void) in test() function
|
/kernel/linux/linux-6.6/tools/testing/selftests/mm/ |
H A D | va_high_addr_switch.c | 252 static int run_test(struct testcase *test, int count) in run_test() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/ |
H A D | devlink_port_split.py | 169 def test(cond, msg): function [all...] |
H A D | reuseport_dualstack.c | 128 static void test(int *rcv_fds, int count, int proto) in test() function
|
/kernel/linux/linux-6.6/tools/testing/scatterlist/ |
H A D | main.c | 8 struct test { struct 30 static void fail(struct test *test, struct sg_table *st, const char *cond) in fail() argument 55 struct test *test, tests[] = { main() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | get_cgroup_id_user.c | 35 static int bpf_find_map(const char *test, struct bpf_object *obj, in bpf_find_map() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_skc_cls_ingress.c | 188 struct test { struct
|
/kernel/linux/linux-6.6/tools/testing/selftests/openat2/ |
H A D | resolve_test.c | 446 struct basic_test *test = &tests[i]; in test_openat2_opath_tests() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mm/ |
H A D | exec_prot.c | 108 static int test(void) in test() function
|
H A D | bad_accesses.c | 67 static int test(void) in test() function
|
H A D | pkey_exec_prot.c | 102 static int test(void) in test() function
|
H A D | large_vm_gpr_corruption.c | 104 static int test(void) in test() function
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_list_sort.c | 29 static void check(struct kunit *test, struct debug_el *ela, struct debug_el *elb) in check() argument 58 list_sort_test(struct kunit *test) list_sort_test() argument [all...] |
H A D | checksum_kunit.c | 232 static void assert_setup_correct(struct kunit *test) in assert_setup_correct() argument 245 static void test_csum_fixed_random_inputs(struct kunit *test) in test_csum_fixed_random_inputs() argument 271 static void test_csum_all_carry_inputs(struct kunit *test) in test_csum_all_carry_inputs() argument 311 static void test_csum_no_carry_inputs(struct kunit *test) in test_csum_no_carry_inputs() argument [all...] |
H A D | fortify_kunit.c | 28 static void known_sizes_test(struct kunit *test) in known_sizes_test() argument 61 static void control_flow_split_test(struct kunit *test) in control_flow_split_test() argument [all...] |
H A D | hashtable_test.c | 19 static void hashtable_test_hash_init(struct kunit *test) in hashtable_test_hash_init() argument 34 static void hashtable_test_hash_empty(struct kunit *test) in hashtable_test_hash_empty() argument 49 static void hashtable_test_hash_hashed(struct kunit *test) in hashtable_test_hash_hashed() argument 65 hashtable_test_hash_add(struct kunit *test) hashtable_test_hash_add() argument 95 hashtable_test_hash_del(struct kunit *test) hashtable_test_hash_del() argument 123 hashtable_test_hash_for_each(struct kunit *test) hashtable_test_hash_for_each() argument 152 hashtable_test_hash_for_each_safe(struct kunit *test) hashtable_test_hash_for_each_safe() argument 185 hashtable_test_hash_for_each_possible(struct kunit *test) hashtable_test_hash_for_each_possible() argument 239 hashtable_test_hash_for_each_possible_safe(struct kunit *test) hashtable_test_hash_for_each_possible_safe() argument [all...] |
H A 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() argument 54 static void cmdline_test_noint(struct kunit *test) in cmdline_test_noint() argument 69 static void cmdline_test_lead_int(struct kunit *test) in cmdline_test_lead_int() argument 86 static void cmdline_test_tail_int(struct kunit *test) in cmdline_test_tail_int() argument 107 cmdline_do_one_range_test(struct kunit *test, const char *in, unsigned int n, const int *e) cmdline_do_one_range_test() argument 130 cmdline_test_range(struct kunit *test) cmdline_test_range() argument [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | sysctl-test.c | 16 static void sysctl_test_api_dointvec_null_tbl_data(struct kunit *test) in sysctl_test_api_dointvec_null_tbl_data() argument 66 static void sysctl_test_api_dointvec_table_maxlen_unset(struct kunit *test) in sysctl_test_api_dointvec_table_maxlen_unset() argument 112 sysctl_test_api_dointvec_table_len_is_zero(struct kunit *test) sysctl_test_api_dointvec_table_len_is_zero() argument 145 sysctl_test_api_dointvec_table_read_but_position_set( struct kunit *test) sysctl_test_api_dointvec_table_read_but_position_set() argument 181 sysctl_test_dointvec_read_happy_single_positive(struct kunit *test) sysctl_test_dointvec_read_happy_single_positive() argument 212 sysctl_test_dointvec_read_happy_single_negative(struct kunit *test) sysctl_test_dointvec_read_happy_single_negative() argument 241 sysctl_test_dointvec_write_happy_single_positive(struct kunit *test) sysctl_test_dointvec_write_happy_single_positive() argument 272 sysctl_test_dointvec_write_happy_single_negative(struct kunit *test) sysctl_test_dointvec_write_happy_single_negative() argument 303 sysctl_test_api_dointvec_write_single_less_int_min( struct kunit *test) sysctl_test_api_dointvec_write_single_less_int_min() argument 341 sysctl_test_api_dointvec_write_single_greater_int_max( struct kunit *test) sysctl_test_api_dointvec_write_single_greater_int_max() argument [all...] |
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | kunit-example-test.c | 22 static void example_simple_test(struct kunit *test) in example_simple_test() argument 37 example_test_init(struct kunit *test) example_test_init() argument 48 example_test_exit(struct kunit *test) example_test_exit() argument 78 example_skip_test(struct kunit *test) example_skip_test() argument 93 example_mark_skipped_test(struct kunit *test) example_mark_skipped_test() argument 108 example_all_expect_macros_test(struct kunit *test) example_all_expect_macros_test() argument 174 example_static_stub_test(struct kunit *test) example_static_stub_test() argument 208 example_params_test(struct kunit *test) example_params_test() argument 226 example_slow_test(struct kunit *test) example_slow_test() argument [all...] |
H A D | resource.c | 19 int __kunit_add_resource(struct kunit *test, in __kunit_add_resource() argument 48 void kunit_remove_resource(struct kunit *test, struct kunit_resource *res) in kunit_remove_resource() argument 63 int kunit_destroy_resource(struct kunit *test, kunit_resource_match_ argument 95 kunit_add_action(struct kunit *test, void (*action)(void *), void *ctx) kunit_add_action() argument 116 kunit_add_action_or_reset(struct kunit *test, void (*action)(void *), void *ctx) kunit_add_action_or_reset() argument 127 __kunit_action_match(struct kunit *test, struct kunit_resource *res, void *match_data) __kunit_action_match() argument 141 kunit_remove_action(struct kunit *test, kunit_action_t *action, void *ctx) kunit_remove_action() argument 161 kunit_release_action(struct kunit *test, kunit_action_t *action, void *ctx) kunit_release_action() argument [all...] |
H A D | string-stream.c | 34 static void string_stream_fragment_destroy(struct kunit *test, in string_stream_fragment_destroy() argument 16 alloc_string_stream_fragment( struct kunit *test, int len, gfp_t gfp) alloc_string_stream_fragment() argument 136 alloc_string_stream(struct kunit *test, gfp_t gfp) alloc_string_stream() argument [all...] |