Home
last modified time | relevance | path

Searched refs:SCX_BUG_ON (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/tools/sched_ext/include/scx/
Dcompat.h21 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 …]
Dcommon.h42 #define SCX_BUG_ON(__cond, __fmt, ...) \ macro
/linux-6.12.1/tools/testing/selftests/sched_ext/
Dinit_enable_count.c24 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()
Drunner.c197 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()
Dtest_example.c39 SCX_BUG_ON(!run_called || cleanup_called, "Wrong callbacks invoked"); in cleanup()
/linux-6.12.1/tools/sched_ext/
Dscx_central.c97 SCX_BUG_ON(!cpuset, "Failed to allocate cpuset"); in main()
100 SCX_BUG_ON(sched_setaffinity(0, sizeof(cpuset), cpuset), in main()