Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/verifier/
H A Dsleepable.c9 .kfunc = "bpf_fentry_test1",
22 .kfunc = "bpf_fentry_test1",
35 .kfunc = "bpf_fentry_test1",
48 .kfunc = "task",
60 .kfunc = "bpf",
73 .kfunc = "bpf_fentry_test1",
86 .kfunc = "sched_switch",
H A Datomic_fetch_add.c103 .kfunc = "bpf_fentry_test7",
/openbmc/linux/Documentation/bpf/
H A Dkfuncs.rst18 2. Defining a kfunc
24 valid context. To enforce this, visibility of a kfunc can be per program type.
29 2.1 Creating a wrapper kfunc
32 When defining a wrapper kfunc, the wrapper function should have extern linkage.
33 This prevents the compiler from optimizing away dead code, as this wrapper kfunc
35 prototype in a header for the wrapper kfunc.
51 A wrapper kfunc is often needed when we need to annotate parameters of the
52 kfunc. Otherwise one may directly make the kfunc visible to the BPF program by
55 2.2 Annotating kfunc parameters
61 kfunc with a __tag, where tag may be one of the supported annotations.
[all …]
H A Dcpumasks.rst186 As we'll see below, any kfunc that mutates its cpumask argument will take a
381 could easily be encapsulated in a new kfunc if and when required. If you'd like
383 do add a new cpumask kfunc, please document it here, and add any relevant
H A Dbpf_licensing.rst85 directly via unstable interface also known as "kfunc".
H A Dgraph_ds_impl.rst166 kfunc, or via ``bpf_obj_drop``, which ``free``'s the pointee
257 ``bpf_rbtree_remove``. The logic here being that any graph API kfunc which:
/openbmc/linux/tools/testing/selftests/bpf/
H A DDENYLIST.s390x14 … # test_ksyms_weak__open_and_load unexpected error: -22 (kfunc)
16 … # JIT does not support calling kernel function (kfunc)
28 … # JIT does not support calling kernel function (kfunc)
29 … # JIT does not support calling kernel function (kfunc)
H A Dtest_verifier.c82 const char *kfunc; member
162 const char *kfunc; member
974 while (fixup_kfunc_btf_id->kfunc) { in fixup_prog_kfuncs()
981 fixup_kfunc_btf_id->kfunc, in fixup_prog_kfuncs()
991 fixup_kfunc_btf_id->kfunc, in fixup_prog_kfuncs()
1616 prog_type == BPF_PROG_TYPE_LSM) && test->kfunc) { in do_test_single()
1619 attach_btf_id = libbpf_find_vmlinux_btf_id(test->kfunc, in do_test_single()
1623 test->kfunc); in do_test_single()
/openbmc/linux/Documentation/networking/
H A Dxdp-rx-metadata.rst31 to indicate the device driver have not implemented this kfunc.
/openbmc/linux/Documentation/hid/
H A Dhid-bpf.rst357 /* HID-BPF kfunc API definitions */
455 /* some more HID-BPF kfunc API definitions */