Lines Matching refs:chrdevs_lock
38 static rwlock_t chrdevs_lock = RW_LOCK_UNLOCKED; variable
49 read_lock(&chrdevs_lock); in get_device_list()
55 read_unlock(&chrdevs_lock); in get_device_list()
72 read_lock(&chrdevs_lock); in get_chrfops()
74 read_unlock(&chrdevs_lock); in get_chrfops()
90 read_lock(&chrdevs_lock); in get_chrfops()
92 read_unlock(&chrdevs_lock); in get_chrfops()
101 write_lock(&chrdevs_lock); in register_chrdev()
106 write_unlock(&chrdevs_lock); in register_chrdev()
110 write_unlock(&chrdevs_lock); in register_chrdev()
115 write_lock(&chrdevs_lock); in register_chrdev()
117 write_unlock(&chrdevs_lock); in register_chrdev()
122 write_unlock(&chrdevs_lock); in register_chrdev()
130 write_lock(&chrdevs_lock); in unregister_chrdev()
132 write_unlock(&chrdevs_lock); in unregister_chrdev()
137 write_unlock(&chrdevs_lock); in unregister_chrdev()