/third_party/ltp/testcases/kernel/syscalls/setpriority/ |
D | setpriority02.c | 45 {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}
|
D | setpriority01.c | 28 {PRIO_PROCESS, &pid}, 36 case PRIO_PROCESS: in str_which()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | getpriority.c | 33 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()
|
D | setpriority.c | 27 int result = setpriority(PRIO_PROCESS, gettid(), 1); in setpriority_0100()
|
/third_party/musl/src/unistd/ |
D | nice.c | 13 prio += getpriority(PRIO_PROCESS, 0); in nice() 16 if (setpriority(PRIO_PROCESS, 0, prio)) { in nice()
|
/third_party/ltp/testcases/kernel/syscalls/nice/ |
D | nice03.c | 25 orig_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in nice_test() 39 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in nice_test()
|
D | nice01.c | 25 orig_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice() 40 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
|
D | nice02.c | 38 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
|
/third_party/musl/Benchmark/musl/ |
D | libc_syscall.cpp | 150 benchmark::DoNotOptimize(getpriority(PRIO_PROCESS, pid)); in Bm_function_Syscall_getpriority() 157 int prio = getpriority(PRIO_PROCESS, pid); in Bm_function_Syscall_setpriority() 163 benchmark::DoNotOptimize(setpriority(PRIO_PROCESS, pid, prio)); in Bm_function_Syscall_setpriority()
|
/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/ |
D | misc_getpriority_test.cpp | 36 int result1 = setpriority(PRIO_PROCESS, getpid(), PRIORITY); 38 int result2 = getpriority(PRIO_PROCESS, getpid());
|
D | misc_setpriority_test.cpp | 19 int setResult = setpriority(PRIO_PROCESS, getpid(), 1);
|
/third_party/ltp/testcases/kernel/syscalls/getpriority/ |
D | getpriority01.c | 25 {PRIO_PROCESS, 0, 0},
|
D | getpriority02.c | 33 {PRIO_PROCESS, INVAL_ID, ESRCH},
|
/third_party/toybox/toys/posix/ |
D | renice.c | 25 ((toys.optflags & FLAG_u) ? PRIO_USER : PRIO_PROCESS);
|
/third_party/musl/libc-test/src/api/ |
D | sys_resource.c | 10 C(PRIO_PROCESS) in f()
|
/third_party/skia/third_party/externals/angle2/util/posix/ |
D | test_utils_posix.cpp | 354 setpriority(PRIO_PROCESS, getpid(), 10); in SetLowPriorityProcess() 371 setpriority(PRIO_PROCESS, getpid(), -20); in StabilizeCPUForBenchmarking()
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/ndk_musl_include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/musl/include/sys/ |
D | resource.h | 64 #define PRIO_PROCESS 0 macro
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
D | sched_tc1.c | 133 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
|
D | sched_tc0.c | 132 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
|
/third_party/rust/crates/rustix/src/backend/linux_raw/process/ |
D | syscalls.rs | 28 rlimit64, PRIO_PGRP, PRIO_PROCESS, PRIO_USER, RLIM64_INFINITY, RLIM_INFINITY, 288 c_uint(PRIO_PROCESS), in getpriority_process() 323 c_uint(PRIO_PROCESS), in setpriority_process()
|