Home
last modified time | relevance | path

Searched defs:test (Results 1 – 10 of 10) sorted by relevance

/kernel/events/
A Dhw_breakpoint_test.c15 #define TEST_REQUIRES_BP_SLOTS(test, slots) \ argument
93 static struct task_struct *get_other_task(struct kunit *test) in get_other_task()
122 static void test_one_cpu(struct kunit *test) in test_one_cpu()
131 static void test_many_cpus(struct kunit *test) in test_many_cpus()
146 static void test_one_task_on_all_cpus(struct kunit *test) in test_one_task_on_all_cpus()
159 static void test_two_tasks_on_all_cpus(struct kunit *test) in test_two_tasks_on_all_cpus()
177 static void test_one_task_on_one_cpu(struct kunit *test) in test_one_task_on_one_cpu()
193 static void test_one_task_mixed(struct kunit *test) in test_one_task_mixed()
213 static void test_two_tasks_on_one_cpu(struct kunit *test) in test_two_tasks_on_one_cpu()
294 static int test_init(struct kunit *test) in test_init()
[all …]
/kernel/kcsan/
A Dkcsan_test.c35 #define KCSAN_TEST_REQUIRES(test, cond) do { \ argument
713 static void test_basic(struct kunit *test) in test_basic()
744 static void test_concurrent_races(struct kunit *test) in test_concurrent_races()
773 static void test_novalue_change(struct kunit *test) in test_novalue_change()
831 static void test_unknown_origin(struct kunit *test) in test_unknown_origin()
1004 static void test_data_race(struct kunit *test) in test_data_race()
1226 static void test_atomic_builtins(struct kunit *test) in test_atomic_builtins()
1296 static void test_correct_barrier(struct kunit *test) in test_correct_barrier()
1315 static void test_missing_barrier(struct kunit *test) in test_missing_barrier()
1511 static int test_init(struct kunit *test) in test_init()
[all …]
/kernel/
A Dsysctl-test.c16 static void sysctl_test_api_dointvec_null_tbl_data(struct kunit *test) in sysctl_test_api_dointvec_null_tbl_data()
66 static void sysctl_test_api_dointvec_table_maxlen_unset(struct kunit *test) in sysctl_test_api_dointvec_table_maxlen_unset()
112 static void sysctl_test_api_dointvec_table_len_is_zero(struct kunit *test) in sysctl_test_api_dointvec_table_len_is_zero()
146 struct kunit *test) in sysctl_test_api_dointvec_table_read_but_position_set()
181 static void sysctl_test_dointvec_read_happy_single_positive(struct kunit *test) in sysctl_test_dointvec_read_happy_single_positive()
212 static void sysctl_test_dointvec_read_happy_single_negative(struct kunit *test) in sysctl_test_dointvec_read_happy_single_negative()
241 static void sysctl_test_dointvec_write_happy_single_positive(struct kunit *test) in sysctl_test_dointvec_write_happy_single_positive()
272 static void sysctl_test_dointvec_write_happy_single_negative(struct kunit *test) in sysctl_test_dointvec_write_happy_single_negative()
304 struct kunit *test) in sysctl_test_api_dointvec_write_single_less_int_min()
342 struct kunit *test) in sysctl_test_api_dointvec_write_single_greater_int_max()
A 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()
/kernel/irq/
A Dirq_test.c44 static void irq_disable_depth_test(struct kunit *test) in irq_disable_depth_test()
71 static void irq_free_disabled_test(struct kunit *test) in irq_free_disabled_test()
102 static void irq_shutdown_depth_test(struct kunit *test) in irq_shutdown_depth_test()
157 static void irq_cpuhotplug_test(struct kunit *test) in irq_cpuhotplug_test()
/kernel/trace/
A Dtrace_events_trigger.c549 struct event_trigger_data *test; in register_trigger() local
580 struct event_trigger_data *test, in try_unregister_trigger()
619 struct event_trigger_data *test, in unregister_trigger()
1143 bool is_named_trigger(struct event_trigger_data *test) in is_named_trigger()
1187 struct event_trigger_data *test; in __pause_named_trigger() local
1849 struct event_trigger_data *test; in event_enable_register_trigger() local
1882 struct event_trigger_data *test, in event_enable_unregister_trigger()
A Dtrace_events_hist.c1137 struct event_trigger_data *test; in find_var() local
1193 struct event_trigger_data *test; in find_file_var() local
2861 struct event_trigger_data *test; in find_trigger_filter() local
2914 struct event_trigger_data *test; in find_compatible_hist() local
6482 struct event_trigger_data *test, *named_data = NULL; in existing_hist_update_only() local
6524 struct event_trigger_data *test, *named_data = NULL; in hist_register_trigger() local
6616 struct event_trigger_data *test, *named_data = NULL; in have_hist_trigger_match() local
6697 struct event_trigger_data *test; in hist_file_check_refs() local
6714 struct event_trigger_data *test, *n; in hist_unreg_all() local
6935 struct event_trigger_data *test; in hist_enable_trigger() local
[all …]
A Dtrace.c10788 char *test; in tr_needs_alloc_snapshot() local
/kernel/time/
A Dtime_test.c53 static void time64_to_tm_test_date_range(struct kunit *test) in time64_to_tm_test_date_range()
/kernel/sched/
A Drt.c1503 bool test; in select_task_rq_rt() local

Completed in 56 milliseconds