Searched refs:struct_ops (Results 1 – 25 of 28) sorted by relevance
12
4 bpftool-struct_ops7 tool to register/unregister/introspect BPF struct_ops17 **bpftool** [*OPTIONS*] **struct_ops** *COMMAND*27 | **bpftool** **struct_ops { show | list }** [*STRUCT_OPS_MAP*]28 | **bpftool** **struct_ops dump** [*STRUCT_OPS_MAP*]29 | **bpftool** **struct_ops register** *OBJ* [*LINK_DIR*]30 | **bpftool** **struct_ops unregister** *STRUCT_OPS_MAP*31 | **bpftool** **struct_ops help**39 bpftool struct_ops { show | list } [*STRUCT_OPS_MAP*]40 Show brief information about the struct_ops in the system. If[all …]
24 **btf** | **gen** | **struct_ops** | **iter** }
253 SEC("struct_ops/test_2")259 SEC(".struct_ops")310 } struct_ops;363 skel->struct_ops.testmod_map->data = 13;
57 | | **queue** | **stack** | **sk_storage** | **struct_ops** | **ringbuf** | **inode_storage**
56 | **struct_ops** | **fentry** | **fexit** | **freplace** | **sk_lookup**
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()
128 skel->struct_ops.testmod_1->test_1 = skel->progs.foo; in autoload_and_shadow_vars()
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 initializer233 that is tagged with ``SEC(".struct_ops[.link]")``.
152 HID-BPF is built "on top" of BPF, meaning that we use bpf struct_ops method to157 1. event processing/filtering with ``SEC("struct_ops/hid_device_event")`` in libbpf159 3. change of the report descriptor with ``SEC("struct_ops/hid_rdesc_fixup")`` or160 ``SEC("struct_ops.s/hid_rdesc_fixup")`` in libbpf176 Note that ``hid_rdesc_fixup`` can be declared as sleepable (``SEC("struct_ops.s/hid_rdesc_fixup")``…182 Available ``struct_ops`` for HID-BPF:195 Available API that can be used in all HID-BPF struct_ops programs:201 Available API that can be used in syscall HID-BPF programs or in sleepable HID-BPF struct_ops progr…249 programs can be attached to the same device. If a HID-BPF struct_ops has a251 kernel will return `-EINVAL` when attaching the struct_ops.[all …]
99 skel->struct_ops.qmap_ops->exit_dump_len = strtoul(optarg, NULL, 0); in main()105 skel->struct_ops.qmap_ops->flags |= SCX_OPS_SWITCH_PARTIAL; in main()
112 SEC(".struct_ops.link")
115 skel->struct_ops.mouse_invert->hid_id = hid_id; in main()
175 skel->struct_ops.surface_dial->hid_id = hid_id; in main()
79 Congestion Control (struct_ops), as of Aug 2021 - are required to be GPL83 and struct_ops BPF programs are implicitly calling "GPL only" functions.
241 1. Pointers which are passed as tracepoint or struct_ops callback arguments.520 struct_ops callback arg. For example:
61 u32 __len = (__skel)->struct_ops.__ops_name->exit_dump_len ?: UEI_DUMP_DFL_LEN; \
151 __skel->struct_ops.__ops_name->hotplug_seq = scx_hotplug_seq(); \
27 skel->struct_ops.init_enable_count_ops->flags |= SCX_OPS_SWITCH_PARTIAL; in open_load_prog()
153 sched_ext leverages BPF struct_ops feature to define a structure155 wish to implement scheduling policies. The struct_ops structure
155 BPF_LINK_TYPE(BPF_LINK_TYPE_STRUCT_OPS, struct_ops)
495 cgroup/setsockopt cgroup/sock_release struct_ops \589 struct_ops)598 _bpftool_get_map_ids_for_type struct_ops601 _bpftool_get_map_names_for_type struct_ops
139 * simple_select_cpu() struct_ops prog.164 * if the implementation just didn't define the simple_enqueue struct_ops186 SEC(".struct_ops")
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()
1099 info->struct_ops.map_id = map->id; in bpf_struct_ops_map_link_fill_link_info()
6673 } struct_ops; member