Home
last modified time | relevance | path

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

/linux-6.15/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",
/linux-6.15/Documentation/bpf/
H A Dkfuncs.rst18 2. Defining a kfunc
29 2.1 Creating a wrapper kfunc
50 kfunc. Otherwise one may directly make the kfunc visible to the BPF program by
53 2.2 Annotating kfunc parameters
370 kfunc by a BPF program, matches the type of pointer specified in the kfunc
411 3. kfunc lifecycle expectations
423 widely used the kfunc is, how long the kfunc has been in the kernel, whether an
426 to support the kfunc.
463 3.1 kfunc deprecation
470 superior functionality to an existing kfunc, the existing kfunc may be
[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:
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_verifier.c80 const char *kfunc; member
160 const char *kfunc; member
972 while (fixup_kfunc_btf_id->kfunc) { in fixup_prog_kfuncs()
979 fixup_kfunc_btf_id->kfunc, in fixup_prog_kfuncs()
989 fixup_kfunc_btf_id->kfunc, in fixup_prog_kfuncs()
1573 prog_type == BPF_PROG_TYPE_LSM) && test->kfunc) { in do_test_single()
1576 attach_btf_id = libbpf_find_vmlinux_btf_id(test->kfunc, in do_test_single()
1580 test->kfunc); in do_test_single()
/linux-6.15/Documentation/networking/
H A Dxdp-rx-metadata.rst39 to indicate the device driver have not implemented this kfunc.
119 It is possible to query which kfunc the particular netdev implements via
/linux-6.15/Documentation/hid/
H A Dhid-bpf.rst379 /* HID-BPF kfunc API definitions */
460 /* some more HID-BPF kfunc API definitions */