Home
last modified time | relevance | path

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

/DragonOS-0.1.3/kernel/src/filesystem/devfs/
Ddevfs.c19 static spinlock_t devfs_global_lock; // devfs的全局锁 variable
225 spin_lock(&devfs_global_lock); in devfs_register_device()
251 spin_unlock(&devfs_global_lock); in devfs_register_device()
255 spin_unlock(&devfs_global_lock); in devfs_register_device()
269 spin_lock(&devfs_global_lock); in devfs_unregister_device()
319 spin_unlock(&devfs_global_lock); in devfs_unregister_device()
331 spin_init(&devfs_global_lock); in devfs_init()