Home
last modified time | relevance | path

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

/DragonOS-0.1.7/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.7/kernel/src/driver/pci/
Dpci.rs83 pub fn read(&self) -> RwLockReadGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in read()
88 pub fn write(&self) -> RwLockWriteGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in write()
98 pub fn add(&self, device: Box<dyn PciDeviceStructure>) { in add()
110 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure_mut()
113 ) -> Vec<&'a mut Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure_mut()
129 list: &'a mut RwLockReadGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure()
132 ) -> Vec<&'a Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure()
264 pub trait PciDeviceStructure: Send + Sync { trait
650 ) -> Result<Box<dyn PciDeviceStructure>, PciError> { in pci_read_header()