Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/spectrum/
A Dresource_scale.sh11 current_test=""
16 if [ ! -z $current_test ]; then
17 ${current_test}_cleanup
35 for current_test in ${TESTS:-$ALL_TESTS}; do
37 source ${current_test}_scale.sh
39 num_netifs_var=${current_test^^}_NUM_NETIFS
46 log_test "'$current_test' [$profile] setting"
57 ${current_test}_setup_prepare
67 tt=${current_test}_traffic_test
77 ${current_test}_cleanup $target
[all …]
/linux-6.3-rc2/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
A Dresource_scale.sh14 current_test=""
19 if [ ! -z $current_test ]; then
20 ${current_test}_cleanup
38 for current_test in ${TESTS:-$ALL_TESTS}; do
40 source ${current_test}_scale.sh
42 num_netifs_var=${current_test^^}_NUM_NETIFS
53 ${current_test}_setup_prepare
60 log_test "'$current_test' $target"
63 tt=${current_test}_traffic_test
72 ${current_test}_cleanup $target
[all …]
/linux-6.3-rc2/lib/
A Dtest_kprobes.c19 static struct kunit *current_test; variable
63 current_test = test; in test_kprobe()
126 current_test = test; in test_kprobes()
157 current_test = test; in test_kprobe_missed()
201 current_test = test; in test_kretprobe()
228 current_test = test; in test_kretprobes()
262 KUNIT_EXPECT_NE(current_test, ret, 0); in stacktrace_return_handler()
268 KUNIT_EXPECT_NE(current_test, i, ret); in stacktrace_return_handler()
276 KUNIT_EXPECT_NE(current_test, ret, 0); in stacktrace_return_handler()
292 current_test = test; in test_stacktrace_on_kretprobe()
[all …]
A Dtest_fprobe.c13 static struct kunit *current_test; variable
35 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_entry_handler()
38 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_entry_handler()
46 KUNIT_EXPECT_FALSE(current_test, preemptible()); in fp_exit_handler()
48 KUNIT_EXPECT_EQ(current_test, ip, target2_ip); in fp_exit_handler()
49 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor) + 1); in fp_exit_handler()
51 KUNIT_EXPECT_EQ(current_test, ret, (rand1 / div_factor)); in fp_exit_handler()
52 KUNIT_EXPECT_EQ(current_test, entry_val, (rand1 / div_factor)); in fp_exit_handler()
63 current_test = test; in test_fprobe_entry()
91 current_test = test; in test_fprobe()
[all …]
/linux-6.3-rc2/arch/s390/lib/
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()
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()
194 kunit_skip(current_test, "requires CONFIG_KPROBES"); in test_unwind_kretprobe()
245 kunit_skip(current_test, "requires CONFIG_KPROBES"); in test_unwind_kprobe()
258 kunit_err(current_test, "register_kprobe failed %d\n", ret); in test_unwind_kprobe()
297 kunit_skip(current_test, "requires CONFIG_DYNAMIC_FTRACE"); in test_unwind_ftrace()
415 kunit_err(current_test, "kthread_run() failed\n"); in test_unwind_task()
[all …]
/linux-6.3-rc2/include/kunit/
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-6.3-rc2/tools/testing/selftests/ptp/
A Dphc.sh80 local current_test
82 for current_test in ${TESTS:-$ALL_TESTS}; do
83 $current_test
/linux-6.3-rc2/tools/testing/selftests/drivers/net/bonding/
A Dnet_forwarding_lib.sh1105 $current_test
/linux-6.3-rc2/tools/testing/selftests/drivers/net/dsa/
A Dlib.sh1105 $current_test
/linux-6.3-rc2/tools/testing/selftests/drivers/net/team/
A Dnet_forwarding_lib.sh1105 $current_test
/linux-6.3-rc2/tools/testing/selftests/net/forwarding/
A Dlib.sh1105 $current_test

Completed in 22 milliseconds