Home
last modified time | relevance | path

Searched refs:test_bpf (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_kmod.sh28 if [ -f ${OUTPUT}/lib/test_bpf.ko ]; then
29 insmod ${OUTPUT}/lib/test_bpf.ko 2> /dev/null
34 # Use modprobe dry run to check for missing test_bpf module
35 if ! /sbin/modprobe -q -n test_bpf; then
36 echo "test_bpf: [SKIP]"
37 elif /sbin/modprobe -q test_bpf; then
38 echo "test_bpf: ok"
40 echo "test_bpf: [FAIL]"
44 rmmod test_bpf 2> /dev/null
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_kmod.sh34 if [ -f ${OUTPUT}/lib/test_bpf.ko ]; then
35 insmod ${OUTPUT}/lib/test_bpf.ko "$@" 2> /dev/null
40 # Use modprobe dry run to check for missing test_bpf module
41 if ! /sbin/modprobe -q -n test_bpf "$@"; then
42 echo "test_bpf: [SKIP]"
43 elif /sbin/modprobe -q test_bpf "$@"; then
44 echo "test_bpf: ok"
46 echo "test_bpf: [FAIL]"
50 rmmod test_bpf 2> /dev/null
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dlock_contention.sh50 test_bpf() function
274 test_bpf
/kernel/linux/linux-5.10/tools/testing/selftests/net/
H A DMakefile7 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A DMakefile9 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \
/kernel/linux/linux-5.10/lib/
H A DMakefile61 obj-$(CONFIG_TEST_BPF) += test_bpf.o
H A Dtest_bpf.c6729 pr_err("test_bpf: invalid test_id specified.\n"); in prepare_bpf_tests()
6743 pr_err("test_bpf: no test named '%s' found.\n", in prepare_bpf_tests()
6756 pr_err("test_bpf: test_range is out of bound.\n"); in prepare_bpf_tests()
6761 pr_err("test_bpf: test_range is ending before it starts.\n"); in prepare_bpf_tests()
6971 static __init int test_bpf(void) in test_bpf() function
7028 ret = test_bpf(); in test_bpf_init()
/kernel/linux/linux-6.6/lib/
H A DMakefile59 obj-$(CONFIG_TEST_BPF) += test_bpf.o
H A Dtest_bpf.c14781 static __init int test_bpf(void) in test_bpf() function
15216 if (!strcmp(test_suite, "test_bpf")) { in find_test_index()
15244 if (!strcmp(test_suite, "test_bpf")) in prepare_test_range()
15259 pr_err("test_bpf: invalid test_id specified for '%s' suite.\n", in prepare_test_range()
15274 pr_err("test_bpf: no test named '%s' found for '%s' suite.\n", in prepare_test_range()
15285 pr_err("test_bpf: test_range is out of bound for '%s' suite.\n", in prepare_test_range()
15291 pr_err("test_bpf: test_range is ending before it starts.\n"); in prepare_test_range()
15305 strcmp(test_suite, "test_bpf") && in test_bpf_init()
15308 pr_err("test_bpf: invalid test_suite '%s' specified.\n", test_suite); in test_bpf_init()
15314 * is specified, set 'test_bpf' a in test_bpf_init()
[all...]

Completed in 29 milliseconds