Searched refs:SCX_BUG_ON (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/tools/sched_ext/include/scx/ |
D | compat.h | 21 SCX_BUG_ON(!__COMPAT_vmlinux_btf, "btf__load_vmlinux_btf()"); in __COMPAT_load_vmlinux_btf() 39 SCX_BUG_ON(!t, "btf__type_by_id(%d)", tid); in __COMPAT_read_enum() 46 SCX_BUG_ON(!n, "btf__name_by_offset()"); in __COMPAT_read_enum() 57 SCX_BUG_ON(!n, "btf__name_by_offset()"); in __COMPAT_read_enum() 95 SCX_BUG_ON(!t, "btf__type_by_id(%d)", tid); in __COMPAT_struct_has_field() 101 SCX_BUG_ON(!n, "btf__name_by_offset()"); in __COMPAT_struct_has_field() 124 SCX_BUG_ON(len <= 0, "read failed (%ld)", len); in scx_hotplug_seq() 129 SCX_BUG_ON(val < 0, "invalid num hotplug events: %lu", val); in scx_hotplug_seq() 146 SCX_BUG_ON(!__COMPAT_struct_has_field("sched_ext_ops", "dump"), \ 150 SCX_BUG_ON(!__skel, "Could not open " #__scx_name); \ [all …]
|
D | common.h | 42 #define SCX_BUG_ON(__cond, __fmt, ...) \ macro
|
/linux-6.12.1/tools/testing/selftests/sched_ext/ |
D | init_enable_count.c | 24 SCX_BUG_ON(!skel, "Failed to open skel"); in open_load_prog() 29 SCX_BUG_ON(init_enable_count__load(skel), "Failed to load skel"); in open_load_prog() 85 SCX_BUG_ON(ret, "Failed to set sched to sched_ext"); in run_test() 95 SCX_BUG_ON(ret, "Failed to reset sched to normal"); in run_test()
|
D | runner.c | 197 SCX_BUG_ON(!test_valid(test), "Invalid test found"); in scx_test_register() 198 SCX_BUG_ON(__scx_num_tests >= MAX_SCX_TESTS, "Maximum tests exceeded"); in scx_test_register()
|
D | test_example.c | 39 SCX_BUG_ON(!run_called || cleanup_called, "Wrong callbacks invoked"); in cleanup()
|
/linux-6.12.1/tools/sched_ext/ |
D | scx_central.c | 97 SCX_BUG_ON(!cpuset, "Failed to allocate cpuset"); in main() 100 SCX_BUG_ON(sched_setaffinity(0, sizeof(cpuset), cpuset), in main()
|