Lines Matching +full:auto +full:- +full:load
1 /* SPDX-License-Identifier: GPL-2.0 */
44 for (i = 0; i < BTF_INFO_VLEN(t->info); i++) { in __COMPAT_read_enum()
55 for (i = 0; i < BTF_INFO_VLEN(t->info); i++) { in __COMPAT_read_enum()
99 for (i = 0; i < BTF_INFO_VLEN(t->info); i++) { in __COMPAT_struct_has_field()
133 return -ENOENT; in scx_hotplug_seq()
135 len = read(fd, buf, sizeof(buf) - 1); in scx_hotplug_seq()
148 * is used to define ops and compat.h::SCX_OPS_LOAD/ATTACH() are used to load
152 * ec7e3b0463e1 ("implement-ops") in https://github.com/sched-ext/sched_ext is
156 * - v6.17: ops.cgroup_set_bandwidth()
157 * - v6.19: ops.cgroup_set_idle()
167 __skel->struct_ops.__ops_name->hotplug_seq = scx_hotplug_seq(); \
169 if (__skel->struct_ops.__ops_name->cgroup_set_bandwidth && \
172 __skel->struct_ops.__ops_name->cgroup_set_bandwidth = NULL; \
174 if (__skel->struct_ops.__ops_name->cgroup_set_idle && \
177 __skel->struct_ops.__ops_name->cgroup_set_idle = NULL; \
184 SCX_BUG_ON(__scx_name##__load((__skel)), "Failed to load skel"); \
189 * and set up BPF skeleton in such a way that libbpf will auto-attach BPF maps
191 * nothing with those links and won't attempt to auto-attach maps.
199 bpf_map__set_autoattach((__skel)->maps.__ops_name, false)
208 __link = bpf_map__attach_struct_ops((__skel)->maps.__ops_name); \