Searched refs:drivers (Results 1 – 7 of 7) sorted by relevance
43 drivers: RwLock<Vec<Arc<dyn Driver>>>, field80 drivers: RwLock::new(Vec::new()), in new()124 pub fn drivers(&self) -> RwLockReadGuard<Vec<Arc<dyn Driver>>> { in drivers() method125 return self.drivers.read(); in drivers()168 let mut drivers = self.drivers.write(); in add_driver_to_vec() localVariable169 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() localVariable178 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()
59 virtio-drivers = { git = "https://git.mirrors.dragonos.org.cn/DragonOS-Community/virtio-drivers", r…
56 drivers: BTreeMap<IdTable, Arc<dyn Driver>>, // 所有驱动
274 * 使用virtio-drivers 0.3.0
79 - 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)
97 for driver in bus.subsystem().drivers().iter() { in do_device_attach()
223 let guard = subsys.drivers(); in find_driver()