Home
last modified time | relevance | path

Searched refs:set_priority (Results 1 – 24 of 24) sorted by relevance

/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
D3-1.c63 static int set_priority(pthread_t pid, unsigned policy, unsigned prio) in set_priority() function
82 set_priority(pthread_self(), TRD_POLICY, priority); in fn_rd()
117 set_priority(pthread_self(), TRD_POLICY, priority); in fn_wr_1()
154 set_priority(pthread_self(), TRD_POLICY, priority); in fn_wr_2()
196 set_priority(pthread_self(), TRD_POLICY, priority); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
D2-3.c62 static int set_priority(pthread_t pid, unsigned policy, unsigned prio) in set_priority() function
81 set_priority(pthread_self(), TRD_POLICY, priority); in fn_rd()
112 set_priority(pthread_self(), TRD_POLICY, priority); in fn_wr()
150 set_priority(pthread_self(), TRD_POLICY, priority); in main()
D2-1.c62 static int set_priority(pthread_t pid, unsigned policy, unsigned prio) in set_priority() function
81 set_priority(pthread_self(), TRD_POLICY, priority); in fn_rd()
112 set_priority(pthread_self(), TRD_POLICY, priority); in fn_wr()
149 set_priority(pthread_self(), TRD_POLICY, priority); in main()
D2-2.c62 static int set_priority(pthread_t pid, unsigned policy, unsigned prio) in set_priority() function
81 set_priority(pthread_self(), TRD_POLICY, priority); in fn_rd()
112 set_priority(pthread_self(), TRD_POLICY, priority); in fn_wr()
149 set_priority(pthread_self(), TRD_POLICY, priority); in main()
/third_party/ltp/testcases/kernel/sched/tool/
Dtrace_sched.c196 static int set_priority; /* set the priority of the proc by this value. */ in thread_func() local
220 set_priority = (min_priority + (int)((float)max_priority in thread_func()
223 ssp.sched_priority = set_priority; in thread_func()
264 max_priority, min_priority, set_priority, in thread_func()
268 locargptr->exp_prio = set_priority; in thread_func()
/third_party/ltp/testcases/realtime/func/matrix_mult/
Dmatrix_mult.c237 set_priority(PRIO); in main_thread()
337 set_priority(PRIO); in main()
/third_party/ltp/testcases/realtime/include/
Dlibrttest.h264 int set_priority(int prio);
/third_party/ltp/testcases/realtime/func/periodic_cpu_load/
Dperiodic_cpu_load_single.c214 set_priority(prio); in main()
/third_party/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c162 if (set_priority(high_prio + 1) < 0) { in main()
/third_party/ltp/testcases/realtime/lib/
Dlibrttest.c356 int set_priority(int prio) in set_priority() function
/third_party/rust/crates/linux-raw-sys/src/riscv64/
Dgeneral.rs3134 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/aarch64/
Dgeneral.rs3135 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/riscv32/
Dgeneral.rs3114 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/x86_64/
Dgeneral.rs3176 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/arm/
Dgeneral.rs3218 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
Dgeneral.rs3261 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/sparc/
Dgeneral.rs3494 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/s390x/
Dgeneral.rs3198 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/x32/
Dgeneral.rs3165 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/mips/
Dgeneral.rs3394 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/x86/
Dgeneral.rs3248 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/powerpc/
Dgeneral.rs3283 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/sparc64/
Dgeneral.rs3470 pub fn set_priority(&mut self, val: __u8) { in set_priority() method
/third_party/rust/crates/linux-raw-sys/src/mips64/
Dgeneral.rs3330 pub fn set_priority(&mut self, val: __u8) { in set_priority() method