Home
last modified time | relevance | path

Searched refs:queue (Results 1 – 10 of 10) sorted by relevance

/DragonOS/kernel/src/driver/virtio/
H A Dtransport.rs100 fn max_queue_size(&mut self, queue: u16) -> u32 { in max_queue_size()
102 VirtIOTransport::Pci(transport) => transport.max_queue_size(queue), in max_queue_size()
103 VirtIOTransport::Mmio(transport) => transport.max_queue_size(queue), in max_queue_size()
108 fn notify(&mut self, queue: u16) { in notify()
110 VirtIOTransport::Pci(transport) => transport.notify(queue), in notify()
111 VirtIOTransport::Mmio(transport) => transport.notify(queue), in notify()
150 queue: u16, in queue_set()
158 transport.queue_set(queue, size, descriptors, driver_area, device_area) in queue_set()
161 transport.queue_set(queue, size, descriptors, driver_area, device_area) in queue_set()
167 fn queue_unset(&mut self, queue: u16) { in queue_unset()
[all …]
H A Dtransport_mmio.rs103 fn max_queue_size(&mut self, queue: u16) -> u32 { in max_queue_size()
104 self.mmio_transport.max_queue_size(queue) in max_queue_size()
107 fn notify(&mut self, queue: u16) { in notify()
108 self.mmio_transport.notify(queue) in notify()
129 queue: u16, in queue_set()
136 .queue_set(queue, size, descriptors, driver_area, device_area) in queue_set()
139 fn queue_unset(&mut self, queue: u16) { in queue_unset()
140 self.mmio_transport.queue_unset(queue) in queue_unset()
143 fn queue_used(&mut self, queue: u16) -> bool { in queue_used()
144 self.mmio_transport.queue_used(queue) in queue_used()
H A Dtransport_pci.rs270 fn max_queue_size(&mut self, queue: u16) -> u32 { in max_queue_size()
272 volwrite!(self.common_cfg, queue_select, queue); in max_queue_size()
277 fn notify(&mut self, queue: u16) { in notify()
281 volwrite!(self.common_cfg, queue_select, queue); in notify()
287 addr_of_mut!((*self.notify_region.as_ptr())[index]).vwrite(queue); in notify()
313 queue: u16, in queue_set()
322 volwrite!(self.common_cfg, queue_select, queue); in queue_set()
328 if queue == QUEUE_RECEIVE { in queue_set()
339 fn queue_unset(&mut self, queue: u16) { in queue_unset()
343 volwrite!(self.common_cfg, queue_select, queue); in queue_unset()
[all …]
/DragonOS/build-scripts/kernel_build/src/utils/
H A Dmod.rs16 let mut queue: Vec<PathBuf> = Vec::new(); in list_all_files() localVariable
18 queue.push(path.clone()); in list_all_files()
20 while !queue.is_empty() { in list_all_files()
21 let path = queue.pop().unwrap(); in list_all_files()
40 queue.push(ent.path()); in list_all_files()
/DragonOS/kernel/src/ipc/
H A Dsignal_types.rs366 queue: SigQueue, field
379 pub fn queue(&self) -> &SigQueue { in queue() method
380 &self.queue in queue()
384 &mut self.queue in queue_mut()
458 self.queue.q.retain(filter); in flush_by_mask()
H A Dsignal.rs132 else if !self.is_rt_signal() && pending.queue().find(*self).0.is_some() { in send_signal()
/DragonOS/kernel/src/driver/net/
H A Dloopback.rs93 queue: VecDeque<Vec<u8>>, field
100 let queue = VecDeque::new(); in new() localVariable
101 Loopback { queue } in new()
112 let buffer = self.queue.pop_front(); in loopback_receive()
131 self.queue.push_back(buffer) in loopback_transmit()
/DragonOS/kernel/src/bpf/map/
H A Dmod.rs4 mod queue; module
224 let queue_map = queue::QueueMap::new(&map_meta)?; in bpf_map_create()
228 let stack_map = queue::StackMap::new(&map_meta)?; in bpf_map_create()
/DragonOS/
H A Dtriagebot.toml107 message = "`triagebot.toml` has been modified, there may have been changes to the review queue."
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.10.md615 * 修改wakeup函数获取running queue时unwrap一个None值发生panic