Home
last modified time | relevance | path

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

/DragonOS/kernel/src/driver/base/map/
H A Dmod.rs35 pub struct LockedKObjMap(SpinLock<KObjMap>); struct
37 impl Default for LockedKObjMap { implementation
60 domain: Arc<LockedKObjMap>, in kobj_map() argument
85 pub fn kobj_unmap(domain: Arc<LockedKObjMap>, dev_t: DeviceNumber, range: usize) { in kobj_unmap() argument
106 pub fn kobj_lookup(domain: Arc<LockedKObjMap>, dev_t: DeviceNumber) -> Option<Arc<dyn KObject>> { in kobj_lookup() argument
/DragonOS/kernel/src/driver/base/device/
H A Dmod.rs12 base::map::{LockedDevsMap, LockedKObjMap},
69 pub static ref DEVMAP: Arc<LockedKObjMap> = Arc::new(LockedKObjMap::default());