| /linux-6.15/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-struct_ops.rst | 4 bpftool-struct_ops 31 | **bpftool** **struct_ops help** 42 struct_ops. Otherwise, it lists all struct_ops currently existing in the 46 struct_ops's kernel type. 48 bpftool struct_ops dump [*STRUCT_OPS_MAP*] 51 struct_ops. Otherwise, it dumps all struct_ops currently existing in the 55 Register bpf struct_ops from *OBJ*. All struct_ops under the ELF section 56 ".struct_ops" and ".struct_ops.link" will be registered to its kernel 57 subsystem. For each struct_ops in the ".struct_ops.link" section, a link 65 bpftool struct_ops help [all …]
|
| H A D | bpftool.rst | 24 **btf** | **gen** | **struct_ops** | **iter** }
|
| H A D | bpftool-gen.rst | 253 SEC("struct_ops/test_2") 259 SEC(".struct_ops") 310 } struct_ops; 363 skel->struct_ops.testmod_map->data = 13;
|
| H A D | bpftool-map.rst | 57 | | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage**
|
| H A D | bpftool-prog.rst | 56 | **struct_ops** | **fentry** | **fexit** | **freplace** | **sk_lookup**
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_struct_ops_module.c | 69 skel->struct_ops.testmod_1->data = 13; in test_struct_ops_load() 70 skel->struct_ops.testmod_1->test_2 = skel->progs.test_3; in test_struct_ops_load() 113 skel->struct_ops.testmod_zeroed->zeroed = 0; in test_struct_ops_not_zeroed() 115 skel->struct_ops.testmod_zeroed->zeroed_op = NULL; in test_struct_ops_not_zeroed() 131 skel->struct_ops.testmod_zeroed->zeroed = 0xdeadbeef; in test_struct_ops_not_zeroed() 132 skel->struct_ops.testmod_zeroed->zeroed_op = NULL; in test_struct_ops_not_zeroed() 146 skel->struct_ops.testmod_zeroed->zeroed_op = skel->progs.test_3; in test_struct_ops_not_zeroed() 194 skel->struct_ops.ops->test_1 = NULL; in test_struct_ops_nulled_out_cb() 239 skel->struct_ops.ops->test_1 = skel->progs.test_1_forgotten; /* not anymore */ in test_struct_ops_forgotten_cb()
|
| H A D | struct_ops_autocreate.c | 128 skel->struct_ops.testmod_1->test_1 = skel->progs.foo; in autoload_and_shadow_vars()
|
| /linux-6.15/Documentation/bpf/libbpf/ |
| H A D | program_types.rst | 172 …PS`` | | ``struct_ops+`` [#struct_ops]_ | … 174 … | | ``struct_ops.s+`` [#struct_ops]_ | Yes… 230 .. [#struct_ops] The ``struct_ops`` attach format supports ``struct_ops[.s]/<name>`` convention, 232 ``SEC("struct_ops[.s]")``. The attachments are defined in a struct initializer 233 that is tagged with ``SEC(".struct_ops[.link]")``.
|
| /linux-6.15/Documentation/hid/ |
| H A D | hid-bpf.rst | 160 ``SEC("struct_ops.s/hid_rdesc_fixup")`` in libbpf 182 Available ``struct_ops`` for HID-BPF: 195 Available API that can be used in all HID-BPF struct_ops programs: 249 programs can be attached to the same device. If a HID-BPF struct_ops has a 251 kernel will return `-EINVAL` when attaching the struct_ops. 261 ``SEC("struct_ops/hid_device_event")`` 291 ``SEC("struct_ops/hid_rdesc_fixup")`` 304 Whenever a struct_ops containing a ``SEC("struct_ops/hid_rdesc_fixup")`` program 391 SEC("struct_ops/hid_device_event") 415 SEC(".struct_ops.link") [all …]
|
| /linux-6.15/tools/sched_ext/ |
| H A D | scx_qmap.c | 101 skel->struct_ops.qmap_ops->exit_dump_len = strtoul(optarg, NULL, 0); in main() 107 skel->struct_ops.qmap_ops->flags |= SCX_OPS_SWITCH_PARTIAL; in main()
|
| H A D | README.md | 112 SEC(".struct_ops.link")
|
| /linux-6.15/tools/testing/selftests/sched_ext/ |
| H A D | numa.c | 20 skel->struct_ops.numa_ops->flags = SCX_OPS_BUILTIN_IDLE_PER_NODE; in setup()
|
| H A D | init_enable_count.c | 32 skel->struct_ops.init_enable_count_ops->flags |= SCX_OPS_SWITCH_PARTIAL; in run_test()
|
| /linux-6.15/samples/hid/ |
| H A D | hid_mouse.c | 115 skel->struct_ops.mouse_invert->hid_id = hid_id; in main()
|
| H A D | hid_surface_dial.c | 175 skel->struct_ops.surface_dial->hid_id = hid_id; in main()
|
| /linux-6.15/Documentation/bpf/ |
| H A D | bpf_licensing.rst | 79 Congestion Control (struct_ops), as of Aug 2021 - are required to be GPL 83 and struct_ops BPF programs are implicitly calling "GPL only" functions.
|
| H A D | kfuncs.rst | 241 1. Pointers which are passed as tracepoint or struct_ops callback arguments. 520 struct_ops callback arg. For example:
|
| /linux-6.15/tools/sched_ext/include/scx/ |
| H A D | user_exit_info.h | 64 u32 __len = (__skel)->struct_ops.__ops_name->exit_dump_len ?: UEI_DUMP_DFL_LEN; \
|
| H A D | compat.h | 163 __skel->struct_ops.__ops_name->hotplug_seq = scx_hotplug_seq(); \
|
| /linux-6.15/include/linux/ |
| H A D | bpf_types.h | 155 BPF_LINK_TYPE(BPF_LINK_TYPE_STRUCT_OPS, struct_ops)
|
| /linux-6.15/kernel/ |
| H A D | Kconfig.preempt | 170 sched_ext leverages BPF struct_ops feature to define a structure 172 wish to implement scheduling policies. The struct_ops structure
|
| /linux-6.15/tools/bpf/bpftool/bash-completion/ |
| H A D | bpftool | 495 cgroup/setsockopt cgroup/sock_release struct_ops \ 589 struct_ops) 598 _bpftool_get_map_ids_for_type struct_ops 601 _bpftool_get_map_names_for_type struct_ops
|
| /linux-6.15/Documentation/scheduler/ |
| H A D | sched-ext.rst | 138 * simple_select_cpu() struct_ops prog. 163 * if the implementation just didn't define the simple_enqueue struct_ops 185 SEC(".struct_ops")
|
| /linux-6.15/tools/bpf/bpftool/ |
| H A D | link.c | 538 info->struct_ops.map_id); in show_link_close_json() 599 printf("map %u ", info->struct_ops.map_id); in show_link_header_plain()
|
| /linux-6.15/kernel/bpf/ |
| H A D | bpf_struct_ops.c | 1226 info->struct_ops.map_id = map->id; in bpf_struct_ops_map_link_fill_link_info()
|