Home
last modified time | relevance | path

Searched refs:PRIO_USER (Results 1 – 25 of 46) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/
Dmisc_getpriority_test.cpp11 priorityNum = getpriority(PRIO_USER, getuid()); in SetUp()
20 setpriority(PRIO_USER, getuid(), priorityNum); in TearDown()
66 int result1 = setpriority(PRIO_USER, getuid(), PRIORITY);
68 int result2 = getpriority(PRIO_USER, getuid());
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Dgetpriority.c43 ret = getpriority(PRIO_USER, getuid()); in getpriority_0100()
80 ret = setpriority(PRIO_USER, getuid(), i); in getpriority_0200()
84 ret = getpriority(PRIO_USER, getuid()); in getpriority_0200()
/third_party/ltp/testcases/kernel/syscalls/setpriority/
Dsetpriority01.c30 {PRIO_USER, &uid}
40 case PRIO_USER: in str_which()
83 if (tc->which == PRIO_USER && !user_added) { in verify_setpriority()
Dsetpriority02.c47 {PRIO_USER, INVAL_ID, NEW_PRIO, ESRCH, 0},
/third_party/ltp/testcases/kernel/syscalls/getpriority/
Dgetpriority01.c27 {PRIO_USER, -20, 0}
Dgetpriority02.c35 {PRIO_USER, 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.c12 C(PRIO_USER) in f()
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dresource.h66 #define PRIO_USER 2 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dresource.h66 #define PRIO_USER 2 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dresource.h66 #define PRIO_USER 2 macro
/third_party/musl/include/sys/
Dresource.h66 #define PRIO_USER 2 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dresource.h66 #define PRIO_USER 2 macro
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dsyscalls.rs28 rlimit64, PRIO_PGRP, PRIO_PROCESS, PRIO_USER, RLIM64_INFINITY, RLIM_INFINITY,
264 c_uint(PRIO_USER), in getpriority_user()
299 c_uint(PRIO_USER), in setpriority_user()
/third_party/rust/crates/rustix/src/backend/libc/process/
Dsyscalls.rs238 let r = unsafe { c::getpriority(c::PRIO_USER, uid.as_raw() as _) }; in getpriority_user()
273 unsafe { ret(c::setpriority(c::PRIO_USER, uid.as_raw() as _, priority)) } in setpriority_user()
/third_party/rust/crates/libc/src/unix/linux_like/linux/uclibc/
Dmod.rs236 pub const PRIO_USER: ::c_int = 2; constant
/third_party/rust/crates/libc/libc-test/semver/
Dunix.txt275 PRIO_USER
Dandroid.txt1750 PRIO_USER
/third_party/rust/crates/libc/src/unix/newlib/
Dmod.rs583 pub const PRIO_USER: ::c_int = 2; constant
/third_party/rust/crates/libc/src/unix/linux_like/linux/musl/
Dmod.rs636 pub const PRIO_USER: ::c_int = 2; constant
/third_party/rust/crates/libc/src/unix/bsd/
Dmod.rs538 pub const PRIO_USER: ::c_int = 2; constant
/third_party/rust/crates/libc/src/unix/hermit/
Dmod.rs944 pub const PRIO_USER: ::c_int = 2; constant
/third_party/rust/crates/libc/src/unix/redox/
Dmod.rs914 pub const PRIO_USER: ::c_int = 2; constant
/third_party/rust/crates/libc/src/unix/linux_like/linux/gnu/
Dmod.rs638 pub const PRIO_USER: ::__priority_which_t = 2; constant
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
Dmod.rs1670 pub const PRIO_USER: ::c_int = 2; constant

12