Lines Matching refs:__ops_name
165 #define SCX_OPS_OPEN(__ops_name, __scx_name) ({ \ argument
173 __skel->struct_ops.__ops_name->hotplug_seq = scx_hotplug_seq(); \
175 if (__skel->struct_ops.__ops_name->cgroup_set_bandwidth && \
178 __skel->struct_ops.__ops_name->cgroup_set_bandwidth = NULL; \
180 if (__skel->struct_ops.__ops_name->cgroup_set_idle && \
183 __skel->struct_ops.__ops_name->cgroup_set_idle = NULL; \
185 if (__skel->struct_ops.__ops_name->sub_attach && \
188 __skel->struct_ops.__ops_name->sub_attach = NULL; \
190 if (__skel->struct_ops.__ops_name->sub_detach && \
193 __skel->struct_ops.__ops_name->sub_detach = NULL; \
195 if (__skel->struct_ops.__ops_name->sub_cgroup_id > 0 && \
198 __skel->struct_ops.__ops_name->sub_cgroup_id = 0; \
228 #define SCX_OPS_LOAD(__skel, __ops_name, __scx_name, __uei_name) ({ \ argument
230 UEI_SET_SIZE(__skel, __ops_name, __uei_name); \
235 __scx_ops_assoc_prog(__prog, (__skel)->maps.__ops_name, \
236 #__ops_name); \
251 #define __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name) \ argument
252 bpf_map__set_autoattach((__skel)->maps.__ops_name, false)
254 #define __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name) do {} while (0) argument
257 #define SCX_OPS_ATTACH(__skel, __ops_name, __scx_name) ({ \ argument
259 __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name); \
261 __link = bpf_map__attach_struct_ops((__skel)->maps.__ops_name); \