Home
last modified time | relevance | path

Searched defs:PciDeviceStructure (Results 1 – 2 of 2) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/virtio/
Dvirtio.rs75 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in virtio_device_search()
87 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_virtio_net_device()
/DragonOS-0.1.8/kernel/src/driver/pci/
Dpci.rs84 pub fn read(&self) -> RwLockReadGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in read()
89 pub fn write(&self) -> RwLockWriteGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in write()
99 pub fn add(&self, device: Box<dyn PciDeviceStructure>) { in add()
111 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure_mut()
114 ) -> Vec<&'a mut Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure_mut()
130 list: &'a mut RwLockReadGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure()
133 ) -> Vec<&'a Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure()
271 pub trait PciDeviceStructure: Send + Sync { interface
740 ) -> Result<Box<dyn PciDeviceStructure>, PciError> { in pci_read_header()