Searched refs:kfunc (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/Documentation/bpf/ |
D | kfuncs.rst | 14 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 …]
|
D | bpf_licensing.rst | 85 directly via unstable interface also known as "kfunc".
|
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | DENYLIST.s390x | 3 … # 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)
|
D | test_verifier.c | 86 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/ |
D | d_path.c | 17 .kfunc = "dentry_open", 36 .kfunc = "d_path",
|
D | btf_ctx_access.c | 11 .kfunc = "bpf_modify_return_test",
|
D | ref_tracking.c | 100 .kfunc = "bpf", 121 .kfunc = "bpf", 142 .kfunc = "bpf", 163 .kfunc = "bpf", 182 .kfunc = "bpf", 200 .kfunc = "bpf", 217 .kfunc = "bpf",
|
D | atomic_fetch_add.c | 103 .kfunc = "bpf_fentry_test7",
|
D | bpf_get_stack.c | 84 .kfunc = "task",
|