Home
last modified time | relevance | path

Searched refs:current_test (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dresource_scale.sh11 current_test=""
16 if [ ! -z $current_test ]; then
17 ${current_test}_cleanup
36 for current_test in ${TESTS:-$ALL_TESTS}; do
38 source ${current_test}_scale.sh
40 num_netifs_var=${current_test^^}_NUM_NETIFS
47 log_test "'$current_test' [$profile] setting"
53 target=$(${current_test}_get_target "$should_fail")
57 ${current_test}_setup_prepare
61 target=$(${current_test}_get_targe
[all...]
/linux/lib/tests/
H A Dtest_kprobes.c19 static struct kunit *current_test; variable
38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_pre_handler()
49 KUNIT_EXPECT_FALSE(current_test, preemptible()); in kp_post_handler()
50 KUNIT_EXPECT_EQ(current_test, preh_val, expval); in kp_post_handler()
63 current_test = test; in test_kprobe()
112 KUNIT_EXPECT_EQ(current_test, preh_val, (rand1 / div_factor) + 1); in kp_post_handler2()
126 current_test = test; in test_kprobes()
157 current_test = test; in test_kprobe_missed()
177 KUNIT_EXPECT_FALSE(current_test, preemptible()); in entry_handler()
186 KUNIT_EXPECT_FALSE(current_test, preemptibl in return_handler()
[all...]
H A Dtest_fprobe.c13 static struct kunit *current_test; variable
38 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler()
41 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_entry_handler()
44 KUNIT_EXPECT_NOT_NULL(current_test, data); in fp_entry_handler()
48 KUNIT_EXPECT_NULL(current_test, data); in fp_entry_handler()
59 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler()
61 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_exit_handler()
62 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in fp_exit_handler()
64 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor)); in fp_exit_handler()
65 KUNIT_EXPECT_EQ(current_test, entry_va in fp_exit_handler()
[all...]
H A Dfortify_kunit.c69 struct kunit *current_test; in fortify_add_kunit_error() local
71 current_test = kunit_get_current_test(); in fortify_add_kunit_error()
72 if (!current_test) in fortify_add_kunit_error()
75 resource = kunit_find_named_resource(current_test, in fortify_add_kunit_error()
/linux/arch/s390/lib/
H A Dtest_unwind.c20 static struct kunit *current_test; variable
39 kunit_err(current_test, "%s\n", p); in print_backtrace()
59 kunit_err(current_test, "failed to allocate backtrace buffer\n"); in test_unwind()
74 kunit_err(current_test, "unwind state reliable but addr is 0\n"); in test_unwind()
86 kunit_err(current_test, "backtrace buffer is too small\n"); in test_unwind()
98 kunit_err(current_test, "unwind error\n"); in test_unwind()
102 kunit_err(current_test, "unwindme_func2 and unwindme_func1 not found\n"); in test_unwind()
106 kunit_err(current_test, "Maximum number of frames exceeded\n"); in test_unwind()
110 kunit_err(current_test, "arch_rethook_trampoline+0x0 in unwinding results\n"); in test_unwind()
194 kunit_skip(current_test, "require in test_unwind_kretprobe()
[all...]
/linux/include/kunit/
H A Dstatic_stub.h62 struct kunit *current_test = kunit_get_current_test(); \
64 if (likely(!current_test)) \
67 replacement = kunit_hooks.get_static_stub_address(current_test, \
/linux/tools/testing/selftests/ptp/
H A Dphc.sh80 local current_test
82 for current_test in ${TESTS:-$ALL_TESTS}; do
83 $current_test
/linux/tools/testing/selftests/resctrl/
H A Dresctrl_val.c42 static const struct resctrl_test *current_test; variable
384 if (current_test && current_test->cleanup) in ctrlc_handler()
385 current_test->cleanup(); in ctrlc_handler()
402 current_test = test; in signal_handler_register()
424 current_test = NULL; in signal_handler_unregister()
/linux/tools/testing/selftests/net/
H A Dvlan_hw_filter.sh33 local current_test
34 for current_test in ${TESTS:-$ALL_TESTS}; do
35 $current_test
H A Dlib.sh431 local current_test
433 for current_test in ${TESTS:-$ALL_TESTS}; do
435 $current_test
H A Drtnetlink.sh1425 local current_test
1434 for current_test in ${TESTS:-$ALL_TESTS}; do
1435 $current_test