Home
last modified time | relevance | path

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

123

/external/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority02.c57 {PRIO_PROCESS, INVAL_ID, NEW_PRIO, ESRCH, 0},
61 {PRIO_PROCESS, 0, NEW_PRIO, EACCES, 1},
64 {PRIO_PROCESS, INIT_PID, NEW_PRIO, EPERM, 1}
Dsetpriority01.c40 {PRIO_PROCESS, &pid},
48 case PRIO_PROCESS: in str_which()
/external/strace/xlat/
Dpriorities.h17 #if defined(PRIO_PROCESS) || (defined(HAVE_DECL_PRIO_PROCESS) && HAVE_DECL_PRIO_PROCESS)
18 XLAT(PRIO_PROCESS),
Dpriorities.in1 PRIO_PROCESS
/external/strace/tests/
Dxetpriority.c14 long rc = syscall(__NR_getpriority, PRIO_PROCESS, in main()
18 rc = syscall(__NR_setpriority, PRIO_PROCESS, in main()
/external/strace/tests-m32/
Dxetpriority.c14 long rc = syscall(__NR_getpriority, PRIO_PROCESS, in main()
18 rc = syscall(__NR_setpriority, PRIO_PROCESS, in main()
/external/strace/tests-mx32/
Dxetpriority.c14 long rc = syscall(__NR_getpriority, PRIO_PROCESS, in main()
18 rc = syscall(__NR_setpriority, PRIO_PROCESS, in main()
/external/ltp/testcases/kernel/syscalls/nice/
Dnice03.c38 orig_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in nice_test()
52 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in nice_test()
Dnice01.c38 orig_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
53 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
Dnice02.c51 new_nice = SAFE_GETPRIORITY(PRIO_PROCESS, 0); in verify_nice()
/external/iperf3/src/
Dmain.c69 int rc = setpriority(PRIO_PROCESS, 0, -15); in main()
74 rc = setpriority(PRIO_PROCESS, 0, 0); in main()
/external/libchrome/base/threading/
Dplatform_thread_posix.cc269 if (setpriority(PRIO_PROCESS, 0, nice_setting)) { in SetCurrentThreadPriority()
292 int nice_value = getpriority(PRIO_PROCESS, 0); in GetCurrentThreadPriority()
Dplatform_thread_linux.cc163 if (setpriority(PRIO_PROCESS, thread_id, nice_setting)) { in SetThreadPriority()
/external/ltp/testcases/kernel/syscalls/getpriority/
Dgetpriority01.c37 {PRIO_PROCESS, 0, 0},
Dgetpriority02.c45 {PRIO_PROCESS, INVAL_ID, ESRCH},
/external/toybox/toys/posix/
Drenice.c25 ((toys.optflags & FLAG_u) ? PRIO_USER : PRIO_PROCESS);
/external/kernel-headers/original/uapi/linux/
Dresource.h58 #define PRIO_PROCESS 0 macro
/external/drm_hwcomposer/
Dworker.cpp80 setpriority(PRIO_PROCESS, 0, priority_); in InternalRoutine()
/external/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()
Dsched_tc2.c134 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
Dsched_tc4.c138 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
/external/syzkaller/sys/netbsd/
Dsys_amd64.const60 PRIO_PROCESS = 0
/external/syzkaller/sys/freebsd/
Dsys_amd64.const82 PRIO_PROCESS = 0

123