Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/driver/base/device/
Ddriver.rs70 let mut driver_manager = self.0.lock(); in add_driver() localVariable
71 driver_manager.drivers.insert(id_table, drv); in add_driver()
80 let mut driver_manager = self.0.lock(); in remove_driver() localVariable
81 driver_manager.drivers.remove(id_table); in remove_driver()
90 let driver_manager = self.0.lock(); in get_driver() localVariable
91 driver_manager.drivers.get(id_table).cloned() in get_driver()