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.h179 static inline bool __COMPAT_struct_has_field(const char *type, const char *field) in __COMPAT_struct_has_field() function
280 SCX_BUG_ON(!__COMPAT_struct_has_field(__ops_struct, "dump"), \
295 !__COMPAT_struct_has_field("sched_ext_ops", "cgroup_set_bandwidth")) { \
300 !__COMPAT_struct_has_field("sched_ext_ops", "cgroup_set_idle")) { \
305 !__COMPAT_struct_has_field("sched_ext_ops", "sub_attach")) { \
310 !__COMPAT_struct_has_field("sched_ext_ops", "sub_detach")) { \
315 !__COMPAT_struct_has_field("sched_ext_ops", "sub_cgroup_id")) { \
320 !__COMPAT_struct_has_field("sched_ext_ops", "rescue_bandwidth_ppt")) { \
325 !__COMPAT_struct_has_field("sched_ext_ops", "rescue_quantum_us")) { \
/linux/tools/testing/selftests/sched_ext/
H A Drt_stall.c122 if (!__COMPAT_struct_has_field("rq", "ext_server")) { in setup()