Home
last modified time | relevance | path

Searched refs:drivers (Results 1 – 7 of 7) sorted by relevance

/DragonOS/kernel/src/driver/base/
H A Dsubsys.rs43 drivers: RwLock<Vec<Arc<dyn Driver>>>, field
80 drivers: RwLock::new(Vec::new()), in new()
124 pub fn drivers(&self) -> RwLockReadGuard<Vec<Arc<dyn Driver>>> { in drivers() method
125 return self.drivers.read(); in drivers()
168 let mut drivers = self.drivers.write(); in add_driver_to_vec() localVariable
169 if drivers.iter().any(|d| Arc::ptr_eq(d, driver)) { in add_driver_to_vec()
172 drivers.push(driver.clone()); in add_driver_to_vec()
177 let mut drivers = self.drivers.write(); in remove_driver_from_vec() localVariable
178 let index = drivers.iter().position(|d| Arc::ptr_eq(d, driver)); in remove_driver_from_vec()
180 drivers.remove(index); in remove_driver_from_vec()
/DragonOS/kernel/
H A DCargo.toml59 virtio-drivers = { git = "https://git.mirrors.dragonos.org.cn/DragonOS-Community/virtio-drivers", r…
/DragonOS/docs/kernel/filesystem/
H A Dsysfs.md56 drivers: BTreeMap<IdTable, Arc<dyn Driver>>, // 所有驱动
/DragonOS/docs/community/ChangeLog/V0.1.x/
H A DV0.1.6.md274 * 使用virtio-drivers 0.3.0
H A DV0.1.10.md79 - chore: Update virtio-drivers to commit 61ece509c4 and modify max_queue_size implementation (#748)
408 … chore: Update virtio-drivers to commit 61ece509c4 and modify max_queue_size implementation (#748)
/DragonOS/kernel/src/driver/base/device/
H A Ddd.rs97 for driver in bus.subsystem().drivers().iter() { in do_device_attach()
H A Dbus.rs223 let guard = subsys.drivers(); in find_driver()