Home
last modified time | relevance | path

Searched refs:kfunc (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/Documentation/bpf/
Dkfuncs.rst14 2. Defining a kfunc
20 valid context. To enforce this, visibility of a kfunc can be per program type.
25 2.1 Creating a wrapper kfunc
28 When defining a wrapper kfunc, the wrapper function should have extern linkage.
29 This prevents the compiler from optimizing away dead code, as this wrapper kfunc
31 prototype in a header for the wrapper kfunc.
47 A wrapper kfunc is often needed when we need to annotate parameters of the
48 kfunc. Otherwise one may directly make the kfunc visible to the BPF program by
51 2.2 Annotating kfunc parameters
57 kfunc with a __tag, where tag may be one of the supported annotations.
[all …]
Dbpf_licensing.rst85 directly via unstable interface also known as "kfunc".
/linux-6.1.9/tools/testing/selftests/bpf/
DDENYLIST.s390x3 … # JIT does not support calling kernel function (kfunc)
5 … # JIT does not support calling kernel function (kfunc)
24 … # JIT does not support calling kernel function (kfunc)
66 … # JIT does not support calling kernel function (kfunc)
71 … # JIT does not support calling kernel function (kfunc)
75 … # JIT does not support calling kernel function (kfunc)
76 … # JIT does not support calling kernel function (kfunc)
77 … # JIT does not support calling kernel function (kfunc)
Dtest_verifier.c86 const char *kfunc; member
166 const char *kfunc; member
1109 if (fixup_kfunc_btf_id->kfunc) { in do_test_fixup()
1118 fixup_kfunc_btf_id->kfunc, in do_test_fixup()
1125 } while (fixup_kfunc_btf_id->kfunc); in do_test_fixup()
1502 prog_type == BPF_PROG_TYPE_LSM) && test->kfunc) { in do_test_single()
1505 attach_btf_id = libbpf_find_vmlinux_btf_id(test->kfunc, in do_test_single()
1509 test->kfunc); in do_test_single()
/linux-6.1.9/tools/testing/selftests/bpf/verifier/
Dd_path.c17 .kfunc = "dentry_open",
36 .kfunc = "d_path",
Dbtf_ctx_access.c11 .kfunc = "bpf_modify_return_test",
Dref_tracking.c100 .kfunc = "bpf",
121 .kfunc = "bpf",
142 .kfunc = "bpf",
163 .kfunc = "bpf",
182 .kfunc = "bpf",
200 .kfunc = "bpf",
217 .kfunc = "bpf",
Datomic_fetch_add.c103 .kfunc = "bpf_fentry_test7",
Dbpf_get_stack.c84 .kfunc = "task",