Searched refs:queue (Results 1 – 7 of 7) sorted by relevance
/DragonOS-0.1.7/kernel/src/sched/ |
D | cfs.rs | 45 queue: RBTree<i64, &'static mut process_control_block>, field 55 queue: RBTree::new(), in new() 71 self.queue.insert(pcb.virtual_runtime, pcb); in enqueue() 81 if !self.queue.is_empty() { in dequeue() 83 res = self.queue.pop_first().unwrap().1; in dequeue() 96 if !self.queue.is_empty() { in min_vruntime() 97 return Some(self.queue.get_first().unwrap().1.virtual_runtime); in min_vruntime() 104 return self.queue.len(); in get_cfs_queue_size() 163 if cpu_queue.queue.len() > 0 { in enqueue_reset_vruntime()
|
D | rt.rs | 43 queue: LinkedList<&'static mut process_control_block>, field 49 queue: LinkedList::new(), in new() 63 self.queue.push_back(pcb); in enqueue() 72 if self.queue.len() > 0 { in dequeue() 74 res = Some(self.queue.pop_front().unwrap()); in dequeue() 91 self.queue.push_front(pcb); in enqueue_front() 95 return self.queue.len(); in get_rt_queue_size()
|
/DragonOS-0.1.7/kernel/src/driver/virtio/ |
D | transport_pci.rs | 233 fn notify(&mut self, queue: u16) { in notify() 237 volwrite!(self.common_cfg, queue_select, queue); in notify() 243 addr_of_mut!((*self.notify_region.as_ptr())[index]).vwrite(queue); in notify() 263 queue: u16, in queue_set() 276 volwrite!(self.common_cfg, queue_select, queue); in queue_set() 285 fn queue_unset(&mut self, queue: u16) { in queue_unset() 289 volwrite!(self.common_cfg, queue_select, queue); in queue_unset() 297 fn queue_used(&mut self, queue: u16) -> bool { in queue_used() 301 volwrite!(self.common_cfg, queue_select, queue); in queue_used()
|
/DragonOS-0.1.7/kernel/src/process/ |
D | fork.rs | 120 let queue = Box::from_raw((*pcb).sig_pending.sigqueue as *mut SigQueue); in process_exit_signal() localVariable 121 drop(queue); in process_exit_signal()
|
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/ |
D | errno.md | 101 … #define ENODATA 43 /* 队列头没有可读取的消息 No message is available on the STREAM head read queue.*/
|
/DragonOS-0.1.7/kernel/src/ipc/ |
D | signal_types.rs | 254 pub queue: *mut SigQueue, field
|
D | signal.rs | 595 let (info, still_pending) = unsafe { pending.queue.as_mut() } in collect_signal()
|