Home
last modified time | relevance | path

Searched refs:__COMPAT_struct_has_field (Results 1 – 2 of 2) sorted by relevance

/linux/tools/sched_ext/include/scx/
H A Dcompat.h82 static inline bool __COMPAT_struct_has_field(const char *type, const char *field) in __COMPAT_struct_has_field() function
168 SCX_BUG_ON(!__COMPAT_struct_has_field("sched_ext_ops", "dump"), \
176 !__COMPAT_struct_has_field("sched_ext_ops", "cgroup_set_bandwidth")) { \
181 !__COMPAT_struct_has_field("sched_ext_ops", "cgroup_set_idle")) { \
186 !__COMPAT_struct_has_field("sched_ext_ops", "sub_attach")) { \
191 !__COMPAT_struct_has_field("sched_ext_ops", "sub_detach")) { \
196 !__COMPAT_struct_has_field("sched_ext_ops", "sub_cgroup_id")) { \
/linux/tools/testing/selftests/sched_ext/
H A Drt_stall.c122 if (!__COMPAT_struct_has_field("rq", "ext_server")) { in setup()