Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/sched/
Drt.rs148 let mut sum = 0; in rt_queue_len() localVariable
150 sum += self.cpu_queue[cpu_id as usize][prio as usize].get_rt_queue_size(); in rt_queue_len()
152 return sum as usize; in rt_queue_len()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dsyscall.rs727 let total_len: usize = self.0.iter().map(|slice| slice.len()).sum(); in new_buf()