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

/linux-master/tools/testing/selftests/net/
H A Dtest_bpf.sh3 # Runs bpf test using test_bpf kernel module
5 if /sbin/modprobe -q test_bpf ; then
6 /sbin/modprobe -q -r test_bpf;
7 echo "test_bpf: ok";
9 echo "test_bpf: [FAIL]";
H A DMakefile9 TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \
/linux-master/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
/linux-master/tools/perf/tests/shell/
H A Dlock_contention.sh57 test_bpf() function
324 test_bpf
/linux-master/lib/
H A DMakefile59 obj-$(CONFIG_TEST_BPF) += test_bpf.o
H A Dtest_bpf.c15134 static __init int test_bpf(void) function
15569 if (!strcmp(test_suite, "test_bpf")) {
15597 if (!strcmp(test_suite, "test_bpf"))
15612 pr_err("test_bpf: invalid test_id specified for '%s' suite.\n",
15627 pr_err("test_bpf: no test named '%s' found for '%s' suite.\n",
15638 pr_err("test_bpf: test_range is out of bound for '%s' suite.\n",
15644 pr_err("test_bpf: test_range is ending before it starts.\n");
15658 strcmp(test_suite, "test_bpf") &&
15661 pr_err("test_bpf: invalid test_suite '%s' specified.\n", test_suite);
15667 * is specified, set 'test_bpf' a
[all...]

Completed in 158 milliseconds