Home
last modified time | relevance | path

Searched refs:getpriority_process (Results 1 – 6 of 6) sorted by relevance

/third_party/rust/crates/rustix/tests/process/
Dpriority.rs3 use rustix::process::{getpriority_process, setpriority_process};
12 let get_prio = getpriority_process(None).unwrap(); in test_priorities()
30 let get_prio = getpriority_process(None).unwrap(); in test_priorities()
34 let now = getpriority_process(None).unwrap(); in test_priorities()
42 let now = getpriority_process(None).unwrap(); in test_priorities()
57 let start = getpriority_process(None).unwrap(); in test_priorities()
61 let now = getpriority_process(None).unwrap(); in test_priorities()
66 let now = getpriority_process(None).unwrap(); in test_priorities()
71 let now = getpriority_process(None).unwrap(); in test_priorities()
76 let now = getpriority_process(None).unwrap(); in test_priorities()
[all …]
/third_party/rust/crates/rustix/src/process/
Dpriority.rs71 pub fn getpriority_process(pid: Option<Pid>) -> io::Result<i32> { in getpriority_process() function
72 backend::process::syscalls::getpriority_process(pid) in getpriority_process()
Dmod.rs61 getpriority_pgrp, getpriority_process, getpriority_user, setpriority_pgrp, setpriority_process,
/third_party/rust/crates/rustix/examples/
Dprocess.rs36 println!("Process priority: {}", getpriority_process(None)?); in main()
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dsyscalls.rs246 inc + getpriority_process(None)? in nice()
283 pub(crate) fn getpriority_process(pid: Option<Pid>) -> io::Result<i32> { in getpriority_process() function
/third_party/rust/crates/rustix/src/backend/libc/process/
Dsyscalls.rs260 pub(crate) fn getpriority_process(pid: Option<Pid>) -> io::Result<i32> { in getpriority_process() function