Home
last modified time | relevance | path

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

123

/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.c13 prio += getpriority(PRIO_PROCESS, 0); in nice()
16 if (setpriority(PRIO_PROCESS, 0, 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/musl/Benchmark/musl/
Dlibc_syscall.cpp150 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/
Dmisc_getpriority_test.cpp36 int result1 = setpriority(PRIO_PROCESS, getpid(), PRIORITY);
38 int result2 = getpriority(PRIO_PROCESS, getpid());
Dmisc_setpriority_test.cpp19 int setResult = setpriority(PRIO_PROCESS, getpid(), 1);
/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/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/musl/porting/liteos_a/kernel/include/sys/
Dresource.h64 #define PRIO_PROCESS 0 macro
/third_party/musl/porting/uniproton/kernel/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_m/kernel/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/include/sys/
Dresource.h64 #define PRIO_PROCESS 0 macro
/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()
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dsyscalls.rs28 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()

123