Home
last modified time | relevance | path

Searched refs:PciDeviceStructure (Results 1 – 3 of 3) sorted by relevance

/DragonOS-0.1.7/kernel/src/driver/virtio/
Dvirtio.rs6 get_pci_device_structure_mut, PciDeviceStructure, PCI_DEVICE_LINKEDLIST,
75 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in virtio_device_search() argument
87 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_virtio_net_device() argument
Dtransport_pci.rs4 BusDeviceFunction, PciDeviceStructure, PciDeviceStructureGeneralDevice, PciError,
/DragonOS-0.1.7/kernel/src/driver/pci/
Dpci.rs71 list: RwLock<LinkedList<Box<dyn PciDeviceStructure>>>,
83 pub fn read(&self) -> RwLockReadGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in read() argument
88 pub fn write(&self) -> RwLockWriteGuard<LinkedList<Box<dyn PciDeviceStructure>>> { in write() argument
98 pub fn add(&self, device: Box<dyn PciDeviceStructure>) { in add() argument
110 list: &'a mut RwLockWriteGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure_mut() argument
113 ) -> Vec<&'a mut Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure_mut() argument
129 list: &'a mut RwLockReadGuard<'_, LinkedList<Box<dyn PciDeviceStructure>>>, in get_pci_device_structure() argument
132 ) -> Vec<&'a Box<(dyn PciDeviceStructure)>> { in get_pci_device_structure() argument
264 pub trait PciDeviceStructure: Send + Sync { interface
382 impl PciDeviceStructure for PciDeviceStructureGeneralDevice {
[all …]