Home
last modified time | relevance | path

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

/external/libchrome/sandbox/linux/seccomp-bpf-helpers/
Dbaseline_policy_unittest.cc297 const int original_prio = getpriority(PRIO_PROCESS, 0); in BPF_TEST_C()
303 int rc = getpriority(PRIO_PROCESS, getpid()); in BPF_TEST_C()
306 rc = getpriority(PRIO_PROCESS, getpid() + 1); in BPF_TEST_C()
310 rc = setpriority(PRIO_PROCESS, 0, original_prio); in BPF_TEST_C()
313 rc = setpriority(PRIO_PROCESS, getpid(), original_prio); in BPF_TEST_C()
317 rc = setpriority(PRIO_PROCESS, getpid() + 1, original_prio); in BPF_TEST_C()
Dsyscall_parameters_restrictions.cc266 return If(which == PRIO_PROCESS, in RestrictGetSetpriority()
/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/libchrome/base/threading/
Dplatform_thread_posix.cc227 if (setpriority(PRIO_PROCESS, 0, nice_setting)) { in SetCurrentThreadPriority()
250 int nice_value = getpriority(PRIO_PROCESS, 0); in GetCurrentThreadPriority()
/external/toybox/toys/posix/
Drenice.c25 ((toys.optflags & FLAG_u) ? PRIO_USER : PRIO_PROCESS);
/external/kernel-headers/original/uapi/linux/
Dresource.h57 #define PRIO_PROCESS 0 macro
/external/drm_hwcomposer/
Dworker.cpp167 setpriority(PRIO_PROCESS, 0, worker->priority_); in InternalRoutine()
/external/libchrome/base/process/
Dprocess_posix.cc373 return getpriority(PRIO_PROCESS, process_); in GetPriority()
/external/tcpdump/
Dtcpdump.c2194 setpriority(PRIO_PROCESS, 0, NZERO - 1); in compress_savefile()
2196 setpriority(PRIO_PROCESS, 0, 19); in compress_savefile()
/external/ppp/pppd/
Dmain.c1899 if (setpriority (PRIO_PROCESS, 0, 0) < 0)