Home
last modified time | relevance | path

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

12

/lib/
Dlist-test.c17 static void list_test_list_init(struct kunit *test) in list_test_list_init()
46 static void list_test_list_add(struct kunit *test) in list_test_list_add()
60 static void list_test_list_add_tail(struct kunit *test) in list_test_list_add_tail()
74 static void list_test_list_del(struct kunit *test) in list_test_list_del()
90 static void list_test_list_replace(struct kunit *test) in list_test_list_replace()
106 static void list_test_list_replace_init(struct kunit *test) in list_test_list_replace_init()
125 static void list_test_list_swap(struct kunit *test) in list_test_list_swap()
147 static void list_test_list_del_init(struct kunit *test) in list_test_list_del_init()
164 static void list_test_list_move(struct kunit *test) in list_test_list_move()
183 static void list_test_list_move_tail(struct kunit *test) in list_test_list_move_tail()
[all …]
Dslub_kunit.c12 static void test_clobber_zone(struct kunit *test) in test_clobber_zone()
30 static void test_next_pointer(struct kunit *test) in test_next_pointer()
75 static void test_first_word(struct kunit *test) in test_first_word()
90 static void test_clobber_50th_byte(struct kunit *test) in test_clobber_50th_byte()
106 static void test_clobber_redzone_free(struct kunit *test) in test_clobber_redzone_free()
123 static int test_init(struct kunit *test) in test_init()
Dcmdline_kunit.c41 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()
Dtest_bits.c10 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()
Dtest_linear_ranges.c123 static void range_test_get_value(struct kunit *test) in range_test_get_value()
144 static void range_test_get_selector_high(struct kunit *test) in range_test_get_selector_high()
169 static void range_test_get_value_amount(struct kunit *test) in range_test_get_value_amount()
177 static void range_test_get_selector_low(struct kunit *test) in range_test_get_selector_low()
Dtest-kstrtox.c5 #define for_each_test(i, test) \ argument
13 #define DEFINE_TEST_FAIL(test) \ argument
23 #define DEFINE_TEST_OK(type, test) \ argument
26 #define TEST_FAIL(fn, type, fmt, test) \ argument
45 #define TEST_OK(fn, type, fmt, test) \ argument
Dtest_list_sort.c29 static void check(struct kunit *test, struct debug_el *ela, struct debug_el *elb) in check()
58 static void list_sort_test(struct kunit *test) in list_sort_test()
Dtest_hexdump.c68 int groupsize, char *test, in test_hexdump_prepare_test()
128 char test[TEST_HEXDUMP_BUF_SIZE]; in test_hexdump() local
164 char test[TEST_HEXDUMP_BUF_SIZE]; in test_hexdump_overflow() local
Dtest_sort.c18 static void test_sort(struct kunit *test) in test_sort()
Dtest_bpf.c78 } test[MAX_SUBTESTS]; member
8452 static void *generate_test_data(struct bpf_test *test, int sub) in generate_test_data()
8498 static void release_test_data(const struct bpf_test *test, void *data) in release_test_data()
8630 static int run_one(const struct bpf_prog *fp, struct bpf_test *test) in run_one()
8899 static __init int test_skb_segment_single(const struct skb_segment_test *test) in test_skb_segment_single()
8925 const struct skb_segment_test *test = &skb_segment_tests[i]; in test_skb_segment() local
9132 struct tail_call_test *test = &tail_call_tests[which]; in prepare_tail_call_tests() local
9208 struct tail_call_test *test = &tail_call_tests[i]; in test_tail_calls() local
Dglobtest.c19 static bool __pure __init test(char const *pat, char const *str, bool expected) in test() function
Dtest_string.c188 int test, subtest; in string_selftest_init() local
Dtest_user_copy.c34 #define test(condition, msg, ...) \ macro
Dcrc32test.c558 } const test[] __initconst = variable
/lib/kunit/
Dkunit-test.c19 struct kunit *test = data; in kunit_test_successful_try() local
27 struct kunit *test = data; in kunit_test_no_catch() local
32 static void kunit_test_try_catch_successful_try_no_catch(struct kunit *test) in kunit_test_try_catch_successful_try_no_catch()
48 struct kunit *test = data; in kunit_test_unsuccessful_try() local
58 struct kunit *test = data; in kunit_test_catch() local
64 static void kunit_test_try_catch_unsuccessful_try_does_catch(struct kunit *test) in kunit_test_try_catch_unsuccessful_try_does_catch()
78 static int kunit_try_catch_test_init(struct kunit *test) in kunit_try_catch_test_init()
111 struct kunit test; member
133 static void kunit_resource_test_init_resources(struct kunit *test) in kunit_resource_test_init_resources()
142 static void kunit_resource_test_alloc_resource(struct kunit *test) in kunit_resource_test_alloc_resource()
[all …]
Dkunit-example-test.c21 static void example_simple_test(struct kunit *test) in example_simple_test()
36 static int example_test_init(struct kunit *test) in example_test_init()
46 static void example_skip_test(struct kunit *test) in example_skip_test()
61 static void example_mark_skipped_test(struct kunit *test) in example_mark_skipped_test()
Dexecutor_test.c15 static void filter_subsuite_test(struct kunit *test) in filter_subsuite_test()
34 static void filter_subsuite_to_empty_test(struct kunit *test) in filter_subsuite_to_empty_test()
49 static void kfree_subsuites_at_end(struct kunit *test, struct suite_set *suite_set) in kfree_subsuites_at_end()
58 static void filter_suites_test(struct kunit *test) in filter_suites_test()
114 static void kfree_at_end(struct kunit *test, const void *to_free) in kfree_at_end()
123 static struct kunit_suite *alloc_fake_suite(struct kunit *test, in alloc_fake_suite()
Dtest.c84 static void kunit_print_test_stats(struct kunit *test, in kunit_print_test_stats()
153 struct kunit *test = is_test ? test_or_suite : NULL; in kunit_print_ok_not_ok() local
220 static void kunit_print_string_stream(struct kunit *test, in kunit_print_string_stream()
243 static void kunit_fail(struct kunit *test, struct kunit_assert *assert) in kunit_fail()
265 static void __noreturn kunit_abort(struct kunit *test) in kunit_abort()
278 void kunit_do_assertion(struct kunit *test, in kunit_do_assertion()
302 void kunit_init_test(struct kunit *test, const char *name, char *log) in kunit_init_test()
318 static void kunit_run_case_internal(struct kunit *test, in kunit_run_case_internal()
336 static void kunit_case_internal_cleanup(struct kunit *test) in kunit_case_internal_cleanup()
345 static void kunit_run_case_cleanup(struct kunit *test, in kunit_run_case_cleanup()
[all …]
Dstring-stream-test.c14 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()
Dstring-stream.h17 struct kunit *test; member
27 struct kunit *test; member
Dstring-stream.c16 struct kunit *test; member
51 struct kunit *test, int len, gfp_t gfp) in alloc_string_stream_fragment()
168 struct kunit *test; member
197 struct string_stream *alloc_string_stream(struct kunit *test, gfp_t gfp) in alloc_string_stream()
Dtry-catch-impl.h18 struct kunit *test, in kunit_try_catch_init()
Dtry-catch.c61 struct kunit *test = try_catch->test; in kunit_try_catch_run() local
Dassert.c92 static bool is_literal(struct kunit *test, const char *text, long long value, in is_literal()
/lib/math/
Drational-test.c34 static void rational_test(struct kunit *test) in rational_test()

12