Home
last modified time | relevance | path

Searched refs:setpriority_closest (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/
Dtest-process-util.c756 TEST(setpriority_closest) { in TEST() argument
785 assert_se(setpriority_closest(p) > 0); in TEST()
793 assert_se(setpriority_closest(++p) > 0); in TEST()
802 assert_se(setpriority_closest(++p) > 0); in TEST()
811 assert_se(setpriority_closest(-10) > 0); in TEST()
816 assert_se(setpriority_closest(-9) > 0); in TEST()
822 assert_se(setpriority_closest(-11) == 0); in TEST()
827 assert_se(setpriority_closest(-8) > 0); in TEST()
833 assert_se(setpriority_closest(-12) == 0); in TEST()
/systemd-251/src/basic/
Dprocess-util.h189 int setpriority_closest(int priority);
Dprocess-util.c1526 int setpriority_closest(int priority) { in setpriority_closest() function
/systemd-251/src/core/
Dexecute.c4416 r = setpriority_closest(context->nice); in exec_child()