Home
last modified time | relevance | path

Searched refs:PRIO_PROCESS (Results 1 – 25 of 37) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority02.c45 {PRIO_PROCESS, INVAL_ID, NEW_PRIO, ESRCH, 0},
49 {PRIO_PROCESS, 0, NEW_PRIO, EACCES, 1},
52 {PRIO_PROCESS, INIT_PID, NEW_PRIO, EPERM, 1}
Dsetpriority01.c28 {PRIO_PROCESS, &pid},
36 case PRIO_PROCESS: in str_which()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dgetpriority.c33 int ret = getpriority(PRIO_PROCESS, getpid()); in getpriority_0100()
58 ret = setpriority(PRIO_PROCESS, getpid(), i); in getpriority_0200()
62 ret = getpriority(PRIO_PROCESS, getpid()); in getpriority_0200()
Dsetpriority.c27 int result = setpriority(PRIO_PROCESS, gettid(), 1); in setpriority_0100()
/third_party/musl/src/unistd/
Dnice.c12 prio += getpriority(PRIO_PROCESS, 0); in nice()
15 return setpriority(PRIO_PROCESS, 0, prio) ? -1 : prio; in nice()
/third_party/ltp/testcases/kernel/syscalls/nice/
Dnice03.c25 orig_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in nice_test()
39 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in nice_test()
Dnice01.c25 orig_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
40 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
Dnice02.c38 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
/third_party/flutter/skia/third_party/externals/angle2/util/posix/
DPosix_system_utils.cpp47 setpriority(PRIO_PROCESS, getpid(), 10); in SetLowPriorityProcess()
64 setpriority(PRIO_PROCESS, getpid(), -20); in StabilizeCPUForBenchmarking()
/third_party/flutter/engine/flutter/shell/platform/ohos/
Dohos_shell_holder.cc118 if (::setpriority(PRIO_PROCESS, gettid(), -5) != 0) { in OhosShellHolder()
119 if (::setpriority(PRIO_PROCESS, gettid(), -2) != 0) { in OhosShellHolder()
125 if (::setpriority(PRIO_PROCESS, gettid(), -1) != 0) { in OhosShellHolder()
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_shell_holder.cc121 if (::setpriority(PRIO_PROCESS, gettid(), -5) != 0) { in AndroidShellHolder()
124 if (::setpriority(PRIO_PROCESS, gettid(), -2) != 0) { in AndroidShellHolder()
130 if (::setpriority(PRIO_PROCESS, gettid(), -1) != 0) { in AndroidShellHolder()
/third_party/ltp/testcases/kernel/syscalls/getpriority/
Dgetpriority01.c25 {PRIO_PROCESS, 0, 0},
Dgetpriority02.c33 {PRIO_PROCESS, INVAL_ID, ESRCH},
/third_party/toybox/toys/posix/
Drenice.c25 ((toys.optflags & FLAG_u) ? PRIO_USER : PRIO_PROCESS);
/third_party/musl/libc-test/src/api/
Dsys_resource.c10 C(PRIO_PROCESS) in f()
/third_party/musl/porting/uniproton/kernel/include/sys/
Dresource.h64 #define PRIO_PROCESS 0 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dresource.h64 #define PRIO_PROCESS 0 macro
/third_party/musl/include/sys/
Dresource.h64 #define PRIO_PROCESS 0 macro
/third_party/musl/ndk_musl_include/sys/
Dresource.h64 #define PRIO_PROCESS 0 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dresource.h64 #define PRIO_PROCESS 0 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dresource.h64 #define PRIO_PROCESS 0 macro
/third_party/skia/third_party/externals/angle2/util/posix/
Dtest_utils_posix.cpp354 setpriority(PRIO_PROCESS, getpid(), 10); in SetLowPriorityProcess()
371 setpriority(PRIO_PROCESS, getpid(), -20); in StabilizeCPUForBenchmarking()
/third_party/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc1.c133 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc0.c132 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc3.c136 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()

12