Home
last modified time | relevance | path

Searched refs:RUsage (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/process/
H A Dresource.rs10 pub struct RUsage { struct
146 pub fn get_rusage(&self, _who: RUsageWho) -> Option<RUsage> { in get_rusage() argument
147 let rusage = RUsage::default(); in get_rusage()
H A Dsyscall.rs12 resource::{RLimit64, RLimitID, RUsage, RUsageWho},
163 Some(RUsage::default()) in wait4()
169 let mut rusage_buf = UserBufferWriter::new::<RUsage>( in wait4()
170 rusage as *mut RUsage, in wait4()
171 core::mem::size_of::<RUsage>(), in wait4()
415 pub fn get_rusage(who: i32, rusage: *mut RUsage) -> Result<usize, SystemError> { in get_rusage()
417 let mut writer = UserBufferWriter::new(rusage, core::mem::size_of::<RUsage>(), true)?; in get_rusage()
421 let ubuf = writer.buffer::<RUsage>(0).unwrap(); in get_rusage()
H A Dexit.rs18 abi::WaitOption, pid::PidType, resource::RUsage, Pid, ProcessControlBlock, ProcessManager,
30 pub ret_rusage: Option<&'a mut RUsage>,
60 rusage_buf: Option<&mut RUsage>, in kernel_wait4() argument
/DragonOS/kernel/src/syscall/
H A Dmod.rs15 resource::{RLimit64, RUsage},
931 let rusage = args[1] as *mut RUsage; in handle()