Lines Matching refs:__skel
144 struct __scx_name *__skel; \
149 __skel = __scx_name##__open(); \
150 SCX_BUG_ON(!__skel, "Could not open " #__scx_name); \
151 __skel->struct_ops.__ops_name->hotplug_seq = scx_hotplug_seq(); \
152 __skel; \
155 #define SCX_OPS_LOAD(__skel, __ops_name, __scx_name, __uei_name) ({ \ argument
156 UEI_SET_SIZE(__skel, __ops_name, __uei_name); \
157 SCX_BUG_ON(__scx_name##__load((__skel)), "Failed to load skel"); \
171 #define __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name) \ argument
172 bpf_map__set_autoattach((__skel)->maps.__ops_name, false)
174 #define __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name) do {} while (0) argument
177 #define SCX_OPS_ATTACH(__skel, __ops_name, __scx_name) ({ \ argument
179 __SCX_OPS_DISABLE_AUTOATTACH(__skel, __ops_name); \
180 SCX_BUG_ON(__scx_name##__attach((__skel)), "Failed to attach skel"); \
181 __link = bpf_map__attach_struct_ops((__skel)->maps.__ops_name); \