Home
last modified time | relevance | path

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

12

/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.h11 #if defined(PRIO_PROCESS) || (defined(HAVE_DECL_PRIO_PROCESS) && HAVE_DECL_PRIO_PROCESS)
12 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/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dbaseline_policy_unittest.cc311 const int original_prio = getpriority(PRIO_PROCESS, 0); in BPF_TEST_C()
317 int rc = getpriority(PRIO_PROCESS, getpid()); in BPF_TEST_C()
320 rc = getpriority(PRIO_PROCESS, getpid() + 1); in BPF_TEST_C()
324 rc = setpriority(PRIO_PROCESS, 0, original_prio); in BPF_TEST_C()
327 rc = setpriority(PRIO_PROCESS, getpid(), original_prio); in BPF_TEST_C()
331 rc = setpriority(PRIO_PROCESS, getpid() + 1, original_prio); in BPF_TEST_C()
/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/libchrome/base/threading/
Dplatform_thread_posix.cc235 if (setpriority(PRIO_PROCESS, 0, nice_setting)) { in SetCurrentThreadPriority()
258 int nice_value = getpriority(PRIO_PROCESS, 0); in GetCurrentThreadPriority()
/external/toybox/toys/posix/
Drenice.c25 ((toys.optflags & FLAG_u) ? PRIO_USER : PRIO_PROCESS);
/external/ltp/testcases/kernel/syscalls/getpriority/
Dgetpriority01.c37 {PRIO_PROCESS, 0, 0},
Dgetpriority02.c45 {PRIO_PROCESS, INVAL_ID, ESRCH},
/external/kernel-headers/original/uapi/linux/
Dresource.h57 #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()
Dsched_tc5.c135 if (setpriority(PRIO_PROCESS, 0, 0) < 0) in main()
/external/fio/os/
Dos-dragonfly.h152 #define IOPRIO_WHO_PROCESS PRIO_PROCESS
/external/libmojo/base/android/library_loader/
Dlibrary_prefetcher.cc141 setpriority(PRIO_PROCESS, 0, kBackgroundPriority); in ForkAndPrefetchNativeLibrary()

12