Home
last modified time | relevance | path

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

/kernel/events/
Dhw_breakpoint_test.c15 #define TEST_REQUIRES_BP_SLOTS(test, slots) \ argument
65 static void fill_one_bp_slot(struct kunit *test, int *id, int cpu, struct task_struct *tsk) in fill_one_bp_slot()
80 static bool fill_bp_slots(struct kunit *test, int *id, int cpu, struct task_struct *tsk, int skip) in fill_bp_slots()
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()
[all …]
/kernel/kcsan/
Dkcsan_test.c35 #define KCSAN_TEST_REQUIRES(test, cond) do { \ argument
525 static void test_barrier_nothreads(struct kunit *test) in test_barrier_nothreads()
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()
805 static void test_novalue_change_exception(struct kunit *test) in test_novalue_change_exception()
831 static void test_unknown_origin(struct kunit *test) in test_unknown_origin()
853 static void test_write_write_assume_atomic(struct kunit *test) in test_write_write_assume_atomic()
879 static void test_write_write_struct(struct kunit *test) in test_write_write_struct()
901 static void test_write_write_struct_part(struct kunit *test) in test_write_write_struct_part()
[all …]
/kernel/
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()
Dresource_kunit.c83 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()
/kernel/trace/
Dtrace_events_trigger.c568 struct event_trigger_data *test; in register_trigger() local
610 struct event_trigger_data *test, in unregister_trigger()
1140 bool is_named_trigger(struct event_trigger_data *test) in is_named_trigger()
1184 struct event_trigger_data *test; in __pause_named_trigger() local
1836 struct event_trigger_data *test; in event_enable_register_trigger() local
1871 struct event_trigger_data *test, in event_enable_unregister_trigger()
Dtrace_events_hist.c1130 struct event_trigger_data *test; in find_var() local
1186 struct event_trigger_data *test; in find_file_var() local
2815 struct event_trigger_data *test; in find_trigger_filter() local
2868 struct event_trigger_data *test; in find_compatible_hist() local
6176 struct event_trigger_data *test, *named_data = NULL; in existing_hist_update_only() local
6218 struct event_trigger_data *test, *named_data = NULL; in hist_register_trigger() local
6310 struct event_trigger_data *test, *named_data = NULL; in have_hist_trigger_match() local
6334 struct event_trigger_data *test, *named_data = NULL; in hist_trigger_check_refs() local
6359 struct event_trigger_data *test = NULL, *iter, *named_data = NULL; in hist_unregister_trigger() local
6391 struct event_trigger_data *test; in hist_file_check_refs() local
[all …]
/kernel/time/
Dtime_test.c53 static void time64_to_tm_test_date_range(struct kunit *test) in time64_to_tm_test_date_range()
Dtimekeeping.c1194 static bool cycle_between(u64 before, u64 test, u64 after) in cycle_between()
/kernel/sched/
Drt.c1669 bool test; in select_task_rq_rt() local